Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions daops/data_utils/attr_utils.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import cf_xarray

from roocs_utils.xarray_utils import xarray_utils as xu

from .common_utils import handle_derive_str
Expand Down Expand Up @@ -67,6 +69,10 @@ def remove_fill_values(ds_id, ds):
if ds.coords[coord_id].dims == (coord_id,):
ds[coord_id].encoding["_FillValue"] = None

bounds = ds.cf.get_bounds(coord_id)
if bounds is not None:
bounds.encoding["_FillValue"] = None

return ds


Expand Down