Skip to content

Specifications

The documents in this directory are the normative contract for what Xue writes and what every reader must accept. They win over the code, over the developer documentation (contribution/) and over any comment. They are licensed under CC BY 4.0; the code is MIT / Apache-2.0 and the published data keeps its sources' terms (see the README). They are also published at https://xue.ringsaturn.me/docs/spec/.

DocumentSpecifies
zarr-profile.mdThe Zarr v3 store a bundle is published as, the series companion, the polar store, the column store: what is published today, so read this first
bundle.mdWhat every bundle carries: the metadata JSON (schemaVersion 1–4), the codebooks and the residual arithmetic
format.mdThe legacy .xue container (v1, v2) that runs published before the stores still carry
schemas/The JSON Schemas (draft 2020-12) normative for shape: the manifest, bundle metadata v3, a store’s group and array documents, the pointer and the point products’ files
stac.mdThe STAC catalog: layout, run Items, source Collections, point products, the showcase
registry.mdThe registry document: the variables, bundles and sources an encoder builds, the closed sets of rules it names
encoder.mdThe native encoder and its parity rule with the reference encoder
sources.mdWhat each source publishes: variables, grids, axes, caveats
tc.md, airport.md, sounding.md, synop.md, aq.md, alerts.md, nexrad.mdThe point and single-site radar products: pointer, index, files, schemaVersion
fire.mdThe active fire product: FIRMS detections aggregated hourly, pointer, index, sensor files
river.mdRiver flow in a showcase case: the river/ directory, the network and gauge kinds
satellite.mdGeostationary imagery and its composites
indicators.mdThe agriculture indicators: crop-area-weighted daily quantities per forecast run, appended to monthly files read by byte range
metrics.mdThe run metrics: when each forecast run went live, measured from the publish workflows
api.mdThe data API (experimental)

From the viewer to its specification

In the viewerShowsSpecified in
/gfs, /sflux, /ecmwf, /ifs, /aifs, /ifshres, /arpege, /cmageps, /cfsGlobal forecastssources.md, zarr-profile.md
/hrrr, /rrfs, /woofnam, /iconeuRegional forecastssources.md
/gefsaero, /cmadust, /silamAerosol, dust and air-quality forecastssources.md
/mrms, /jma, /hkonowcast, /cwaRadar and precipitation nowcasts, rolling windowssources.md
/himawari, /himawarijp, /goeseast, /goeswest, /meteosatGeostationary imagery and its compositessatellite.md
/auroraThe aurora forecastsources.md
/showcaseHistorical cases, some with river flow or firesstac.md, river.md, fire.md
/typhoon, /tc/Tropical cyclone tracks, forecasts and track errorstc.md
/airports/One page per airport: METAR and TAFairport.md
?stations=snd,apt,syn,aq,fire,alerts on any mapSoundings, airports, surface and air-quality stations, fires, warningssounding.md, airport.md, synop.md, aq.md, fire.md, alerts.md
?radar=<site> on /mrmsOne WSR-88D site’s sweepnexrad.md
/compareEvery live model at one pointsources.md
/workbenchA GFS run along a line or at a point: section, sounding, time-heightzarr-profile.md (the column store)
/metricsWhen each run went livemetrics.md
/apiA console for the data APIapi.md

Versions

Every artifact carries its own version, none tied to a code release.

ArtifactWritten todayRead
Bundle metadata (schemaVersion)31 to 3
Container (FixedHeader.version)2, only when a build asks (--xue)1 and 2
Manifestschema 55; unknown fields ignored
Live pointerschema 11
Zarr store (zarr_format)33
STAC (stac_version)1.1.0—
Point products (schemaVersion, one per product)see each documentup to the one a reader implements
Indicators (schemaVersion)22
Run metrics (schemaVersion)11

Compatibility

  • A reader keeps every version it has ever read. Published runs, rounds and cases are never rebuilt, so a version once published stays readable.
  • An optional new field (a widening) does not change a version: readers ignore fields they do not know. A widening reaches the readers (the shell, the API) before the first data that carries it.
  • A change a current reader could misread is a new version number. Readers reject a version above the one they implement, so a reader that knows the new version is deployed before the first data in it, and the old version keeps being read.
  • Nothing is removed from a specification. A retired artifact (the container) stays specified for the files that exist.

How these are built, tested and released is in contribution/; why the format looks as it does, in contribution/architecture-rationale.md.

Changes to these documents are listed in CHANGELOG.md.