AntSimi/py-eddy-tracker

WARNING observation.create_variable : Data is empty && ValueError: zero-size array to reduction operation maximum which has no identity

Opened this issue · 0 comments

Dear author,
I am trying to track a simulated moving eddy. I can already identify it using PET, but when I use the conf.yaml file to merge and track the identified eddies over multiple days, the results are as follows:
INFO 2024-06-08 22:49:49,939 observation.load_file :
loading file 'b'/mnt/e/test_0905/my_code_modified/simulated_anticyclonic/mesoscale/Simulation_Anticyclonic_meso_scale_20230101.nc''
DEBUG 2024-06-08 22:49:49,948 observation. load_from_netcdf :
1 observations will be load
DEBUG 2024-06-08 22:49:49,949 observation. load_from_netcdf :
Up load amplitude variable, with raw mode
DEBUG 2024-06-08 22:49:49,949 observation. load_from_netcdf :
Up load effective_area variable, with raw mode
DEBUG 2024-06-08 22:49:49,950 observation. load_from_netcdf :
Up load effective_contour_height variable, with raw mode
DEBUG 2024-06-08 22:49:49,950 observation. load_from_netcdf :
Up load effective_contour_latitude variable, with raw mode
DEBUG 2024-06-08 22:49:49,950 observation. load_from_netcdf :
Up load effective_contour_longitude variable, with raw mode
DEBUG 2024-06-08 22:49:49,951 observation. load_from_netcdf :
Up load effective_contour_shape_error variable, with raw mode
DEBUG 2024-06-08 22:49:49,951 observation. load_from_netcdf :
Up load effective_radius variable, with raw mode
DEBUG 2024-06-08 22:49:49,951 observation. load_from_netcdf :
Up load inner_contour_height variable, with raw mode
DEBUG 2024-06-08 22:49:49,951 observation. load_from_netcdf :
Up load latitude variable, with raw mode
DEBUG 2024-06-08 22:49:49,952 observation. load_from_netcdf :
Up load latitude_max variable, with raw mode
DEBUG 2024-06-08 22:49:49,952 observation. load_from_netcdf :
Up load longitude variable, with raw mode
DEBUG 2024-06-08 22:49:49,952 observation. load_from_netcdf :
Up load longitude_max variable, with raw mode
DEBUG 2024-06-08 22:49:49,952 observation. load_from_netcdf :
Up load num_contours variable, with raw mode
DEBUG 2024-06-08 22:49:49,953 observation. load_from_netcdf :
Up load num_point_e variable, with raw mode
DEBUG 2024-06-08 22:49:49,953 observation. load_from_netcdf :
Up load num_point_s variable, with raw mode
DEBUG 2024-06-08 22:49:49,953 observation. load_from_netcdf :
Up load speed_area variable, with raw mode
DEBUG 2024-06-08 22:49:49,954 observation. load_from_netcdf :
Up load speed_average variable, with raw mode
DEBUG 2024-06-08 22:49:49,954 observation. load_from_netcdf :
Up load speed_contour_height variable, with raw mode
DEBUG 2024-06-08 22:49:49,954 observation. load_from_netcdf :
Up load speed_contour_latitude variable, with raw mode
DEBUG 2024-06-08 22:49:49,955 observation. load_from_netcdf :
Up load speed_contour_longitude variable, with raw mode
DEBUG 2024-06-08 22:49:49,955 observation. load_from_netcdf :
Up load speed_contour_shape_error variable, with raw mode
DEBUG 2024-06-08 22:49:49,955 observation. load_from_netcdf :
Up load speed_radius variable, with raw mode
DEBUG 2024-06-08 22:49:49,956 observation. load_from_netcdf :
Up load time variable, with raw mode
DEBUG 2024-06-08 22:49:49,956 observation. load_from_netcdf :
Up load uavg_profile variable, with raw mode
DEBUG 2024-06-08 22:49:49,962 tracking. get_unused_data :
Load file : b'/mnt/e/test_0905/my_code_modified/simulated_anticyclonic/mesoscale/Simulation_Anticyclonic_meso_scale_20230102.nc'
INFO 2024-06-08 22:49:49,962 observation.load_file :
loading file 'b'/mnt/e/test_0905/my_code_modified/simulated_anticyclonic/mesoscale/Simulation_Anticyclonic_meso_scale_20230102.nc''
DEBUG 2024-06-08 22:49:49,970 observation. load_from_netcdf :
1 observations will be load
DEBUG 2024-06-08 22:49:49,970 observation. load_from_netcdf :
Up load amplitude variable, with raw mode
DEBUG 2024-06-08 22:49:49,971 observation. load_from_netcdf :
Up load effective_area variable, with raw mode
DEBUG 2024-06-08 22:49:49,971 observation. load_from_netcdf :
Up load effective_contour_height variable, with raw mode
DEBUG 2024-06-08 22:49:49,971 observation. load_from_netcdf :
Up load effective_contour_latitude variable, with raw mode
DEBUG 2024-06-08 22:49:49,972 observation. load_from_netcdf :
Up load effective_contour_longitude variable, with raw mode
DEBUG 2024-06-08 22:49:49,972 observation. load_from_netcdf :
Up load effective_contour_shape_error variable, with raw mode
DEBUG 2024-06-08 22:49:49,972 observation. load_from_netcdf :
Up load effective_radius variable, with raw mode
DEBUG 2024-06-08 22:49:49,973 observation. load_from_netcdf :
Up load inner_contour_height variable, with raw mode
DEBUG 2024-06-08 22:49:49,973 observation. load_from_netcdf :
Up load latitude variable, with raw mode
DEBUG 2024-06-08 22:49:49,973 observation. load_from_netcdf :
Up load latitude_max variable, with raw mode
DEBUG 2024-06-08 22:49:49,973 observation. load_from_netcdf :
Up load longitude variable, with raw mode
DEBUG 2024-06-08 22:49:49,974 observation. load_from_netcdf :
Up load longitude_max variable, with raw mode
DEBUG 2024-06-08 22:49:49,974 observation. load_from_netcdf :
Up load num_contours variable, with raw mode
DEBUG 2024-06-08 22:49:49,974 observation. load_from_netcdf :
Up load num_point_e variable, with raw mode
DEBUG 2024-06-08 22:49:49,975 observation. load_from_netcdf :
Up load num_point_s variable, with raw mode
DEBUG 2024-06-08 22:49:49,975 observation. load_from_netcdf :
Up load speed_area variable, with raw mode
DEBUG 2024-06-08 22:49:49,975 observation. load_from_netcdf :
Up load speed_average variable, with raw mode
DEBUG 2024-06-08 22:49:49,975 observation. load_from_netcdf :
Up load speed_contour_height variable, with raw mode
DEBUG 2024-06-08 22:49:49,976 observation. load_from_netcdf :
Up load speed_contour_latitude variable, with raw mode
DEBUG 2024-06-08 22:49:49,976 observation. load_from_netcdf :
Up load speed_contour_longitude variable, with raw mode
DEBUG 2024-06-08 22:49:49,976 observation. load_from_netcdf :
Up load speed_contour_shape_error variable, with raw mode
DEBUG 2024-06-08 22:49:49,976 observation. load_from_netcdf :
Up load speed_radius variable, with raw mode
DEBUG 2024-06-08 22:49:49,977 observation. load_from_netcdf :
Up load time variable, with raw mode
DEBUG 2024-06-08 22:49:49,977 observation. load_from_netcdf :
Up load uavg_profile variable, with raw mode
DEBUG 2024-06-08 22:49:49,979 tracking. get_unused_data :
Load file : b'/mnt/e/test_0905/my_code_modified/simulated_anticyclonic/mesoscale/Simulation_Anticyclonic_meso_scale_20230103.nc'
INFO 2024-06-08 22:49:49,979 observation.load_file :
loading file 'b'/mnt/e/test_0905/my_code_modified/simulated_anticyclonic/mesoscale/Simulation_Anticyclonic_meso_scale_20230103.nc''
DEBUG 2024-06-08 22:49:49,986 observation. load_from_netcdf :
1 observations will be load
DEBUG 2024-06-08 22:49:49,986 observation. load_from_netcdf :
Up load amplitude variable, with raw mode
DEBUG 2024-06-08 22:49:49,987 observation. load_from_netcdf :
Up load effective_area variable, with raw mode
DEBUG 2024-06-08 22:49:49,987 observation. load_from_netcdf :
Up load effective_contour_height variable, with raw mode
DEBUG 2024-06-08 22:49:49,987 observation. load_from_netcdf :
Up load effective_contour_latitude variable, with raw mode
DEBUG 2024-06-08 22:49:49,988 observation. load_from_netcdf :
Up load effective_contour_longitude variable, with raw mode
DEBUG 2024-06-08 22:49:49,988 observation. load_from_netcdf :
Up load effective_contour_shape_error variable, with raw mode
DEBUG 2024-06-08 22:49:49,988 observation. load_from_netcdf :
Up load effective_radius variable, with raw mode
DEBUG 2024-06-08 22:49:49,988 observation. load_from_netcdf :
Up load inner_contour_height variable, with raw mode
DEBUG 2024-06-08 22:49:49,989 observation. load_from_netcdf :
Up load latitude variable, with raw mode
DEBUG 2024-06-08 22:49:49,989 observation. load_from_netcdf :
Up load latitude_max variable, with raw mode
DEBUG 2024-06-08 22:49:49,989 observation. load_from_netcdf :
Up load longitude variable, with raw mode
DEBUG 2024-06-08 22:49:49,990 observation. load_from_netcdf :
Up load longitude_max variable, with raw mode
DEBUG 2024-06-08 22:49:49,990 observation. load_from_netcdf :
Up load num_contours variable, with raw mode
DEBUG 2024-06-08 22:49:49,990 observation. load_from_netcdf :
Up load num_point_e variable, with raw mode
DEBUG 2024-06-08 22:49:49,990 observation. load_from_netcdf :
Up load num_point_s variable, with raw mode
DEBUG 2024-06-08 22:49:49,991 observation. load_from_netcdf :
Up load speed_area variable, with raw mode
DEBUG 2024-06-08 22:49:49,991 observation. load_from_netcdf :
Up load speed_average variable, with raw mode
DEBUG 2024-06-08 22:49:49,991 observation. load_from_netcdf :
Up load speed_contour_height variable, with raw mode
DEBUG 2024-06-08 22:49:49,991 observation. load_from_netcdf :
Up load speed_contour_latitude variable, with raw mode
DEBUG 2024-06-08 22:49:49,992 observation. load_from_netcdf :
Up load speed_contour_longitude variable, with raw mode
DEBUG 2024-06-08 22:49:49,992 observation. load_from_netcdf :
Up load speed_contour_shape_error variable, with raw mode
DEBUG 2024-06-08 22:49:49,992 observation. load_from_netcdf :
Up load speed_radius variable, with raw mode
DEBUG 2024-06-08 22:49:49,993 observation. load_from_netcdf :
Up load time variable, with raw mode
DEBUG 2024-06-08 22:49:49,993 observation. load_from_netcdf :
Up load uavg_profile variable, with raw mode
DEBUG 2024-06-08 22:49:49,995 tracking. get_unused_data :
Load file : b'/mnt/e/test_0905/my_code_modified/simulated_anticyclonic/mesoscale/Simulation_Anticyclonic_meso_scale_20230104.nc'
INFO 2024-06-08 22:49:49,995 observation.load_file :
loading file 'b'/mnt/e/test_0905/my_code_modified/simulated_anticyclonic/mesoscale/Simulation_Anticyclonic_meso_scale_20230104.nc''
DEBUG 2024-06-08 22:49:50,003 observation. load_from_netcdf :
1 observations will be load
DEBUG 2024-06-08 22:49:50,003 observation. load_from_netcdf :
Up load amplitude variable, with raw mode
DEBUG 2024-06-08 22:49:50,004 observation. load_from_netcdf :
Up load effective_area variable, with raw mode
DEBUG 2024-06-08 22:49:50,004 observation. load_from_netcdf :
Up load effective_contour_height variable, with raw mode
DEBUG 2024-06-08 22:49:50,004 observation. load_from_netcdf :
Up load effective_contour_latitude variable, with raw mode
DEBUG 2024-06-08 22:49:50,005 observation. load_from_netcdf :
Up load effective_contour_longitude variable, with raw mode
DEBUG 2024-06-08 22:49:50,005 observation. load_from_netcdf :
Up load effective_contour_shape_error variable, with raw mode
DEBUG 2024-06-08 22:49:50,006 observation. load_from_netcdf :
Up load effective_radius variable, with raw mode
DEBUG 2024-06-08 22:49:50,006 observation. load_from_netcdf :
Up load inner_contour_height variable, with raw mode
DEBUG 2024-06-08 22:49:50,006 observation. load_from_netcdf :
Up load latitude variable, with raw mode
DEBUG 2024-06-08 22:49:50,006 observation. load_from_netcdf :
Up load latitude_max variable, with raw mode
DEBUG 2024-06-08 22:49:50,007 observation. load_from_netcdf :
Up load longitude variable, with raw mode
DEBUG 2024-06-08 22:49:50,007 observation. load_from_netcdf :
Up load longitude_max variable, with raw mode
DEBUG 2024-06-08 22:49:50,007 observation. load_from_netcdf :
Up load num_contours variable, with raw mode
DEBUG 2024-06-08 22:49:50,008 observation. load_from_netcdf :
Up load num_point_e variable, with raw mode
DEBUG 2024-06-08 22:49:50,008 observation. load_from_netcdf :
Up load num_point_s variable, with raw mode
DEBUG 2024-06-08 22:49:50,008 observation. load_from_netcdf :
Up load speed_area variable, with raw mode
DEBUG 2024-06-08 22:49:50,008 observation. load_from_netcdf :
Up load speed_average variable, with raw mode
DEBUG 2024-06-08 22:49:50,009 observation. load_from_netcdf :
Up load speed_contour_height variable, with raw mode
DEBUG 2024-06-08 22:49:50,009 observation. load_from_netcdf :
Up load speed_contour_latitude variable, with raw mode
DEBUG 2024-06-08 22:49:50,009 observation. load_from_netcdf :
Up load speed_contour_longitude variable, with raw mode
DEBUG 2024-06-08 22:49:50,010 observation. load_from_netcdf :
Up load speed_contour_shape_error variable, with raw mode
DEBUG 2024-06-08 22:49:50,010 observation. load_from_netcdf :
Up load speed_radius variable, with raw mode
DEBUG 2024-06-08 22:49:50,010 observation. load_from_netcdf :
Up load time variable, with raw mode
DEBUG 2024-06-08 22:49:50,010 observation. load_from_netcdf :
Up load uavg_profile variable, with raw mode
DEBUG 2024-06-08 22:49:50,012 tracking. get_unused_data :
Load file : b'/mnt/e/test_0905/my_code_modified/simulated_anticyclonic/mesoscale/Simulation_Anticyclonic_meso_scale_20230105.nc'
INFO 2024-06-08 22:49:50,012 observation.load_file :
loading file 'b'/mnt/e/test_0905/my_code_modified/simulated_anticyclonic/mesoscale/Simulation_Anticyclonic_meso_scale_20230105.nc''
DEBUG 2024-06-08 22:49:50,020 observation. load_from_netcdf :
1 observations will be load
DEBUG 2024-06-08 22:49:50,020 observation. load_from_netcdf :
Up load amplitude variable, with raw mode
DEBUG 2024-06-08 22:49:50,021 observation. load_from_netcdf :
Up load effective_area variable, with raw mode
DEBUG 2024-06-08 22:49:50,021 observation. load_from_netcdf :
Up load effective_contour_height variable, with raw mode
DEBUG 2024-06-08 22:49:50,021 observation. load_from_netcdf :
Up load effective_contour_latitude variable, with raw mode
DEBUG 2024-06-08 22:49:50,022 observation. load_from_netcdf :
Up load effective_contour_longitude variable, with raw mode
DEBUG 2024-06-08 22:49:50,022 observation. load_from_netcdf :
Up load effective_contour_shape_error variable, with raw mode
DEBUG 2024-06-08 22:49:50,022 observation. load_from_netcdf :
Up load effective_radius variable, with raw mode
DEBUG 2024-06-08 22:49:50,022 observation. load_from_netcdf :
Up load inner_contour_height variable, with raw mode
DEBUG 2024-06-08 22:49:50,023 observation. load_from_netcdf :
Up load latitude variable, with raw mode
DEBUG 2024-06-08 22:49:50,023 observation. load_from_netcdf :
Up load latitude_max variable, with raw mode
DEBUG 2024-06-08 22:49:50,023 observation. load_from_netcdf :
Up load longitude variable, with raw mode
DEBUG 2024-06-08 22:49:50,024 observation. load_from_netcdf :
Up load longitude_max variable, with raw mode
DEBUG 2024-06-08 22:49:50,024 observation. load_from_netcdf :
Up load num_contours variable, with raw mode
DEBUG 2024-06-08 22:49:50,024 observation. load_from_netcdf :
Up load num_point_e variable, with raw mode
DEBUG 2024-06-08 22:49:50,024 observation. load_from_netcdf :
Up load num_point_s variable, with raw mode
DEBUG 2024-06-08 22:49:50,025 observation. load_from_netcdf :
Up load speed_area variable, with raw mode
DEBUG 2024-06-08 22:49:50,025 observation. load_from_netcdf :
Up load speed_average variable, with raw mode
DEBUG 2024-06-08 22:49:50,025 observation. load_from_netcdf :
Up load speed_contour_height variable, with raw mode
DEBUG 2024-06-08 22:49:50,025 observation. load_from_netcdf :
Up load speed_contour_latitude variable, with raw mode
DEBUG 2024-06-08 22:49:50,026 observation. load_from_netcdf :
Up load speed_contour_longitude variable, with raw mode
DEBUG 2024-06-08 22:49:50,026 observation. load_from_netcdf :
Up load speed_contour_shape_error variable, with raw mode
DEBUG 2024-06-08 22:49:50,026 observation. load_from_netcdf :
Up load speed_radius variable, with raw mode
DEBUG 2024-06-08 22:49:50,027 observation. load_from_netcdf :
Up load time variable, with raw mode
DEBUG 2024-06-08 22:49:50,027 observation. load_from_netcdf :
Up load uavg_profile variable, with raw mode
INFO 2024-06-08 22:49:50,028 observation.write_file :
Store in /mnt/e/test_0905/my_code_modified/track_results_simulated//Anticyclonic_untracked.nc (0 observations)
DEBUG 2024-06-08 22:49:50,029 observation. to_netcdf :
Create Dimensions "obs" : 0
DEBUG 2024-06-08 22:49:50,030 observation. to_netcdf :
Create Variable amplitude
WARNING 2024-06-08 22:49:50,030 observation.create_variable :
Data is empty
DEBUG 2024-06-08 22:49:50,030 observation. to_netcdf :
Create Variable effective_area
WARNING 2024-06-08 22:49:50,031 observation.create_variable :
Data is empty
DEBUG 2024-06-08 22:49:50,031 observation. to_netcdf :
Create Variable effective_contour_height
WARNING 2024-06-08 22:49:50,031 observation.create_variable :
Data is empty
DEBUG 2024-06-08 22:49:50,031 observation. to_netcdf :
Create Variable effective_contour_latitude
WARNING 2024-06-08 22:49:50,032 observation.create_variable :
Data is empty
DEBUG 2024-06-08 22:49:50,032 observation. to_netcdf :
Create Variable effective_contour_longitude
WARNING 2024-06-08 22:49:50,032 observation.create_variable :
Data is empty
DEBUG 2024-06-08 22:49:50,033 observation. to_netcdf :
Create Variable effective_contour_shape_error
WARNING 2024-06-08 22:49:50,033 observation.create_variable :
Data is empty
DEBUG 2024-06-08 22:49:50,033 observation. to_netcdf :
Create Variable effective_radius
WARNING 2024-06-08 22:49:50,034 observation.create_variable :
Data is empty
DEBUG 2024-06-08 22:49:50,034 observation. to_netcdf :
Create Variable inner_contour_height
WARNING 2024-06-08 22:49:50,034 observation.create_variable :
Data is empty
DEBUG 2024-06-08 22:49:50,034 observation. to_netcdf :
Create Variable latitude
WARNING 2024-06-08 22:49:50,035 observation.create_variable :
Data is empty
DEBUG 2024-06-08 22:49:50,035 observation. to_netcdf :
Create Variable latitude_max
WARNING 2024-06-08 22:49:50,035 observation.create_variable :
Data is empty
DEBUG 2024-06-08 22:49:50,035 observation. to_netcdf :
Create Variable longitude
WARNING 2024-06-08 22:49:50,035 observation.create_variable :
Data is empty
DEBUG 2024-06-08 22:49:50,036 observation. to_netcdf :
Create Variable longitude_max
WARNING 2024-06-08 22:49:50,036 observation.create_variable :
Data is empty
DEBUG 2024-06-08 22:49:50,036 observation. to_netcdf :
Create Variable num_contours
WARNING 2024-06-08 22:49:50,036 observation.create_variable :
Data is empty
DEBUG 2024-06-08 22:49:50,037 observation. to_netcdf :
Create Variable num_point_e
WARNING 2024-06-08 22:49:50,037 observation.create_variable :
Data is empty
DEBUG 2024-06-08 22:49:50,037 observation. to_netcdf :
Create Variable num_point_s
WARNING 2024-06-08 22:49:50,038 observation.create_variable :
Data is empty
DEBUG 2024-06-08 22:49:50,038 observation. to_netcdf :
Create Variable speed_area
WARNING 2024-06-08 22:49:50,038 observation.create_variable :
Data is empty
DEBUG 2024-06-08 22:49:50,038 observation. to_netcdf :
Create Variable speed_average
WARNING 2024-06-08 22:49:50,039 observation.create_variable :
Data is empty
DEBUG 2024-06-08 22:49:50,039 observation. to_netcdf :
Create Variable speed_contour_height
WARNING 2024-06-08 22:49:50,039 observation.create_variable :
Data is empty
DEBUG 2024-06-08 22:49:50,039 observation. to_netcdf :
Create Variable speed_contour_latitude
WARNING 2024-06-08 22:49:50,040 observation.create_variable :
Data is empty
DEBUG 2024-06-08 22:49:50,040 observation. to_netcdf :
Create Variable speed_contour_longitude
WARNING 2024-06-08 22:49:50,041 observation.create_variable :
Data is empty
DEBUG 2024-06-08 22:49:50,041 observation. to_netcdf :
Create Variable speed_contour_shape_error
WARNING 2024-06-08 22:49:50,041 observation.create_variable :
Data is empty
DEBUG 2024-06-08 22:49:50,041 observation. to_netcdf :
Create Variable speed_radius
WARNING 2024-06-08 22:49:50,042 observation.create_variable :
Data is empty
DEBUG 2024-06-08 22:49:50,042 observation. to_netcdf :
Create Variable time
WARNING 2024-06-08 22:49:50,043 observation.create_variable :
Data is empty
DEBUG 2024-06-08 22:49:50,043 observation. to_netcdf :
Create Variable uavg_profile
WARNING 2024-06-08 22:49:50,043 observation.create_variable :
Data is empty
INFO 2024-06-08 22:49:50,114 tracking.prepare_merging :
1 tracks identified
INFO 2024-06-08 22:49:50,114 tracking.prepare_merging :
5 observations will be join
DEBUG 2024-06-08 22:49:50,114 tracking. _copy :
Copy done
Traceback (most recent call last):
File "/home/zhanglan/miniconda3/envs/pyed/bin/EddyTracking", line 8, in
sys.exit(eddies_tracking())
File "/home/zhanglan/miniconda3/envs/pyed/lib/python3.10/site-packages/py_eddy_tracker/appli/eddies.py", line 210, in eddies_tracking
track(
File "/home/zhanglan/miniconda3/envs/pyed/lib/python3.10/site-packages/py_eddy_tracker/appli/eddies.py", line 355, in track
short_c.shorter_than(size_max=nb_obs_min)
File "/home/zhanglan/miniconda3/envs/pyed/lib/python3.10/site-packages/py_eddy_tracker/tracking.py", line 621, in shorter_than
translate = empty(i_keep_track.max() + 1, dtype="u4")
File "/home/zhanglan/miniconda3/envs/pyed/lib/python3.10/site-packages/numpy/core/_methods.py", line 40, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
ValueError: zero-size array to reduction operation maximum which has no identity

——————————————————————————————————————————————————————
I ensured that the simulated eddy overlaps within 2 days, and that it does not overlap on the 1st and 3rd days. I also ensured that the time settings are for consecutive different days. The identified eddy files are as follows, consistent with the format of the eddy files identified from the real SLA data:
——————————————————————————————————————————————————————————
Format:
netcdf4
Global Attributes:
track_extra_variables = 'height_max_speed_contour,height_external_contour,height_inner_contour,lon_max,lat_max'
track_array_variables = 50
array_variables = 'contour_lon_e,contour_lat_e,contour_lon_s,contour_lat_s,uavg_profile'
_NCProperties = 'version=2,netcdf=4.7.4,hdf5=1.12.0,'
Metadata_Conventions = 'Unidata Dataset Discovery v1.0'
comment = 'Surface product; mesoscale eddies'
framework_used = 'https://github.com/AntSimi/py-eddy-tracker'
framework_version = 'v3.6.1'
standard_name_vocabulary = 'NetCDF Climate and Forecast (CF) Metadata Convention Standard Name Table'
rotation_type = 1
Dimensions:
obs = 1
NbSample = 50
Variables:
amplitude
Size: 1x1
Dimensions: obs
Datatype: uint16
Attributes:
comment = 'Magnitude of the height difference between the extremum of SSH within the eddy and the SSH around the effective contour defining the eddy edge'
long_name = 'Amplitude'
units = 'm'
scale_factor = 0.0001
add_offset = 0
min = 0.2899
max = 0.2899
effective_area
Size: 1x1
Dimensions: obs
Datatype: single
Attributes:
comment = 'Area enclosed by the effective contour in m^2'
long_name = 'Effective area'
units = 'm^2'
min = 10853002240
max = 10853002240
effective_contour_height
Size: 1x1
Dimensions: obs
Datatype: single
Attributes:
comment = 'SSH filtered height for effective contour'
long_name = 'Effective Contour Height'
units = 'm'
min = -0.016
max = -0.016
effective_contour_latitude
Size: 50x1
Dimensions: NbSample,obs
Datatype: int16
Attributes:
axis = 'X'
comment = 'Latitudes of effective contour'
long_name = 'Effective Contour Latitudes'
units = 'degrees_east'
scale_factor = 0.01
add_offset = 0
min = 23.46
max = 24.55
effective_contour_longitude
Size: 50x1
Dimensions: NbSample,obs
Datatype: int16
Attributes:
axis = 'X'
comment = 'Longitudes of the effective contour'
long_name = 'Effective Contour Longitudes'
units = 'degrees_east'
scale_factor = 0.01
add_offset = 180
min = 123.4
max = 124.6
effective_contour_shape_error
Size: 1x1
Dimensions: obs
Datatype: uint8
Attributes:
comment = 'Error criterion between the effective contour and its best fit circle'
long_name = 'Effective Contour Shape Error'
units = '%'
scale_factor = 0.5
add_offset = 0
min = 23
max = 23
effective_radius
Size: 1x1
Dimensions: obs
Datatype: uint16
Attributes:
comment = 'Radius of the best fit circle corresponding to the effective contour'
long_name = 'Effective Radius'
units = 'm'
scale_factor = 50
add_offset = 0
min = 59800
max = 59800
inner_contour_height
Size: 1x1
Dimensions: obs
Datatype: single
Attributes:
comment = 'SSH filtered height for the smallest detected contour'
long_name = 'Inner Contour Height'
units = 'm'
min = 0.272
max = 0.272
latitude
Size: 1x1
Dimensions: obs
Datatype: single
Attributes:
axis = 'Y'
comment = 'Latitude center of the best fit circle'
long_name = 'Eddy Center Latitude'
standard_name = 'latitude'
units = 'degrees_north'
min = 24
max = 24
latitude_max
Size: 1x1
Dimensions: obs
Datatype: single
Attributes:
axis = 'Y'
comment = 'Latitude of the inner contour'
long_name = 'Latitude of the SSH maximum'
standard_name = 'latitude'
units = 'degrees_north'
min = 24
max = 24
longitude
Size: 1x1
Dimensions: obs
Datatype: single
Attributes:
axis = 'X'
comment = 'Longitude center of the best fit circle'
long_name = 'Eddy Center Longitude'
standard_name = 'longitude'
units = 'degrees_east'
min = 124
max = 124
longitude_max
Size: 1x1
Dimensions: obs
Datatype: single
Attributes:
axis = 'X'
comment = 'Longitude of the inner contour'
long_name = 'Longitude of the SSH maximum'
standard_name = 'longitude'
units = 'degrees_east'
min = 124
max = 124
num_contours
Size: 1x1
Dimensions: obs
Datatype: uint16
Attributes:
comment = 'Number of contours selected for this eddy'
long_name = 'Number of contours'
min = 145
max = 145
num_point_e
Size: 1x1
Dimensions: obs
Datatype: uint16
Attributes:
description = 'Number of points for effective contour before resampling'
long_name = 'number of points for effective contour'
units = 'ordinal'
min = 89
max = 89
num_point_s
Size: 1x1
Dimensions: obs
Datatype: uint16
Attributes:
description = 'Number of points for speed contour before resampling'
long_name = 'number of points for speed contour'
units = 'ordinal'
min = 33
max = 33
speed_area
Size: 1x1
Dimensions: obs
Datatype: single
Attributes:
comment = 'Area enclosed by the speed contour in m^2'
long_name = 'Speed area'
units = 'm^2'
min = 1285707776
max = 1285707776
speed_average
Size: 1x1
Dimensions: obs
Datatype: uint16
Attributes:
comment = UNSUPPORTED DATATYPE
long_name = 'Maximum circum-averaged Speed'
units = 'm/s'
scale_factor = 0.0001
add_offset = 0
min = 1.4892
max = 1.4892
speed_contour_height
Size: 1x1
Dimensions: obs
Datatype: single
Attributes:
comment = 'SSH filtered height for speed contour'
long_name = 'Speed Contour Height'
units = 'm'
min = 0.156
max = 0.156
speed_contour_latitude
Size: 50x1
Dimensions: NbSample,obs
Datatype: int16
Attributes:
axis = 'X'
comment = 'Latitudes of speed contour'
long_name = 'Speed Contour Latitudes'
units = 'degrees_east'
scale_factor = 0.01
add_offset = 0
min = 23.81
max = 24.19
speed_contour_longitude
Size: 50x1
Dimensions: NbSample,obs
Datatype: int16
Attributes:
axis = 'X'
comment = 'Longitudes of speed contour'
long_name = 'Speed Contour Longitudes'
units = 'degrees_east'
scale_factor = 0.01
add_offset = 180
min = 123.8
max = 124.2
speed_contour_shape_error
Size: 1x1
Dimensions: obs
Datatype: uint8
Attributes:
comment = 'Error criterion between the speed contour and its best fit circle'
long_name = 'Speed Contour Shape Error'
units = '%'
scale_factor = 0.5
add_offset = 0
min = 18
max = 18
speed_radius
Size: 1x1
Dimensions: obs
Datatype: uint16
Attributes:
comment = 'Radius of the best fit circle corresponding to the contour of maximum circum-average speed'
long_name = 'Speed Radius'
units = 'm'
scale_factor = 50
add_offset = 0
min = 20450
max = 20450
time
Size: 1x1
Dimensions: obs
Datatype: uint32
Attributes:
axis = 'T'
calendar = 'proleptic_gregorian'
comment = 'Date of this observation'
long_name = 'Time'
standard_name = 'time'
units = 'days since 1950-01-01 00:00:00'
scale_factor = 1.1574e-05
add_offset = 0
min = 26663
max = 26663
uavg_profile
Size: 50x1
Dimensions: NbSample,obs
Datatype: uint16
Attributes:
comment = 'Speed averaged values from the effective contour inwards to the smallest contour, evenly spaced points'
long_name = 'Radial Speed Profile'
units = 'm/s'
scale_factor = 0.0001
add_offset = 0
min = 0.0951
max = 1.4891
————————————————————————————————————————————
The eddy files identified from the real SLA data can be merged and tracked using the conf.yaml file, but the simulated eddy encounters the above errors. I don't know where the problem lies.