use NetCDF;


import NetCDF;


NetCDF bindings for Chapel.

This module implements the C-API for netCDF version 4.6.1.

Compiling with netCDF

In order to compile a Chapel program that uses this module, the netCDF library must be installed on the system. The paths to the netcdf.h header file and netCDF library must be known to the compiler, either by finding them in a default search path, or by using the -I and -L compiler arguments.

The compilation command should look something like this:

     -L$PATH_TO_NETCDF_LIBS -lnetcdf source.chpl

On Cray systems with the cray-netcdf module loaded, no compiler flags are necessary to use the HDF5 module.