We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4329437 commit 4254c77Copy full SHA for 4254c77
src/py_eddy_tracker/eddy_feature.py
@@ -192,8 +192,9 @@ def all_pixels_above_h0(self, level):
192
(self.grid_extract.data[lmi_i, lmi_j] - level)
193
>= self.interval_min_secondary
194
).sum()
195
- if nb_real_extrema > self.mle:
196
- return False
+ if grid_height!='ow':
+ if nb_real_extrema > self.mle:
197
+ return False
198
index = self.grid_extract.data[lmi_i, lmi_j].argmax()
199
i, j = lmi_i[index], lmi_j[index]
200
self.amplitude = abs(self.grid_extract.data[i, j] - self.h_0)
0 commit comments