NetCDF

From Just Solve the File Format Problem
(Difference between revisions)
Jump to: navigation, search
(initial commit)
 
(Restructured page to new template and added more information)
Line 1: Line 1:
== summary ==
+
{|
 +
|[[File Formats]]
 +
| >
 +
|[[Electronic File Formats]]
 +
| >
 +
|[[Scientific Data formats]]
 +
| >
 +
| NetCDF
 +
|}
  
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.
+
== 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
 
Notable features of netCDF include
Line 8: Line 18:
 
* 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.
 
* 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.
 
* 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.
 +
 +
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 [http://www.unidata.ucar.edu/software/netcdf/ Unidata pages] of the UCAR web site. A short document [http://www.esdswg.org/spg/rfc/esds-rfc-011/ESDS-RFC-011v1.00.pdf describing early versions] has been accepted as a standard by NASA.
 +
 +
== Other information ==
 +
 +
Include other information describing the format, eg Wikipedia pages, PRONOM or LoC identifiers, etc. Eg
 +
 +
The format is referenced in the Wikipedia [http://en.wikipedia.org/wiki/NetCDF page on NetCDF].
 +
 +
NetCDF claims full backwards compatibility.
 +
 +
Software and information is made available according to [http://www2.ucar.edu/terms-of-use UCAR Terms of Use], which indicate they are freely usable for non-commercial purposes.
 +
 +
== Software ==
 +
There is a wide range of software available to create and process NetCDF files. The Wikipedia article mentioned above as a good starter list.
 +
 +
== Sample files ==
 +
 +
Sample NetCDF files are available on the [http://www.unidata.ucar.edu/software/netcdf/examples/files.html Unidata web site].
 +
 +
== 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.
 +
 +
== 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.

Revision as of 18:55, 4 November 2012

File Formats > Electronic File Formats > Scientific Data formats > NetCDF

Contents

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.

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.

Other information

Include other information describing the format, eg Wikipedia pages, PRONOM or LoC identifiers, etc. Eg

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 freely usable for non-commercial purposes.

Software

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

Sample files

Sample NetCDF files are available on the Unidata web site.

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.

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.

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox