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

Problem in SSH output matrix #16

Open boshravafaie opened 6 years ago

boshravafaie commented 6 years ago

Hello, I followed the instruction mentioned in “A daily global mesoscale ocean eddy dataset from satellite altimetry “, and I could run the “setup SSH data”. The input was “dt_global_en_phy_vxxc_l3_20070219_20170110.nc.gz” which extracted from “ftp://ftp.sltac.cls.fr/../../Core/SEALEVEL_GLO_PHY_L3_REP_OBSERVATIONS_008_045/dataset-duacs-rep-global-en-phy-unfiltered-l3-v3/2007/” and results were following items:

  1. “lon.mat” which contains 26298×1 matrix.
    1. “lat.mat” which contains 26298×1 matrix.
    2. “SSH-32007053.mat”
    3. “SSH-32007030.mat”
    4. “SSH-32007021.mat”
    5. “Dates.mat”

I expected to have a 26298×26298 matrix as SSH output but I had just 26298×1 matrix. Maybe I have not used right input file. Also following errors reported: Error using scan_single (line 25) Error- Invalid SSH data size, should be [length(lat), length(lon)]

Would you please advise me how to solve this problem?

Best Regards Boshra

lematt1991 commented 6 years ago

I'm unable to access the file on the FTP server that you linked as it is password protected. If you are getting unexpected results in the generated SSH data, I suggest setting a breakpoint [here] to get a better sense of what is going on. If you can provide the actual netcdf file along with the parameters that you provided to set_up_ssh_data, I might be able to help you out a bit more.

boshravafaie commented 6 years ago

Thank you very much for your help, I will do your suggestion and I will say the result.