Skip to content
Novus Examples
nc572 B

NetCDF Unlimited Record Dimension (.nc)

A NetCDF-3 file with a genuine unlimited record dimension, so the record variable is stored interleaved rather than contiguously while the fixed-size station variable is not. It exercises the striding path that a reader written only against fixed dimensions gets wrong.

Preview — schema + first 7 rowsnc
FieldValue
Unlimited dimensionrecord (currently 5)
Fixed dimensionstation = 3
Record variableair_temperature (record, station) float32 K
Non-record variablestation_id (station) int32
Storagerecord data is interleaved per record, fixed data is contiguous
air_temperature[0,0]281.150 K
air_temperature[4,2]285.550 K
NetCDF-3 stores record variables interleaved — a reader that assumes contiguity mis-strides.

Specifications

Record Dimension
record (unlimited)
Records
5
Stations
3
Layout
record variables are interleaved, not contiguous
Variable
air_temperature float32 (K)

Testing contract

Expected to pass
Scenario
Read air_temperature and station_id and confirm the record dimension is reported as unlimited with a current length of five.
Expected result
air_temperature has shape (5, 3) with [0,0] = 281.15 K and [4,2] = 285.55 K, and the reader flags 'record' as the unlimited dimension while station_id stays shape (3,).

What is a .nc file?

NetCDF (.nc, Network Common Data Form) is a binary, self-describing format for array-oriented scientific data. It stores multidimensional variables (like temperature over latitude, longitude, and time) with named dimensions, units, and metadata attributes, and is a standard in climate, ocean, and geoscience.

How to use this file

Use an example .nc file to test NetCDF readers (netCDF4, xarray, Panoply), CF-convention validators, and gridded-data pipelines, or to verify dimension and variable extraction.

How to use this file for testing

“NetCDF Unlimited Record Dimension (.nc)” is a deterministic Novus Examples fixture for Scientific data, Serialization testing. Citation catalogs (BibTeX, RIS), chemistry structures (MDL Molfile, PDB), and gridded binary data (NetCDF, FITS) — for testing reference managers, molecule viewers, and scientific-data loaders.

Documented properties for this file: 5 records. Compare results against paired or grouped companions on this page when present (clean↔damaged, searchable↔scanned, or format twins) so scores stay reproducible across runs.

Download the file once, keep the path stable in CI or local scripts, and treat the spec table as the contract: dimensions, seeds, field lists, and roles are intentional. Corrupt or invalid samples are labelled as such — expect parsers to fail loudly rather than silently accept them.

Scientific fixtures are small, valid, and fully synthetic — no real organism, patient, sample, or observation. Point your parser or loader at the file and check it reads the documented records, variables, or headers; binary formats ship a readable twin or metadata listing for comparison.

Generated by generation/scientific.py. Free for any use, no attribution required — license.