You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, when setting this via the MetadataDictionary variable.Metadata["_FillValue"] = 99999.0 it just results in an empty string ("") for _FillValue when examining the output using ncdump -h and causes errors (fails to open) when trying to open the file in a viewer like Panoply - I believe due to it not matching the datatype of the variable.
I think the issue stems from the fact that _FillValue is used internally by the NetCDF library and it wants it set prior to any data being put into the variable.
Despite trying a few different permutations I could not get it to be set correctly using SDSLite. It would either not appear at all or be set to an empty string ("") rather than the double value I was expecting.
The text was updated successfully, but these errors were encountered:
First of all thanks for this library. We have been using it for some time to read NetCDF files but have just started writing them.
I'm trying to set the _FillValue attribute as per CF conventions (https://cfconventions.org/Data/cf-conventions/cf-conventions-1.7/build/ch02s05.html)
However, when setting this via the MetadataDictionary
variable.Metadata["_FillValue"] = 99999.0
it just results in an empty string ("") for _FillValue when examining the output usingncdump -h
and causes errors (fails to open) when trying to open the file in a viewer like Panoply - I believe due to it not matching the datatype of the variable.I think the issue stems from the fact that _FillValue is used internally by the NetCDF library and it wants it set prior to any data being put into the variable.
Despite trying a few different permutations I could not get it to be set correctly using SDSLite. It would either not appear at all or be set to an empty string ("") rather than the double value I was expecting.
The text was updated successfully, but these errors were encountered: