Skip to content

File specification (mosaic)

Product version 0.2 · 17 November 2026. The format of the merged Nepal + Central Asia + Kazakhstan snow product delivered to the data gateway. It was first sent with the samples requested in the gateway agreement (draft v0.5), and everything below was read back from the delivered objects on S3 on 16 November 2026, not from the code.

Summary

Topic Answer
Coverage Nepal + Central Asia + Kazakhstan on one 500 m grid. IFS HRES 0.1° (9 km) control, 00Z and 12Z, 80 × 3 h steps to +240 h (0.25° until the switch completes).
Runoff meaning rof is total runoff: snowmelt plus rain, including rain on snow-free ground. It is the same quantity the Nepal gateway feed (deprecated) exports as rof.
Reanalysis lag Day D is complete on S3 on D+7 by 03:00 UTC (typically ~02:00; within ~30 min of a late ERA5). The limit is ERA5T: Google ARCO publishes day D at D+6 00:10–01:40 UTC, and day D needs D+1 00:00.
Uploaded history Matches the model. 2025-09-01 → 2026-11-09 (870 files) was rerun from the saved forcing and reproduces the files exactly (max difference 0). 2026-11-04 forcing came from the CDS; see Revisions.
Completion When its manifest exists. Promise: init + 12 h (00Z by 12:00 UTC, 12Z by 00:00 UTC) on the 0.1° forecast. On 0.25° it was init + 10 h; measured 2026-11-17 00Z at 08:21 UTC.

Object keys

Bucket snow-model-data-source, prefix joel-snow-model-mosaic/.

reanalysis/param={swe,rof}/run_date=YYYYMMDD/{param}_YYYYMMDD.nc
forecasts/param={swe,rof}/run_date=YYYYMMDD/run_hour={0,12}/{param}_YYYYMMDD_HHz.nc
manifests/reanalysis/YYYYMMDD.json
manifests/forecasts/YYYYMMDDHH.json

run_date + run_hour is the IFS initialisation (forecast) or the UTC calendar day (reanalysis). The same layout as the Nepal gateway, with run_hour limited to 0 and 12.

Complete-upload detection

A unit (one reanalysis day or one forecast cycle) is complete only when its manifest exists. The manifest is written last, after both files have been uploaded and checked on S3 (head_object size equals the local file). Ingest rule: list manifests/, ingest any unit whose manifest is new or whose md5/revision changed.

{
 "kind": "forecasts",
 "id": "2026111300",
 "complete": true,
 "files": [
  {"param": "swe", "key": "joel-snow-model-mosaic/forecasts/param=swe/run_date=20261113/run_hour=0/swe_20261113_00z.nc",
   "size": 357191821, "md5": "3d52128bff5686553a5dc893059bed7d", "revision": 1},
  {"param": "rof", "key": "joel-snow-model-mosaic/forecasts/param=rof/run_date=20261113/run_hour=0/rof_20261113_00z.nc",
   "size": 201598980, "md5": "41a00138114cbcb672aaca0baf78fcbd", "revision": 1}
 ],
 "written": "2026-11-16T16:32:36Z"
}

Reanalysis manifests are identical with "kind": "reanalysis" and "id": "YYYYMMDD". A data file without a manifest is in transit or failed: do not ingest it.

Recovery of missed ingests

  • Nothing is overwritten except by a revision (below), so a missed unit can be ingested late from the same key.
  • Reanalysis is kept from 2025-09-01 onwards. Forecast cycles are kept 14 days by run_date, then deleted with their manifests.
  • A gateway outage of up to 14 days therefore loses nothing: list the manifests and ingest what is missing.

Grid

Item Value
CRS WGS 84 geographic; crs variable, grid_mapping_name = latitude_longitude
Size lat 7124 × lon 11577 (float32 cell centres)
lat ascending, 25.004314 → 56.997660, step 0.004491555°
lon 38.001241 → 89.995514, step 0.004491558°
Extent 38–90 E, 25–57 N
Lattice The live Nepal gateway grid extended outwards by whole cells. Nepal's 966 × 1923 grid is exactly lat[273:1239], lon[9315:11238] of the mosaic, so existing Nepal HRU cell indices carry over by that offset.
Domains nepal, casnow (Central Asia), kaz; overlaps resolved in that priority order

Variables and encoding

swe rof
Meaning snow water equivalent, state at the time stamp runoff total over [t, t+3 h): snowmelt + rain
units mm mm (per 3-hour interval, not a rate)
cell_methods time: point time: sum
standard_name lwe_thickness_of_surface_snow_amount none (no CF name for total runoff from snowpack and ground)
Bounds none time_bnds (time, nv=2)
Packing int16, scale_factor 1.0 → 1 mm steps int16, scale_factor 0.1 → 0.1 mm steps
_FillValue −32768 −32768

Both: zlib level 5 + shuffle, chunks (all steps, 256, 256), Conventions CF-1.5. The chunking suits crop-and-read-all-steps; read a whole file in row bands (e.g. 256 rows), not one step at a time.

