xarray-contrib / xarray-simlab

Xarray extension and framework for computer model simulations
http://xarray-simlab.readthedocs.io
BSD 3-Clause "New" or "Revised" License
73 stars 9 forks source link

_FillValue attribute issues #133

Closed benbovy closed 4 years ago

benbovy commented 4 years ago

The _FillValue attribute is added in output datasets by xarray.open_zarr (the option mask_and_scale is turned off, as zarr's fill value that defaults to 0 for numeric dtypes causes other issues).

The problem is for string-like dtypes. It looks like empty string as attribute value is not supported with netCDF serialization.