diff --git a/Common/util_eddies.py b/Common/util_eddies.py index cd39e6f4ab1e528631ffe571b6ee68a796295203..f070b3a89b825882afffc0f06b6254bd8bde1af9 100644 --- a/Common/util_eddies.py +++ b/Common/util_eddies.py @@ -141,9 +141,10 @@ class SHPC_class: return self._n_dates[i_slice] def get_ishape_last(self, i_slice, orientation): - """Normally returns self._ishape_last[i_slice][orientation], which is - a numpy array. Can return None if ishape_last.txt does not - exist and cannot be created. + """Defines and returns self._ishape_last[i_slice][orientation], which + is a numpy array. Can return None if ishape_last.txt does not + exist and cannot be created. Also defines + self._e_max[i_slice][orientation]. """ @@ -244,10 +245,9 @@ class SHPC_class: """Compute the location in the shapefiles: return `(i_slice, ishape)`. Compute i_slice if i_slice is None. - Returns None if ishape_last was not found and could not be - created. Crashes if i_slice is not None and date is not in - i_slice. Returns None if eddy_index is greater than the - maximum value. + Returns None if ishape_last is None. Crashes if i_slice is not + None and date is not in i_slice. Returns None if eddy_index is + greater than the maximum value. """