EN
Back to the archive

The encyclopedia · R&D & Science · Technical decision · 1989–2008

NetCDF won scientific data by making files describe themselves

Unidata's NetCDF stores array science data in machine-independent, self-describing files — metadata rides with the numbers — and became a community standard.

Unidata Program Center (UCAR)

The solution

Climate and ocean science runs on huge arrays — temperature grids, currents, model output — and the files used to be opaque: a binary blob from one program was unreadable by the next, and the meaning of the numbers lived in papers or email. NetCDF (Network Common Data Form), developed at the Unidata Program Center, changed the contract.

The design choice is self-description. A netCDF file includes information about the data it contains, stored in a machine-independent format, so it can be read on computers with different ways of representing integers, characters and floating-point numbers. Small subsets of large datasets can be fetched efficiently, even remotely, and data can be appended without copying the whole file.

That made it a community standard rather than one lab's format. Unidata calls it a set of libraries and machine-independent data formats that is also a community standard for sharing scientific data, with interfaces for C, C++, Java and Fortran; ECMWF describes netCDF as commonly used to store and distribute scientific data, with conventions like CF standardizing the metadata.

Why it worked

  • Self-describing files need no external documentation to be read.
  • Machine independence lets one file move across architectures unchanged.
  • Subsetting means huge datasets are usable without loading them whole.
  • Free libraries for every major language removed the cost of adoption.
What it achievedPut the description inside the data fileneat

What can be applied

When data outlives its software, embed the metadata in the file; a self-describing format survives tool changes because the file explains itself.

Aftermath

NetCDF became the common currency for climate and ocean data — ECMWF offers it alongside its native GRIB format, and CF conventions standardize the metadata inside it. NetCDF-4 (2008) added modern features while keeping classic files readable.

Sources

spotted an error? The archive wants to know.

Related cases