diff --git a/satpy/readers/li_base_nc.py b/satpy/readers/li_base_nc.py index fe998a3b84..c92741f715 100644 --- a/satpy/readers/li_base_nc.py +++ b/satpy/readers/li_base_nc.py @@ -306,7 +306,6 @@ def get_projection_config(self): """Retrieve the projection configuration details.""" # We retrieve the projection variable name directly from our swath settings: proj_var = self.swath_coordinates["projection"] - logger.error(proj_var) geos_proj = self.get_measured_variable(proj_var, fill_value=None) # cast projection attributes to float/str: major_axis = float(geos_proj.attrs["semi_major_axis"]) diff --git a/satpy/readers/li_l2_nc.py b/satpy/readers/li_l2_nc.py index 72722f034e..9d507e5a84 100644 --- a/satpy/readers/li_l2_nc.py +++ b/satpy/readers/li_l2_nc.py @@ -158,7 +158,7 @@ def get_array_on_fci_grid(self, data_array: xr.DataArray): data_2d = da.map_blocks(_np_add_at_wrapper, data_2d, (rows, cols), data_array, dtype=data_array.dtype, chunks=(LI_GRID_SHAPE[0], LI_GRID_SHAPE[1])) - data_2d = da.where(data_2d > 0, data_2d, np.float32(np.nan)).astype(np.float32) + data_2d = da.where(data_2d > 0, data_2d, np.nan).astype(np.float32) xarr = xr.DataArray(da.asarray(data_2d, CHUNK_SIZE), dims=("y", "x")) xarr.attrs = attrs return xarr