MATLAB Answers

Convert netcdf file to ascii file..

3 views (last 30 days)
joo  tan
joo tan on 18 Jan 2012
Dear all,
I have netcdf file and need to convert the file to ascii file..i use matlab version 2010a ..example data is below:
how i can do that?

Answers (1)

Ashish Uthama
Ashish Uthama on 18 Jan 2012
With 10a, I cant think of a simple approach. You would have to use the netcdf package functions. It will be a lot easier with the newer ncdisp, ncinfo and ncread functions though (11a).
Another option would be to do this with the native NetCDF library function like ncdump outside MATLAB.
I am curious to know why you would want to do this though.

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!