AntSimi / py-eddy-tracker

Eddy identification and tracking
https://py-eddy-tracker.readthedocs.io/en/latest/
GNU General Public License v3.0
120 stars 48 forks source link

Erros about EddyTracking use hycom data(3hours) #200

Closed limaolin1981611 closed 1 year ago

limaolin1981611 commented 1 year ago

I have detected the eddies using the hycom data(3hours), the outputs as flollows: West_Pacific_Anticyclonic_2023042112.nc West_Pacific_Anticyclonic_2023042115.nc West_Pacific_Anticyclonic_2023042118.nc West_Pacific_Anticyclonic_2023042121.nc West_Pacific_Anticyclonic_2023042200.nc West_Pacific_Anticyclonic_2023042203.nc West_Pacific_Anticyclonic_2023042206.nc West_Pacific_Anticyclonic_2023042209.nc ...... West_Pacific_Anticyclonic_2023042900.nc

then I run "EddyTracking my_conf_AntiCyclonic.yaml -v DEBUG", but erros as flollows: Several timesteps in grid dataset[ 3 53 3479].

limaolin1981611 commented 1 year ago

West_Pacific_Anticyclonic_2023042112.zip my_conf_AntiCyclonic.zip

AntSimi commented 1 year ago

Short answer: i didn't write a flexible date reader from filename. Filename must use on of this pattern Try to rename your file like this:

West_Pacific_Anticyclonic_2023042112.nc -> West_Pacific_Anticyclonic_20230421T120000.nc or West_Pacific_Anticyclonic_20230421120000.nc