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

Define `self._i_slice`

parent 34f4826c
No related branches found
No related tags found
No related merge requests found
......@@ -106,6 +106,11 @@ class SHPC_class:
self.n_dates = np.ediff1d(self.d_init, to_end=ishape_last.size)
self._i_slice = []
for i_slice, n_dates in enumerate(self.n_dates):
self._i_slice.extend(n_dates * [i_slice])
self._n_shapes = [
{"Anticyclones": 0, "Cyclones": 0} for i in range(self.n_slices)
]
......
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