-
Notifications
You must be signed in to change notification settings - Fork 61
Closed
Description
Hi @AntSimi
First of all many thanks for making the software available!
I have the following error message when running the tracking:
Traceback (most recent call last):
File "/mnt/lustre01/work/ab0995/a270088/miniconda3/envs/eddy/bin/EddyTracking", line 7, in <module>
exec(compile(f.read(), __file__, 'exec'))
File "/mnt/lustre01/pf/a/a270088/PYTHON/EDDY/py-eddy-tracker/src/scripts/EddyTracking", line 198, in <module>
SHORT_CORRESPONDANCES.shorter_than(size_max=NB_OBS_MIN)
File "/mnt/lustre01/pf/a/a270088/PYTHON/EDDY/py-eddy-tracker/src/py_eddy_tracker/tracking.py", line 515, in shorter_than
translate = empty(i_keep_track.max() + 1, dtype='u4')
File "/mnt/lustre01/work/ab0995/a270088/miniconda3/envs/eddy/lib/python3.6/site-packages/numpy/core/_methods.py", line 30, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
ValueError: zero-size array to reduction operation maximum which has no identity
It looks like the reason is that I get an empty array as a result of:
i_keep_track = where(self.nb_obs_by_tracks < size_max)[0]
My time series is quite small, only 30 days, so this might be the reason.
Metadata
Metadata
Assignees
Labels
No labels