diff --git a/semantique/datacube.py b/semantique/datacube.py index 3ffbb16e..0a39fd99 100644 --- a/semantique/datacube.py +++ b/semantique/datacube.py @@ -937,7 +937,7 @@ def _load(self, metadata, extent): # return extent array as NaN in case of no data if not len(item_coll): - empty_arr = xr.full_like(extent, np.NaN) + empty_arr = xr.full_like(extent, np.nan) return empty_arr # reauth