diff --git a/swash/processing/read_swash.py b/swash/processing/read_swash.py index 9265db2..cc24b2c 100644 --- a/swash/processing/read_swash.py +++ b/swash/processing/read_swash.py @@ -24,7 +24,7 @@ class ReadSwash: def read_scalar(self, path, const=False): if const: - self._data[path.stem] = slef.read_nohead(path).reshape( + self._data[path.stem] = self.read_nohead(path).reshape( (self._n_t, self._n_x) )[0, :] self._data[path.stem] = self.read_nohead(path).reshape(