From 785880e503443fa406ed7013dd6137a54bf03a0d Mon Sep 17 00:00:00 2001 From: "Edgar P. Burkhart" Date: Fri, 4 Mar 2022 10:45:09 +0100 Subject: [PATCH] Fixed typo --- swash/processing/read_swash.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(