A NetCDF interface for Octave
The Octave NetCDF toolkit implements the MATLAB NetCDF interface for GNU Octave.
-
Octave 4.0+
Your NetCDF library install needs to include nc-config and development headers
To install, run the octave package manager:
-
If running Windows, the package may already be installed: type pkg list, to view the installed packages.
-
To install from source forge/package index:
pkg install -forge netcdf -
To install from a local tarball.
pkg install netcdf-XXXXXXX.tar.gzWhere XXXXXXX is the version of the the downloaded tarball.
-
Load the package.
pkg load netcdf(Required each time Octave is started)
-
Use the high level function calls (nccreate, ncinfo etc) or use the low level functions in the netcdf namespace
See the function list and documentation online
Documentation is also available using octave help. For example:
help nccreate
help netcdf.open
Please report issues on the tracker