read netcdf4-beam file error
2 views (last 30 days)
Show older comments
I need to raed the sentinel-1 satellite data which has netcdf4-beam format. I use the data = netcdfload(file); to read the data but I get the following error:
VarUDP2(i)=ncnames(nc_out{i});
Can anybody help me with this?Thanks
0 Comments
Answers (2)
Walter Roberson
on 4 May 2017
You should convert to using the MATLAB netcdf facilities; see https://www.mathworks.com/help/matlab/import_export/importing-network-common-data-form-netcdf-files-and-opendap-data.html
0 Comments
Hana
on 4 May 2017
1 Comment
Walter Roberson
on 4 May 2017
MATLAB supports netcdf4; see https://www.mathworks.com/help/matlab/import_export/importing-network-common-data-form-netcdf-files-and-opendap-data.html
It uses routines with different names than the ones you are looking at. ncnames() is from a third-party external library, and is not used by the Mathworks-supplied routines.
See Also
Categories
Find more on NetCDF in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!