Skip to content
This repository has been archived by the owner on Sep 4, 2024. It is now read-only.

precision in axis spec from addXML #1757

Open
AnsleyManke opened this issue Sep 27, 2018 · 0 comments
Open

precision in axis spec from addXML #1757

AnsleyManke opened this issue Sep 27, 2018 · 0 comments

Comments

@AnsleyManke
Copy link
Contributor

some URLs at nodc have xy grids of size 8640x4320, such as,

https://data.nodc.noaa.gov/thredds/dodsC/cortad/Version6/cortadv6_FilledSST.nc

They're running into an issue in LAS. The delta-x of the grid is 0.0146666... (or it should be, 1/8640, though they don't have the coords quite evenly spaced for some reason).

configuring this with addXML sets this grid in xy:

I have the dataset in my LAS,
http://dunkel.pmel.noaa.gov:8280/las/UI.vm#panelHeaderHidden=false;differences=false;autoContour=false;xCATID=id-df0400a166;xDSID=id-df0400a166;varid=FilledSSTmean-id-df0400a166;imageSize=auto;over=x;compute=Nonetoken;catid=id-df0400a166;dsid=id-df0400a166;varid=FilledSSTmean-id-df0400a166;avarcount=0;xlo=-179.9584;xhi=180.29;ylo=-89.9583;yhi=90.14;operation_id=Plot_2D_XY_zoom;view=xy

and the longitude-modulo behavior in map doesn't work and we can't request a plot on x=0:360, etc.

-179.958 + 8639* 0.0417 takes us beyond 180.0, so the rounding that's happening to get step="0.0417" is making this act as a non-modulo grid.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant