Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DSG constraints by world coordinates longitudes as West longitude returns an error #1954

Closed
AnsleyManke opened this issue Aug 28, 2019 · 1 comment

Comments

@AnsleyManke
Copy link
Contributor

Making subsets using /X= /Y= on the PLOT command for DSG data isn't consistent.

yes? use WestCoastCarbon_profile_dsg
! this works correctly
yes? plot/x=-121.5:-120.5/y=33:35 pco2  

This is the same region but returns an error

yes? plot/x=121.5W:120.5W/y=33:35 pco2
 **ERROR: illegal limits: "PCO2" does not exist at X=121.5W:120.5W
          Axis extremes are X=122.6188W(-122.6188):117.6313W(-117.6313

Timeseries examples work inconsistently

yes? use pmelTao5daySst_timeseries_dsg

yes? ! This is correct
yes? plot/x=120w:20w t_25

yes? ! There are profiles in this range, but we get an error and strange values
yes? ! for the valid range
yes? plot/x=-170:-150 t_25
 **ERROR: illegal limits: "T_25" does not exist at X=170W(-170):150W(-150)
          Axis extremes are X=2.5362W(-2.5362):7.4638W

Trajectory datasets do not show this issue. (Testing data in the southern hemisphere also looks correct.)

yes? use socat_trajectory_dsg
yes? plot/x=170w:160w/y=55:65 temp
@AnsleyManke
Copy link
Contributor Author

This is fixed in utl/confine_axis.F and new tests added to the benchmarks.

karlmsmith pushed a commit that referenced this issue Aug 29, 2019
git-svn-id: file:///home/users/tmap/svn/repos/ferret/trunk@26653 fdbf22ae-c210-0410-be80-ca943da6b8f8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant