image thumbnail

Read netCDF files and display variable information

version 1.8.0.0 (1.72 KB) by Christian Stranne
Loads netCDF files and displays info about variables. Tested for ERA and NCEP/NCAR reanalysis data.

1.3K Downloads

Updated 26 Aug 2013

View License

This script loads netCDF files into MATLAB and displays info about the dimensions and variables.

The code should at least work on ERA-40, ERA-interim and NCEP/NCAR reanalysis data.

I wrote the script since I can't find a function in the built-in set of netCDF functions included in MATLAB that displays all header info of the file, equivalent to the old 'ncdump' function.

Cite As

Christian Stranne (2021). Read netCDF files and display variable information (https://www.mathworks.com/matlabcentral/fileexchange/31284-read-netcdf-files-and-display-variable-information), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2010a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!