Reading information of a NetCDF file
Version 1.0.0 (1.65 KB) by
Leon
"ncdisp" does not indicate the N number of a variable. Here is an alternative function. Var = netcdf.getVar(ncid, N);
To get the value of a variable, you would need the N number as below:
Var = netcdf.getVar(ncid, N);
Currently, the "ncdisp" function does not indicate the N number of a variable. This new function called "ncwhos" indicates the N number along with the other info.
Cite As
Leon (2026). Reading information of a NetCDF file (https://www.mathworks.com/matlabcentral/fileexchange/82655-reading-information-of-a-netcdf-file), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2020b
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0 |
