-
Notifications
You must be signed in to change notification settings - Fork 39
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
FillValue no longer working #44
Comments
Would it be possible to get the original file? My theory (without a shred of evidence) is that there is some confusion as to from where the fill value should come. |
I have the source file - I'll investigate. |
I tried reloading the Sandy_ocean_his_nc4.nc file. Looks like both the dataset.fillvalue and dataset _FillValue attribute are set to 1.0e37. @rsignell-usgs - would you try loading the file again? I think the files on jetstream got corrupted at some point. |
The fill values work as expected with this HSDS "file": I created fresh versions of these today using "hsload". |
I wonder if it's a function of compression? |
I think this should be fixed with the commit in issue #119. |
I upgraded to the latest h5pyd, and now the fillvalues in my dataset are not working:
https://gist.github.com/rsignell-usgs/c3555fd60c391699197d53dcd0cb007c
The fill values in the original netcdf4 file were
1.0e37
but after writing withh5load
the newh5pyd
thinks the fillvalue is0.0
.This same notebook worked at the ESIP summer meeting.
The text was updated successfully, but these errors were encountered: