diff --git a/satpy/readers/olci_nc.py b/satpy/readers/olci_nc.py index a6637b4b8e..5a193d577b 100644 --- a/satpy/readers/olci_nc.py +++ b/satpy/readers/olci_nc.py @@ -272,8 +272,16 @@ def __init__(self, filename, filename_info, filetype_info, engine=None, **kwargs): """Init the file handler.""" super().__init__(filename, filename_info, filetype_info, engine) - self.l_step = self.nc.attrs["al_subsampling_factor"] - self.c_step = self.nc.attrs["ac_subsampling_factor"] + + @property + def l_step(self): + """Get the line step.""" + return self.nc.attrs["al_subsampling_factor"] + + @property + def c_step(self): + """Get the column step.""" + return self.nc.attrs["ac_subsampling_factor"] def _do_interpolate(self, data):