MATLAB: How to convert a NetCDF (nc file) to ascii.

ascconvertnetcdf

Hello,
I am trying to convert a NetCDF file of Pliocene sea surface temperature to an ascii file, however I have been unable to figure that out, any help would be appreciated.
Thank you

Best Answer

  • It is easy to read nc file sin matlab........you need to know only few commands..with those commands read the data and store into what ever the format you want. Read about: ncdisp , ncread. ncdisp will help you to know the variables present in the nc file. ncread will read the specified variable. You may have a look on this file exchange: https://in.mathworks.com/matlabcentral/fileexchange/48724-netcdf-reader-and-export-to-ascii