NetCDF
Machine-independent libraries for representing scientific data
NetCDF requires an environment module
In order to use NetCDF, you must first load the appropriate environment module:
module load gnu netcdf
From the NetCDF FAQ page:
"NetCDF (network Common Data Form) is a set of interfaces for array-oriented data access and a freely distributed collection of data access libraries for C, Fortran, C++, Java, and other languages. The NetCDF libraries support a machine-independent format for representing scientific data. Together, the interfaces, libraries, and format support the creation, access, and sharing of scientific data."
Using NetCDF on RCC Resources#
Below is an example of using the GNU implementation of NetCDF to compile a simple two-dimensional array from the Example NetCDF programs page on the HPC:
NetCDF is also available for the Intel compiler. Link and include a different path using the following commands:
In-Depth#
For a more in-depth discussion, please refer to the NetCDF tutorial on the UCAR website.