diff --git a/Common/util_eddies.py b/Common/util_eddies.py index 470b8904ef1d93abc3526c0f88d8629971ee16c7..3d9b21c6810f9f3a2974a7f45490653b6bf6f112 100644 --- a/Common/util_eddies.py +++ b/Common/util_eddies.py @@ -25,7 +25,6 @@ class SHPC_class: raise OSError self.dir = SHPC_dir - self.def_orient = def_orient # <begin> Define self.n_slices @@ -106,7 +105,7 @@ class SHPC_class: # We only need ishape_last for the last slice, for one # orientation, in order to define n_dates: - ishape_last = self.get_ishape_last(self.n_slices - 1, self.def_orient) + ishape_last = self.get_ishape_last(self.n_slices - 1, def_orient) self.n_dates = np.ediff1d(self.d_init, to_end=ishape_last.size) self._i_slice = []