Skip to content
Novus Examples
csv5.3 KB

Packed NetCDF — Unpacked Ground Truth (.csv)

The stored integer, the unpacked value, the original float and the quantisation error for all 120 cells of the packed NetCDF grid. It makes the cost of int16 packing explicit and gives an unpacking implementation an exact per-cell target.

Preview — first 50 linescsv
time_hours,lat_degrees_north,lon_degrees_east,stored_int16,unpacked_kelvin,original_kelvin,quantisation_error_kelvin
0,-60.0,0.0,-1000,270.0000,270.000,+0.00000
0,-60.0,60.0,-1150,268.5000,268.500,+0.00000
0,-60.0,120.0,-1450,265.5000,265.500,+0.00000
0,-60.0,180.0,-1600,264.0000,264.000,+0.00000
0,-60.0,240.0,-1450,265.5000,265.500,+0.00000
0,-60.0,300.0,-1150,268.5000,268.500,+0.00000
0,-30.0,0.0,50,280.5000,280.500,+0.00000
0,-30.0,60.0,-100,279.0000,279.000,+0.00000
0,-30.0,120.0,-400,276.0000,276.000,+0.00000
0,-30.0,180.0,-550,274.5000,274.500,+0.00000
0,-30.0,240.0,-400,276.0000,276.000,+0.00000
0,-30.0,300.0,-100,279.0000,279.000,+0.00000
0,0.0,0.0,1100,291.0000,291.000,+0.00000
0,0.0,60.0,950,289.5000,289.500,+0.00000
0,0.0,120.0,650,286.5000,286.500,+0.00000
0,0.0,180.0,500,285.0000,285.000,+0.00000
0,0.0,240.0,650,286.5000,286.500,+0.00000
0,0.0,300.0,950,289.5000,289.500,+0.00000
0,30.0,0.0,50,280.5000,280.500,+0.00000
0,30.0,60.0,-100,279.0000,279.000,+0.00000
0,30.0,120.0,-400,276.0000,276.000,+0.00000
0,30.0,180.0,-550,274.5000,274.500,+0.00000
0,30.0,240.0,-400,276.0000,276.000,+0.00000
0,30.0,300.0,-100,279.0000,279.000,+0.00000
0,60.0,0.0,-1000,270.0000,270.000,+0.00000
0,60.0,60.0,-1150,268.5000,268.500,+0.00000
0,60.0,120.0,-1450,265.5000,265.500,+0.00000
0,60.0,180.0,-1600,264.0000,264.000,+0.00000
0,60.0,240.0,-1450,265.5000,265.500,+0.00000
0,60.0,300.0,-1150,268.5000,268.500,+0.00000
6,-60.0,0.0,-850,271.5000,271.500,+0.00000
6,-60.0,60.0,-1000,270.0000,270.000,+0.00000
6,-60.0,120.0,-1300,267.0000,267.000,+0.00000
6,-60.0,180.0,-1450,265.5000,265.500,+0.00000
6,-60.0,240.0,-1300,267.0000,267.000,+0.00000
6,-60.0,300.0,-1000,270.0000,270.000,+0.00000
6,-30.0,0.0,200,282.0000,282.000,+0.00000
6,-30.0,60.0,50,280.5000,280.500,+0.00000
6,-30.0,120.0,-250,277.5000,277.500,+0.00000
6,-30.0,180.0,-400,276.0000,276.000,+0.00000
6,-30.0,240.0,-250,277.5000,277.500,+0.00000
6,-30.0,300.0,50,280.5000,280.500,+0.00000
6,0.0,0.0,1250,292.5000,292.500,+0.00000
6,0.0,60.0,1100,291.0000,291.000,+0.00000
6,0.0,120.0,800,288.0000,288.000,+0.00000
6,0.0,180.0,650,286.5000,286.500,+0.00000
6,0.0,240.0,800,288.0000,288.000,+0.00000
6,0.0,300.0,1100,291.0000,291.000,+0.00000
6,30.0,0.0,200,282.0000,282.000,+0.00000
122 lines total — download for the full file.

Specifications

Rows
120
Columns
7
Shows
stored int16, unpacked value, original value, quantisation error
Max Quantisation Error
0.005 K

Testing contract

Reference control
Scenario
Unpack every cell of the paired NetCDF file and compare the result against the unpacked_kelvin column.
Expected result
Each unpacked value matches to four decimals and every quantisation_error_kelvin magnitude is at most 0.005 K, the half-step of a 0.01 K scale factor.

What is a .csv file?

CSV (Comma-Separated Values) is a plain-text tabular format where rows are lines and fields are separated by commas, with quoting rules for values that contain delimiters, quotes, or newlines. It has no formal type system and depends on encoding and dialect conventions. It is the most portable format for tabular data exchange.

How to use this file

Use an example CSV to test parsers against quoting and embedded-delimiter edge cases, header handling, encoding detection, and import pipelines into databases or spreadsheets.

How to use this file for testing

“Packed NetCDF — Unpacked Ground Truth (.csv)” is a deterministic Novus Examples fixture for Scientific data, Conversion testing, Editor 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: 120 rows · 7 columns. 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.

Code examples

import pandas as pd

df = pd.read_csv("packed-scale-offset-unpacked.csv")
print(df.head())
print(df.dtypes)

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