H9dP V1 — cyclone pressure deficit from six Himawari scans
Five fold models that estimate the pressure deficit dP (hPa), the difference between environmental pressure POCI and the storm centre pressure, from six Himawari AHI scans.
The weights run in C++20 with no Python, no GPU and no deep-learning runtime. Code, evaluation protocol and analysis live in the GitHub repository WFZ7789/H9dP; this repository only ships the binaries.
- Code and docs: https://github.com/WFZ7789/H9dP
- Model report:
docs/V1/README.md - Release analysis (ranking, calibration, limits):
docs/V1/RELEASE_ANALYSIS.md - C++ interface and acceptance:
docs/V1/CPP_INFERENCE.md
What it is
| Input | 1–6 frames, each 4 HSD/DAT bands: B08 (6.2 µm), B09 (6.9 µm), B10 (7.3 µm), B16 (13.3 µm), plus the storm centre in degrees |
| Window | 500 × 500 native pixels around the centre; polar sampling on 18 radii (1–228 px) × 96 azimuths |
| Descriptors | 2060 numbers per frame: eye 320, eyewall 400, inner–outer difference 320, azimuthal harmonics 288, angular motion 60, sector temperature 672 |
| Output | dP in hPa, one scalar per record |
| Files | fold0.v1m … fold4.v1m; pass all five, they are averaged with equal weight |
This is not a neural network. Each file stores a kernel expansion over the 436 training records of one fold: a Matérn-3/2 dual expansion per descriptor group and time statistic, plus Gaussian splines, a linear term and two frame-set sequence kernels. That is why a fold is 32 MB and why per-record cost scales with the training set size.
All four bands are water-vapour or upper-level channels. The model never observes surface pressure; it reads storm organisation — eye clarity, eyewall ring, cold-cloud structure, azimuthal asymmetry and rotation rate — and maps that to dP.
Usage
Requirements: a C++20 compiler, CMake ≥ 3.16 and zlib. BZip2 is optional and only enables
.DAT.bz2 input. Tested with gcc 14.2.0 and CMake 3.31.6.
cmake -S inference -B build -DCMAKE_BUILD_TYPE=Release
cmake --build build -j
# LAT LON fold0..4.v1m -- then four files per frame, band order is arbitrary
build/inference_best_cli 25.3 126.9 fold0.v1m fold1.v1m fold2.v1m fold3.v1m fold4.v1m \
-- B08.BIN B09.BIN B10.BIN B16.BIN ... up to six frames
#include "inference_best.hpp"
h9dp::InferenceBest model({"/models/fold0.v1m", "/models/fold1.v1m", "/models/fold2.v1m",
"/models/fold3.v1m", "/models/fold4.v1m"});
std::vector<h9dp::HimawariScan> scans = {
{{"B08.DAT", "B09.DAT", "B10.DAT", "B16.DAT"}, std::nullopt},
{{"B08b.DAT", "B09b.DAT", "B10b.DAT", "B16b.DAT"}, std::nullopt},
};
double dp = model.predict(scans, {25.3, 126.9}); // hPa
Behaviour worth knowing:
predictisconst; concurrent calls on one loaded model are safe.- The files are little-endian IEEE-754 only; a host that fails this is rejected at compile time.
|latitude| ≤ 90,|longitude| ≤ 360. The DAT header carries no storm centre, so the centre is a required argument.- With fewer than six frames the available frames are used, and every frame must then carry a
distinct time. Errors are thrown as
std::exception.
Measured accuracy
Record-level five-fold cross-validation, project seed 1, 546 real Himawari records, every record predicted exactly once, target is the MOTIS analysis dP. All out-of-fold predictions pooled before the RMSE is computed. Units hPa.
| Group | Records | RMSE | MAE | Bias |
|---|---|---|---|---|
| All | 546 | 8.901 | 6.830 | −0.015 |
| Good | 211 | 6.932 | 5.509 | −0.458 |
| Fair | 223 | 9.650 | 7.431 | +1.011 |
| Poor | 112 | 10.503 | 8.125 | −1.223 |
Good/Fair/Poor are MOTIS eye-clarity tags (median eye size 88 / 16 / 4 pixels), not dP bands.
C++ against the Python reference: maximum absolute difference 6.2 × 10⁻⁶ hPa over the 546 cached records and over 329 records decoded end to end from DAT, which is FP32/FP64 rounding. Reference machine (Intel Core Ultra 7 265KF): model load ≈ 83 ms warm, 39 ms per record for the five-fold regression, ≈ 86 ms to decode and describe 24 R304 files, ≈ 125 ms per record total.
Limitations
- The target is an analysis product. dP comes from MOTIS; centre pressure is derived as
round(POCI − dP, 1). The 8.901 hPa figure contains label uncertainty and is not evidence that central pressure is reproduced to that level. - Development evaluation, not independent observations. 546 records from a limited number of storms and one geostationary series. Real generalization is still untested.
- Errors are compressed towards the mean. Fitted bias is +15.3 hPa for dP < 30 (5 records), +11.0 for 30–40 (14), +0.1 for 60–80 (191) and −3.5 for dP ≥ 80 (202). Weak systems are over-called, very strong systems under-called. Absolute error: median 5.5, p90 14.3, max 38.8.
- Fold models are not interchangeable. Fold RMSE spans 7.61–9.98 hPa; the spread between the five files is a usable uncertainty proxy, and their average is not better than the headline for every record.
- Ranking headroom is small. Six published variants lie within 0.37 hPa and are not separated by a paired bootstrap over the 546 records. Do not read 8.901 as a win over 8.9.
Do not re-fit these files. They are exported posteriors, not training checkpoints.
Provenance
| Item | Value |
|---|---|
| Project seed | 1 (fixed for the whole project) |
| Training records | 546 records, 6 frames × 4 bands each |
| Features | features.npz, sha256 9e8a3e12c0b92f23d244e4422d437c4e504560ea317c19917a6ac6b01f02dc9a |
| Source metadata | all_meta.json, sha256 0a7c520aeb1d6b276a665babc1f6b47a556bae4331f708ee6625a32399b63f1a |
| dP catalogue | MOTIS_cyclone_records.json, sha256 6efde7e63df41611ddf3cc8291801a5ef8e1cd073e112050b8b5c069cadec142 |
| Code revision | 949d67f (2026-11-22), inference/ unchanged since |
| Reference device | NVIDIA RTX 5080, PyTorch 2.13.0+cu132 (training only) |
| File | Bytes | sha256 |
|---|---|---|
fold0.v1m |
32,009,844 | dbe45fea405292265bc968297458d2f290fa98f6f97d89c736566a494222afa4 |
fold1.v1m |
32,082,476 | c4b03037e5b6cae3eb2ba43aafe4b02106ef846e5a65d99ebb468fa66307104a |
fold2.v1m |
32,082,476 | 269180964c008fc0fd647ce1429cd7486dc563c3f84db72ec5a7bd4a32ad75ae |
fold3.v1m |
32,082,476 | bbb270a16bdf717f745e50660f33b97fbdd901d62a8a9724c4d77c6e43e47dc8 |
fold4.v1m |
32,082,476 | 83a4d50425fbea1db2c1849aa2749ca68fc16f4d6164964af3df2cfa6c28f10d |
File magic is H9V1MOD1; a file produced by a different revision fails the version check
instead of being silently reinterpreted.
License and attribution
The model files and this card are released under CC0 1.0 Universal (see LICENSE);
no rights reserved. The source code in the GitHub repository is distributed under 0BSD.
The weights were fitted from JMA/MSC Himawari-8/9 Level 1b imagery and from MOTIS cyclone records. No raw imagery or archive is redistributed here. Anyone reusing the weights or their outputs remains responsible for the terms of those upstream sources.
Citation
@misc{h9dp_v1_2026,
title = {H9dP V1: cyclone pressure deficit from six Himawari scans},
author = {WFZ7789},
year = {2026},
note = {Model weights for the C++ inference library},
url = {https://github.com/WFZ7789/H9dP}
}