diff --git a/Common/util_eddies.py b/Common/util_eddies.py index 72fd25a3c4149a9dd63a768758526af7679f2be4..16374fb1c4413827b1f2531106aaa7111e7ae41b 100644 --- a/Common/util_eddies.py +++ b/Common/util_eddies.py @@ -27,6 +27,9 @@ class SHPC_class: self.dir = SHPC_dir self.def_orient = def_orient + + # Define self.n_slices: + fname = path.join(SHPC_dir, "n_slices.txt") try: @@ -54,6 +57,9 @@ class SHPC_class: self._readers = [ {"Anticyclones": {}, "Cyclones": {}} for i in range(self.n_slices) ] + + # Define self.d_init: + self.d_init = [] for i_slice, reader in enumerate(self._readers):