Difference between revisions of "NetCDF"

From UFRC
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 3: Line 3:
 
[[Category:Software]][[Category:Data Science]]
 
[[Category:Software]][[Category:Data Science]]
 
{|<!--Main settings - REQUIRED-->
 
{|<!--Main settings - REQUIRED-->
|{{#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|1}} <!--Present manual instructions for running the software -->
 
|{{#vardefine:exe|1}} <!--Present manual instructions for running the software -->
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\$HPC_NETCDF_INC
+
*-I$HPC_NETCDF_INC
 
and add the following options to the link step:
 
and add the following options to the link step:
*-L\$HPC_NETCDF_LIB -lnetcdf|}}
+
*-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.|}}

Latest revision as of 14:56, 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.