wiki:NetCDF

Version 9 (modified by etourigny, 13 years ago) ( diff )

--

NetCDF

Building NetCDF

NetCDF support requires the netCDF library. Once it is built and installed, use the "--with-netcdf=<path to install tree>" option to configure and build GDAL. NetCDF support has not been built or tested on Windows.

Conflicts with HDF4

If building GDAL with both HDF4 and NetCDF support it is necessary to build the HDF library specially or a dangerous conflict will occur. See the HDF topic for details.

Improvements to the NetCDF driver

The newer NetCDF-4 library offers features such as per-variable compression (using the deflate algorithm) and chunking which require the HDF5 library. To enable this, "--enable-netcdf4" (and perhaps --with-hdf5=<path_to_hdf5>) must be added to netcdf configure.

The development version of the driver (1.9-dev in svn or nightlies) adds support for Netcdf-4 file format, as well as the 64-bit offset file format. HDF4 and HDF5 files are also supported, although the respective driver is used if available. The syntax "NETCDF:<file.hdf>" forces the use of the NetCDF driver.

Please look into NetCDF_Improvements for information regarding these and other improvements to the GDAL NetCDF driver.

Open Tickets

No results

Note: See TracWiki for help on using the wiki.