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
Tags v0.11
No related merge requests found
......@@ -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.
"""
......
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