MATLAB Answers


What are the differences between netcdf format in Matlab versions 2011a and 2012a?

Asked by Rich
on 21 Nov 2012


I am writing netcdf files using he nccreate and ncwrite calls. I have noticed that 'identical' netcdf files (containing one 2 dimensional variable) written with Matlab versions 2011a and 2012a differ. The 2012a netcdf file was almost twice as large. Furthermore, only the 2011a version was readable by a colleague using their netcdf reader (sorry, I don't know the version of the netcdf library that they are using).

I cannot find any specification in the Matlab documentation of the netcdf library used in 2011a or 2012a. Can anyone provide information about possible differences between the two versions?




Did you try to inspect the files with ncdisp?

Use netcdf.inqLibVers on both versions.



0 Answers

Join the 15-year community celebration.

Play games and win prizes!

Learn more
Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!