-
Notifications
You must be signed in to change notification settings - Fork 68
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
CDMS2 axis.getBounds() returns wrong leading and trailing bounds for monotonic decreasing axis #2129
Comments
@JimBiardCics thanks for reporting. For future ref please note that we splits UV-CDAT into various repos, for example cdms2 bug should be reported to the http://github.com/UV-CDAT/cdms repo |
I did some further research and found that the first and last bounds are wrong even if the axis is monotonic increasing. The values on the first and last bounds are the same (with appropriate sign reversal). |
@JimBiardCics can you try again. I get Latitude from 31 to 34.
|
I also fixed getBounds for Latitude if not in degrees_north units. |
@dnadeau4 I still see the problem with cdms2 version 2.8.1 (that's what's available on the uvcdat conda channel). Why don't we close this and move to the migrated issue that @chaosphere2112 made. |
Closing this issue, another issue was created in the cdms repo which has been closed. |
I have a data set with a polar stereographic grid. The y axis has 448 elements and is monotonic decreasing from 5837500.0 m to -5337500.0 m. When the getBounds method is called it produces a leading edge bound of (90.0, 90.0) and a trailing edge bound of (-90.0, -90.0). One of the files from the data set is attached.
sample.zip
The text was updated successfully, but these errors were encountered: