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
{{ message }}
This repository has been archived by the owner on Apr 30, 2021. It is now read-only.
xarray sets a _FillValue = NaN on writing to file if the _FillValue field in encoding is not set. I think this is undesirable; the preferred behavior would be for the absence of _FillValue to be preserved.
This could be addressed in get_original_attrs by including something like the following.
if '_FillValue' not in encoding:
encoding['_FillValue'] = None
The text was updated successfully, but these errors were encountered:
xarray
sets a_FillValue = NaN
on writing to file if the_FillValue
field inencoding
is not set. I think this is undesirable; the preferred behavior would be for the absence of_FillValue
to be preserved.This could be addressed in
get_original_attrs
by including something like the following.The text was updated successfully, but these errors were encountered: