Difference between revisions of "Applications/Netcdf-c"
(Created page with "__TOC__ ==Application Details== * Description: NetCDF (network Common Data Form) is a set of software libraries and machine-independent data formats that support the creatio...") |
m (Pysdlb moved page Netcdf-c to Applications/Netcdf-c without leaving a redirect) |
(No difference)
|
Revision as of 15:20, 18 April 2017
Contents
Application Details
- Description: NetCDF (network Common Data Form) is a set of software libraries and machine-independent data formats that support the creation, access, and sharing of array-oriented scientific data.
- Version: 4.4.1
- Modules: netcdf-c/gcc/intelmpi/4.4.1
- Licence: Github, open-source
Usage Examples
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 was developed and is maintained at Unidata. Unidata provides data and software tools for use in geoscience education and research. Unidata is part of the University Corporation for Atmospheric Research (UCAR) Community Programs (UCP). Unidata is funded primarily by the National Science Foundation.
NetCDF Utilities
The ncdump command reads a netCDF file and outputs text in a format called CDL. The ncgen command reads a text file in CDL format, and generates a netCDF data file. The nccopy command copies a netCDF file from one binary format to another, optionally changing compression and chunksize settings.
ncdump
The utility ncdump can be used to show the contents of netCDF files. By default, ncdump shows the CDL description of the file. This CDL description can be fed into ncgen to create the data file.
ncgen
The ncgen utility can take an ASCII input file, in CDL format, and generate a binary netCDF file. It is the opposite of ncdump.
nccopy
The nccopy utility can copy a netCDF file, changing binary format, chunk sizes, compression, and other storage settings.
Interactive
While logged into a reserved compute node (c001):
[username@c001 ~]$ module add gcc/4.9.3 [username@c001 ~]$ module add openmpi/intel/1.8.8 [username@c001 ~]$ module add netcdf-c/gcc/intelmpi/4.4.1 [username@c001 ~]$ ncgen -o bar.nc foo.cdl
Further Information
- https://www.unidata.ucar.edu/downloads/netcdf/index.jsp
- https://www.unidata.ucar.edu/software/netcdf/docs/index.html