NetCDF

From Just Solve the File Format Problem
(Difference between revisions)
Jump to: navigation, search
(Added link to LoC pages and NASA endorsement of NetCDF-4)
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{|
+
{{FormatInfo
|[[File Formats]]
+
|formattype=electronic
| >
+
|subcat=Scientific Data formats
|[[Electronic File Formats]]
+
|extensions={{ext|nc}}
| >
+
|mimetypes={{mimetype|application/netcdf}}
|[[Scientific Data formats]]
+
|locfdd={{LoCFDD|fdd000330}}, {{LoCFDD|fdd000332}}, {{LoCFDD|fdd000339}}
| >
+
|pronom={{PRONOM|fmt/282}}, {{PRONOM|fmt/283}}
|[[NetCDF]]
+
}}
|}
+
 
+
 
== General description ==
 
== General description ==
  
The Network Common Data Form (netCDF) is a long-lived set of file formats and associated APIs designed by UCAR for multi-dimensional datasets. (Though its name resembles that of [[cdf]], and their original designs were similar, the two products have greatly diverged.) The various versions are widely used in environmental science, especially atmospheric and oceanographic research. Currently it has two main versions, netCDF-3 and netCDF-4, which are quite different in implementation, and moderately different in API. There are also "subversions" of netCDF-3, notably "netCDF Classic." Tool support for netCDF-3 continues to exceed that for netCDF-4; but the latter, based on [[HDF5]], is generally considered technically superior, so its tool support is increasing rapidly.
+
The Network Common Data Form (netCDF) is a long-lived set of file formats and associated APIs designed by UCAR for multi-dimensional datasets. (Though its name resembles that of [[Common Data Format|CDF]], and their original designs were similar, the two products have greatly diverged.) The various versions are widely used in environmental science, especially atmospheric and oceanographic research. Currently it has two main versions, netCDF-3 and netCDF-4, which are quite different in implementation, and moderately different in API. There are also "subversions" of netCDF-3, notably "netCDF Classic." Tool support for netCDF-3 continues to exceed that for netCDF-4; but the latter, based on [[HDF5]], is generally considered technically superior, so its tool support is increasing rapidly.
  
 
Notable features of netCDF include
 
Notable features of netCDF include
Line 56: Line 54:
  
 
* The User's Guide is: Rew, R. K., G. P. Davis, S. Emmerson, and H. Davies, NetCDF User's Guide for C, An Interface for Data Access, Version 3, April 1997.
 
* The User's Guide is: Rew, R. K., G. P. Davis, S. Emmerson, and H. Davies, NetCDF User's Guide for C, An Interface for Data Access, Version 3, April 1997.
* [http://www.digitalpreservation.gov/formats/fdd/fdd000330.shtml NetCDF-3 (Network Common Data Form, version 3), from Library of Congress resource on Sustainability of Digital Formats]
+
* [https://deepblue.lib.umich.edu/bitstream/handle/2027.42/145724/Public-Data-CurationFormat%20Profile-netCDF.pdf Data Curation Format Profile: netCDF] (Research Data Services, University of Michigan Library)
* [http://www.digitalpreservation.gov/formats/fdd/fdd000332.shtml NetCDF-4 (Network Common Data Form, version 4), from Library of Congress resource on Sustainability of Digital Formats]
+
 
 +
[[Category:HDF based file formats]]

Latest revision as of 16:40, 25 June 2024

File Format
Name NetCDF
Ontology
Extension(s) .nc
MIME Type(s) application/netcdf
LoCFDD fdd000330, fdd000332, fdd000339
PRONOM fmt/282, fmt/283

Contents

[edit] General description

The Network Common Data Form (netCDF) is a long-lived set of file formats and associated APIs designed by UCAR for multi-dimensional datasets. (Though its name resembles that of CDF, and their original designs were similar, the two products have greatly diverged.) The various versions are widely used in environmental science, especially atmospheric and oceanographic research. Currently it has two main versions, netCDF-3 and netCDF-4, which are quite different in implementation, and moderately different in API. There are also "subversions" of netCDF-3, notably "netCDF Classic." Tool support for netCDF-3 continues to exceed that for netCDF-4; but the latter, based on HDF5, is generally considered technically superior, so its tool support is increasing rapidly.

Notable features of netCDF include

  • incorporation of metadata. netCDF is said to be "self-describing," in that the file format provides for a header describing the structure of the data. In practice, the utility of its metadata depends on the extent to which the data author provides and maintains it.
  • platform independence via API: provided the user manipulates netCDF files via supported APIs (which are numerous), the user can effectively ignore issues such as endianness.
  • backward compatibility. Software and API capable of manipulating netCDF-4 is also capable of manipulating netCDF-3, though of course advanced features of the later version are not accessible to files written for the earlier version.

According to the FAQ,there are 4 main versions of NetCDF:

  • the classic format
  • the 64-bit offset format
  • the netCDF-4 format
  • the netCDF-4 classic model format

Either of the first two may be referred to as NetCDF-3.

NetCDF is described on the Unidata pages of the UCAR web site. A short document describing early versions has been accepted as a standard by NASA.

NetCDF-4 based on HDF5 has been endorsed as a standard by NASA's Earth Observing System Data and Information System (EOSDIS). See Endorsed set of EOSDIS approved standards.

[edit] Other information

The format is referenced in the Wikipedia page on NetCDF.

NetCDF claims full backwards compatibility.

Software and information is made available according to UCAR Terms of Use, which indicate they are not usable for commercial purposes.

[edit] Software

There is a wide range of software available to create and process NetCDF files. The Wikipedia article mentioned above has a starter list.

[edit] Sample files

Sample NetCDF files are available on the Unidata web site.

[edit] Identification

The magic number is CDF\001 .

The file extension is .nc (originally .cdf) and the MIME Type is application/netcdf or application/x-netcdf.

[edit] References

  • The User's Guide is: Rew, R. K., G. P. Davis, S. Emmerson, and H. Davies, NetCDF User's Guide for C, An Interface for Data Access, Version 3, April 1997.
  • Data Curation Format Profile: netCDF (Research Data Services, University of Michigan Library)
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox