Closed natgeo-wong closed 4 years ago
Actually, I think I might have found the issue, looking now at the Dataset output.
The file was actually saved as Int16 and automatically converted by the attributes into Float upon reading.
Which is actually pretty smart. But apparently NetCDF doesn't automatically do the conversion so I'd have to do it manually.
Yes indeed that should be it. Going to close it as a duplicate of #39. It would be nice to at least have an option to apply these automatically, but for now you'd have to take the attribute values and apply them yourself.
Hello,
I am reading a large NetCDF file (around 900+ MB) using NetCDF. However, what happens is that when I use the NetCDF package, I retrieve a negative value. This is not possible, because the data is all positive.
I am able to read the NetCDF file using the package NCDatasets, and with MATLAB.
When using NetCDF:
When using NCDatasets
And when using MATLAB
is there any sensing on what the issue might be? NCDatasets returns the following