netCDF (network Common Data Form) is an interface for array-oriented data access and a library that provides an implementation of the interface. The netCDF library also defines a machine-independent format for representing scientific data. Together, the interface, library, and format support the creation, access, and sharing of array-oriented scientific data. The netCDF software was developed at the Unidata Program Center in Boulder, Colorado.




Usage on Bridges


To see what versions of netCDF are available type

module avail netcdf

To see what other modules are needed, what commands are available and how to get additional help type

module help netcdf

To use netCDF, include a command like this in your batch script to load the netCDF module:

module load netcdf

Be sure you also load any other modules needed, as listed by the module help netcdf command.



To use netCDF

  1. Prepare a batch job to do the following:
    1. Set up the module command
    2. Load the netCDF module
      module load netcdf   # to use the intel compilers
      module load netcdf/x-gcc  # to use the gnu compilers, where x is the current version
    3. Compile your source code
      ifort source.f90 -I${INCLUDE_PATH}  -L${LD_LIBRARY_PATH} \ 
         -lnetcdf -lmpi         # intel compiler
  2. Submit the job with the qsub command.