help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

initial release of matlab compatible netcdf interface for octave


From: Alexander Barth
Subject: initial release of matlab compatible netcdf interface for octave
Date: Tue, 30 Jul 2013 15:48:38 +0200

Dear all,

I made the initial release of the package netcdf-1.0.0 which provides an interface compatible with matlab. Unlike the package octcdf, this package allows to use netcdf4 features such as transparent compression, checksum and variable groups.

The package implements the high-level functions (ncread, ncwrite,...) and the low-level functions. However, octave does unfortunately not yet support namespace (is this in the making?). The low-level functions are thus named e.g. netcdf_open instead of netcdf.open.

As a workaround, one can use the function "import_netcdf" at the beginning of every function to use the functions with a dot (e.g. netcdf.open) instead of an underscore (e.g. netcdf_open).

For new code, it is recommended to use this package instead of octcdf. If you want to use an even more high-level and object-oriented interface, I would suggest you to use the package ncArray (which works with both the octcdf and netcdf package as well as with matlab).

The octcdf package currently includes a rudimentary implementation of ncread, ncwrite and ncinfo which behaves similarly to the matlab equivalent functions. These functions will be removed in octcdf as they have been re-implemented in the netcdf package with a much higher degree of compatibility and with the ability to use netcdf4 features.

More information is available at http://modb.oce.ulg.ac.be/mediawiki/index.php/Octave-netcdf.

I have added the source and the documentation in the package release forum. Thank you for updating the octave-forge web-site.


Best regards,
Alexander

reply via email to

[Prev in Thread] Current Thread [Next in Thread]