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

Get `ishape_last` for the last slice in init

parent bf40fc93
No related branches found
No related tags found
No related merge requests found
...@@ -101,6 +101,10 @@ class SHPC_class: ...@@ -101,6 +101,10 @@ class SHPC_class:
for i in range(self.n_slices) for i in range(self.n_slices)
] ]
# We only need ishape_last for the last slice, for one
# orientation, in order to define n_dates:
self.get_ishape_last(self.n_slices - 1, self.def_orient)
self._n_shapes = [ self._n_shapes = [
{"Anticyclones": 0, "Cyclones": 0} for i in range(self.n_slices) {"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