Skip to content
Snippets Groups Projects
Commit 4810537e authored by Lionel GUEZ's avatar Lionel GUEZ
Browse files

Polish

parent 46d5f0d6
No related branches found
No related tags found
No related merge requests found
...@@ -141,9 +141,10 @@ class SHPC_class: ...@@ -141,9 +141,10 @@ class SHPC_class:
return self._n_dates[i_slice] return self._n_dates[i_slice]
def get_ishape_last(self, i_slice, orientation): def get_ishape_last(self, i_slice, orientation):
"""Normally returns self._ishape_last[i_slice][orientation], which is """Defines and returns self._ishape_last[i_slice][orientation], which
a numpy array. Can return None if ishape_last.txt does not is a numpy array. Can return None if ishape_last.txt does not
exist and cannot be created. exist and cannot be created. Also defines
self._e_max[i_slice][orientation].
""" """
...@@ -244,10 +245,9 @@ class SHPC_class: ...@@ -244,10 +245,9 @@ class SHPC_class:
"""Compute the location in the shapefiles: return `(i_slice, ishape)`. """Compute the location in the shapefiles: return `(i_slice, ishape)`.
Compute i_slice if i_slice is None. Compute i_slice if i_slice is None.
Returns None if ishape_last was not found and could not be Returns None if ishape_last is None. Crashes if i_slice is not
created. Crashes if i_slice is not None and date is not in None and date is not in i_slice. Returns None if eddy_index is
i_slice. Returns None if eddy_index is greater than the greater than the maximum value.
maximum value.
""" """
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment