Difference between revisions of "NetCDF"

From UFRC
Jump to navigation Jump to search
Line 5: Line 5:
 
|{{#vardefine:app|NetCDF}}
 
|{{#vardefine:app|NetCDF}}
 
|{{#vardefine:url|http://www.unidata.ucar.edu/software/netcdf/}}
 
|{{#vardefine:url|http://www.unidata.ucar.edu/software/netcdf/}}
|{{#vardefine:exe|}} <!--Present manual instructions for running the software -->
+
|{{#vardefine:exe|1}} <!--Present manual instructions for running the software -->
 
|{{#vardefine:conf|}} <!--Enable config wiki page link - {{#vardefine:conf|1}} = ON/conf|}} = OFF-->
 
|{{#vardefine:conf|}} <!--Enable config wiki page link - {{#vardefine:conf|1}} = ON/conf|}} = OFF-->
 
|{{#vardefine:pbs|}} <!--Enable PBS script wiki page link-->
 
|{{#vardefine:pbs|}} <!--Enable PBS script wiki page link-->
Line 32: Line 32:
 
* HPC_NETCDF_LIB - library directory
 
* HPC_NETCDF_LIB - library directory
 
* HPC_NETCDF_INC - include directory
 
* HPC_NETCDF_INC - include directory
{{#if: {{#var: exe}}|==Manual execution instructions==
+
 
WRITE INSTRUCTIONS ON RUNNING THE APP WITHOUT MODULES HERE|}}
+
 
 +
{{#if: {{#var: exe}}|==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|}}
 
{{#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:52, 12 March 2024

Description

NetCDF website  

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.