-
Notifications
You must be signed in to change notification settings - Fork 30
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
Wrong rendering of data having NaN values #109
Comments
OK, can you provide some data that you're seeing this issue with? |
Here it is |
This looks like a bug in the NetCDF libraries we are using. I will report it to them and integrate their new versions once they fix it. For further information, the data you supplied does not contain any NaN values. It contains integer values which use 99999 as a fill value, and which are scaled by a factor of 1e-5. The problem occurs when the CDM method tries to check whether the value is missing. The value being tested has the scaling applied (so 99999 becomes 0.99999), but is then tested against 99999. |
Thanks! Much appreciated. I was checking the data in Panoply and there it shows as NaN. Sorry for the misinformation. |
No problem, missing data tends to appear as NaNs once it has been processed, so it's a natural assumption to make. The extra information was primarily for benefit of the Unidata developers, since I've given them a link to this bug report so they have access to some test data. |
Fixed in |
Thanks @lesserwhirls, that's been updated in |
I have datasets containing NaN values. These NaN values are rendered as a small value (1?) instead of being ignored
The text was updated successfully, but these errors were encountered: