Read and process cygnss L2 V2.1 NetCDF4 files
Posted: Tue Feb 25, 2025 5:09 am America/New_York
I have a question for you, that is, about the processing of nc files, I downloaded the L2 level 2.1 version of CYGNSS data on podaac, the file name of this data is: cyg.ddmi.s20200101-000000-e20200101-235959.l2.wind-mss.a21.d21.nc, I used matlab2018b to read this file and get a struct, This struct shows mean_square_slope as a one-dimensional array (1598872×1double), I want to get the mean_square_slope data and its latitude and longitude, and this struct also has two variables, longitude and latitude, which are LON (1598872×1 Double) and lat (1598872× 1 Double), which are also 1D arrays, I want to know, mean_ square_slope variable's row index is a one-to-one correspondence with the latitude and longitude index, because I can't be sure of the latitude and longitude of the mean_square_slope. I would appreciate it if you could help me with this question. Details of mean_square_slope, longitude and latitude are as follows: mean_square_slope
Size: 1598872x1
Dimensions: sample
Datatype: single
Attributes:
long_name = 'Mean square slope'
coordinates = 'sample_time lat lon'
units = '1'
_FillValue = -9999
valid_range = [0 0.04]
comment = 'The average MSS of the 25 x 25 km cell centered on lat and lon, unitless.'
lat
Size: 1598872x1
Dimensions: sample
Datatype: single
Attributes:
long_name = 'Latitude'
standard_name = 'latitude'
units = 'degrees_north'
_FillValue = -9999
valid_range = [-60 60]
comment = 'The mean of the specular point latitudes of the DDMs that were utilized to derive wind_speed, degrees North.'
lon
Size: 1598872x1
Dimensions: sample
Datatype: single
Attributes:
long_name = 'Longitude'
standard_name = 'longitude'
units = 'degrees_east'
_FillValue = -9999
valid_range = [0 359.9999]
comment = 'The mean of the specular point longitudes of the DDMs that were utilized to derive wind_speed, degrees East.'
Size: 1598872x1
Dimensions: sample
Datatype: single
Attributes:
long_name = 'Mean square slope'
coordinates = 'sample_time lat lon'
units = '1'
_FillValue = -9999
valid_range = [0 0.04]
comment = 'The average MSS of the 25 x 25 km cell centered on lat and lon, unitless.'
lat
Size: 1598872x1
Dimensions: sample
Datatype: single
Attributes:
long_name = 'Latitude'
standard_name = 'latitude'
units = 'degrees_north'
_FillValue = -9999
valid_range = [-60 60]
comment = 'The mean of the specular point latitudes of the DDMs that were utilized to derive wind_speed, degrees North.'
lon
Size: 1598872x1
Dimensions: sample
Datatype: single
Attributes:
long_name = 'Longitude'
standard_name = 'longitude'
units = 'degrees_east'
_FillValue = -9999
valid_range = [0 359.9999]
comment = 'The mean of the specular point longitudes of the DDMs that were utilized to derive wind_speed, degrees East.'