Difference between revisions of "NetCDF"

From UFRC
Jump to navigation Jump to search
 
(25 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
 
__NOEDITSECTION__
 
__NOEDITSECTION__
[[Category:Software]]
+
[[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|}} <!--Present manual instructions for running the software -->
+
|{{#vardefine:exe|1}} <!--Present manual instructions for running the software -->
|{{#vardefine:conf|1}} <!--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-->
 
|{{#vardefine:policy|}} <!--Enable policy section -->
 
|{{#vardefine:policy|}} <!--Enable policy section -->
 
|{{#vardefine:testing|}} <!--Enable performance testing/profiling section -->
 
|{{#vardefine:testing|}} <!--Enable performance testing/profiling section -->
 
|{{#vardefine:faq|}} <!--Enable FAQ section -->
 
|{{#vardefine:faq|}} <!--Enable FAQ section -->
|{{#vardefine:citation|}} <!--Enable Reference/Citation section -->
+
|{{#vardefine:citation|1}} <!--Enable Reference/Citation section -->
 
|}
 
|}
 
<!-- ########  Template Body ######## -->
 
<!-- ########  Template Body ######## -->
Line 19: Line 19:
  
 
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.
 
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.
 
<!--Modules-->
 
<!--Modules-->
==Required Modules==
+
==Environment Modules==
[[Modules|modules documentation]]
+
Run <code>module spider {{#var:app}}</code> to find out what environment modules are available for this application.
===Serial===
 
*{{#var:app}}
 
  
 
==System Variables==
 
==System Variables==
  
HPC_NETCDF_DIR
+
* HPC_NETCDF_DIR - installation directory
HPC_NETCDF_BIN
+
* HPC_NETCDF_BIN - executable binary directory
HPC_NETCDF_LIB  
+
* HPC_NETCDF_LIB - library directory
HPC_NETCDF_INC  
+
* HPC_NETCDF_INC - include directory
 +
 
  
 +
{{#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: exe}}|==Manual execution instructions==
 
WRITE INSTRUCTIONS ON RUNNING THE APP WITHOUT MODULES HERE|}}
 
 
{{#if: {{#var: conf}}|==Configuration==
 
{{#if: {{#var: conf}}|==Configuration==
See the [[{{PAGENAME}}_4.1.3]] page for {{#var: app}} configuration details.|}}
+
See the [[{{PAGENAME}}_4.2]] page for {{#var: app}} configuration details.|}}
 
{{#if: {{#var: pbs}}|==PBS Script Examples==
 
{{#if: {{#var: pbs}}|==PBS Script Examples==
 
See the [[{{PAGENAME}}_PBS]] page for {{#var: app}} PBS script examples.|}}
 
See the [[{{PAGENAME}}_PBS]] page for {{#var: app}} PBS script examples.|}}
Line 49: Line 50:
 
*'''Q:''' **'''A:'''|}}
 
*'''Q:''' **'''A:'''|}}
 
{{#if: {{#var: citation}}|==Citation==
 
{{#if: {{#var: citation}}|==Citation==
If you publish research that uses {{{app}}} you have to cite it as follows:
+
If you publish research that uses {{#var:app}}, you may cite it as follows:
WRITE CITATION HERE
+
 
 +
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.
 +
 
 
|}}
 
|}}

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.