jfaghm / OceanEddies

A collection of algorithms to autonomously identify and track mesoscale ocean eddies in sea surface height (SSH) satellite data
92 stars 51 forks source link

using NaN for eddy surface area #20

Open hbagheri opened 5 years ago

hbagheri commented 5 years ago

Dear Sir/Madam; I have a problem to run the script in the Persian Gulf area. I have 3 ssh files and area map and other files specific for the area. but it returns

------------------------------------

Scanning SSH data for eddies Iteration 1

ans =

33    53

Invalid areamap, using NaN for eddy surface area Subscript indices must either be real positive integers or logicals.

Error in bottom_up_single (line 88) sshExtended = [ssh_data(:, end-(2threshold-1):end), ssh_data(:, :), ssh_data(:, 1:2threshold)];

Error in scan_single (line 48) eddies = bottom_up_single(ssh, lat, lon, areamap, ctype, varargin{:});

Error in complete_run (line 105) ant_eddies = scan_single(ssh_data, lat, lon, dates(i), 'anticyc', scan_type, area_map, 'sshUnits', SSH_Units,...

------------------------------------

can any one help me to solve it? I can send all of my data if needed. Sincerely

Kris-wu-glut commented 4 years ago

I also encountered the same problem, how to solve it