CliMA / CliMA/ClimaAnalysis.jl

contour2D_on_globe! assumes order is lon and lat

Open
#218 0 comments 0 reactions 0 assignees View on GitHub
bug good first issue
Dominant language
Julia
Stars
12
Forks
5
Avg merge
6d 17h
Merged PRs (30d)
3

Description

If the order of dimensions in an `OutputVar` is `lat` and `lon`, then `contour2D_on_globe!` fails because it assumes the order of the dimensions is `lon` and `lat`.

The line at which there is an error can be found below.
https://github.com/CliMA/ClimaAnalysis.jl/blob/caa60514e799c4b67c7d48035992f07dafefb88d/ext/ClimaAnalysisGeoMakieExt.jl#L91

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at ext/ClimaAnalysisGeoMakieExt.jl around line 91 and inspect contour2D_on_globe! together with how OutputVar dimension order is represented. Reproduce the failure with dimensions ordered lat and lon, then verify the function works for both lat/lon and lon/lat orderings.

Written by the indexing model from the issue text.

Assessment

Tech stack
julia
Domain
data-visualization
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.