Difference between revisions of "NetCDF"
Line 36: | Line 36: | ||
{{#if: {{#var: exe}}|==Additional Information== | {{#if: {{#var: exe}}|==Additional Information== | ||
To use the NETCDF library, compile the source code with the option: | To use the NETCDF library, compile the source code with the option: | ||
− | *-I | + | *-I$HPC_NETCDF_INC |
and add the following options to the link step: | and add the following options to the link step: | ||
− | *-L | + | *-L$HPC_NETCDF_LIB -lnetcdf|}} |
{{#if: {{#var: conf}}|==Configuration== | {{#if: {{#var: conf}}|==Configuration== | ||
See the [[{{PAGENAME}}_4.2]] page for {{#var: app}} configuration details.|}} | See the [[{{PAGENAME}}_4.2]] page for {{#var: app}} configuration details.|}} |
Revision as of 14:55, 12 March 2024
Description
NetCDF is a set of software libraries and self-describing, machine-independent data formats that support the creation, access, and sharing of array-oriented scientific data.
- Note
- Starting with version 4.4.3 the upstream project split C and Fortran NetCDF libraries, which will take different developmental paths. We are following the upstream, so we have netcdf-c and netcdf-f environment modules for 4.4.3 and later NetCDF libraries. Please load the appropriate module. Note that the Fortran module man not have all supporting binaries that netcdf-c module has.
Environment Modules
Run module spider NetCDF
to find out what environment modules are available for this application.
System Variables
- HPC_NETCDF_DIR - installation directory
- HPC_NETCDF_BIN - executable binary directory
- HPC_NETCDF_LIB - library directory
- HPC_NETCDF_INC - include directory
Additional Information
To use the NETCDF library, compile the source code with the option:
- -I$HPC_NETCDF_INC
and add the following options to the link step:
- -L$HPC_NETCDF_LIB -lnetcdf
Citation
If you publish research that uses NetCDF, you may cite it as follows:
Rew, R. K. and G. P. Davis, "NetCDF: An Interface for Scientific Data Access," IEEE Computer Graphics and Applications, Vol. 10, No. 4, pp. 76-82, July 1990.
Brown, S. A, M. Folk, G. Goucher, and R. Rew, "Software for Portable Scientific Data Management," Computers in Physics, American Institute of Physics, Vol. 7, No. 3, May/June 1993, pp. 304-308.