Documentation

This is machine translation

Translated by Microsoft
Mouse over text to see original. Click the button below to return to the English verison of the page.

NetCDF Files

Network Common Data Form

High-level functions make it easy to read a data set from a NetCDF file or write a variable from the MATLAB® workspace into a NetCDF file. Low-level functions in the MATLAB netcdf package provide interfaces to dozens of functions in the NetCDF library. To use the low-level functions, you should be familiar with the NetCDF C interface.

Functions

nccreate Create variable in NetCDF file
ncdisp Display contents of NetCDF data source in Command Window
ncinfo Return information about NetCDF data source
ncread Read data from variable in NetCDF data source
ncreadatt Read attribute value from NetCDF data source
ncwrite Write data to NetCDF file
ncwriteatt Write attribute to NetCDF file
ncwriteschema Add NetCDF schema definitions to NetCDF file

Packages

netcdf Interact directly with NetCDF Library

Topics

Import NetCDF Files and OPeNDAP Data

Network Common Data Form (NetCDF) is a set of software libraries and machine-independent data formats that support the creation, access, and sharing of array-oriented scientific data.

Export to NetCDF Files

Network Common Data Form (NetCDF) is a set of software libraries and machine-independent data formats that support the creation, access, and sharing of array-oriented scientific data.

Map NetCDF API Syntax to MATLAB Syntax

MATLAB provides access to the routines in the NetCDF C library through a set of low-level functions that are grouped into a package called netcdf.

Troubleshooting

Resolve Errors Reading OPeNDAP Data

If you have trouble reading OPeNDAP data, consider the following:

Related Information

Was this topic helpful?