Missing values. Cells outside every domain are _FillValue (decoded NaN). The valid-cell mask is identical in every file and step (23,123,040 valid cells), so a cell is never missing in one step and valid in the next. Missing is never encoded as 0; 0 is a real value (no snow, no runoff).

Time

All times UTC; stamps are window starts. Time units are hours since D 00:00 for a reanalysis day and hours since <init> for a forecast (e.g. hours since 2026-11-08T12:00:00), so a forecast's stored time values are its lead hours 0 … 237 (proleptic Gregorian). time_convention is instant for swe and window start for rof.

Reanalysis day D Forecast cycle (init I)
Steps 8: D 00:00, 03:00 … 21:00 80: I+0 h, I+3 h … I+237 h
swe states at 00:00 … 21:00 states at I+0 … I+237 h. +240 h is not included.
rof intervals [00, 03) … [21, 24) intervals [I+0, I+3) … [I+237, I+240): the full 240 h
Lead time — the stored time value (hours since init)

Forecast files carry forecast_reference_time (e.g. 2026-11-13T00:00:00Z) and forecast_reference_cycle (2026111300) as global attributes.

Beyond +144 h. IFS open data are 3-hourly to +144 h and 6-hourly from +150 h to +240 h. The forcing is built hourly: each 6-hourly precipitation total is spread evenly over its six hours (totals preserved), and state variables such as temperature are interpolated linearly. FSM runs hourly throughout, so the 3-hour grid stays uniform to +240 h. After +144 h the two 3-hour halves of each 6-hour IFS step share one precipitation rate.

How history and forecasts join

  • Reanalysis: ERA5T → TPS2 downscaling → FSM1, run hourly from the season start.
  • Forecast: continues the same snowpack. Each cycle starts from the reanalysis model state at the reanalysis boundary B (the latest complete ERA5 day). It bridges B+1 → init with IFS (the first day of recent inits, then archived IFS days), then runs the 240-hour forecast.
  • So swe at forecast +0 is the model state at init, not an observation. It will differ from the reanalysis value for the same hour once that is published, because the bridge used IFS forecasts instead of ERA5.
  • Forward-fill flag: if the bridge ever has to repeat weather because no IFS data exist for some hour, the file's comment says BRIDGE FORWARD-FILLED and names the domain. It does not happen silently. The 2026-11-16 00Z test cycle bridged 2026-11-11 → init entirely from IFS.
  • Between the reanalysis end (≈ today − 7 d) and the latest init lie about six days. The 14-day forecast retention covers stitching them from the first steps of successive cycles, if the gateway does that.

Season reset (1 September)

Each hydrological year cold-starts on 1 September 00:00 UTC: SWE is set to 0 and the model restarts. Files from 31 August and 1 September come from different runs, so swe is discontinuous at that instant (residual summer snow and firn are dropped). Global attribute season_start records this. The current season started 2026-09-01.

Revisions and provenance

  • Global attribute revision (int) and the manifest's per-file revision start at 1. A reprocessed unit is re-uploaded to the same key with revision + 1 and a new manifest (new md5, written). History is not otherwise changed.
  • We do not plan routine reprocessing. ERA5T rarely differs from final ERA5; if it does, any days we reprocess are announced and carry a new revision.
  • 2026-11-04: Google ARCO-ERA5 is missing specific humidity at 700 hPa for that day, so its forcing came from the Copernicus CDS (checked against ARCO on the neighbouring hours: no time shift, mean |ΔT| 0.04–0.06 K, precipitation within 0.5 %). Those files carry a forcing_note attribute.
  • 2026-11-16 re-upload: every delivered file was re-uploaded with the attributes in this specification (rof long_name, standard_name, provenance). Data values are unchanged and revision stays 1, but the md5 values differ from any copy ingested before 2026-11-16.

Provenance attributes in every file: product_version, tps2_version, exporter_version, date_created, revision, history, source, domains, status (test), glacier_mask (none), season_start. Files exported before 2026-11-16 say not recorded for the two version fields.

Delivery schedule

Unit Runs Typical Complete on S3 (promise)
Reanalysis day D D+7 as soon as ERA5 is published (polled every 10 min from 00:00 UTC), retry 14:30 ≈ 02:00 D+7 03:00 UTC
Forecast 00Z when ECMWF has the full 0.1° cycle (~09:35), polled every 10 min ≈ 10:20 12:00 UTC (I + 12 h)
Forecast 12Z same, ~21:35 ≈ 22:20 00:00 UTC (I + 12 h)

A forecast cycle is tried up to three times. A cycle that cannot be produced is missing (no manifest); it is never replaced by an older cycle under the new key. Failures raise an alarm on our operations dashboard.

Current limitations (test status)

  • status = test: no glacier mask yet; Kazakhstan runs without data assimilation.
  • Snow depth (hs) is not delivered.
  • On S3 now: reanalysis 2025-09-01 → 2026-11-10; forecast cycles 2026-11-08 12Z, 2026-11-09 00Z, 2026-11-13 00Z, 2026-11-16 00Z and 12Z, 2026-11-17 00Z. The daily service has run unattended since 2026-11-16 evening.