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

Variable's scale_factor and add_offset are not taken into account during reading #165

Closed
laclouis5 opened this issue Sep 26, 2022 · 1 comment

Comments

@laclouis5
Copy link

laclouis5 commented Sep 26, 2022

For instance a variable with storage type SHORT and with defined scale_factorand add_offsetis not interpreted as FLOAT during reading, which is not the expected behavior. As a comparison, the Python package NetCDF4 does the right conversion during reading.

@visr
Copy link
Member

visr commented Oct 7, 2022

You're right, they are not taken into account. I'll close this as a duplicate of #39. There is also some discussion here: #131 (comment). I think the options are right now to either do it manually using this package, or use https://github.com/Alexander-Barth/NCDatasets.jl.

@visr visr closed this as completed Oct 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants