euler314 commited on
Commit
c13dca2
·
verified ·
1 Parent(s): de08e9d

Upgrade compact README, model guide and topic-based reference

Browse files
Files changed (3) hide show
  1. README.md +17 -2
  2. docs/REFERENCE.md +121 -122
  3. models/trackformer_1_2_field/README.md +106 -63
README.md CHANGED
@@ -43,8 +43,13 @@ Pressure uses **134 starts / 40 storms / 2,637 common valid records**, a subset
43
 
44
  ## Run a forecast
45
 
 
 
46
  ```bash
47
  python -m pip install -r requirements.txt
 
 
 
48
  python models/trackformer_1_2_field/predict.py causal_issue_packet.npz forecast.npz --device mps
49
  ```
50
 
@@ -52,6 +57,12 @@ Download [weights.pt](https://huggingface.co/euler314/typhoon-predict/resolve/ma
52
 
53
  Inference-weight SHA-256: `db49f36e85a3766defc4c172746897a1f783705d1ce8e6f9dfb8e87ae1d902cb`.
54
 
 
 
 
 
 
 
55
  ## Train and inspect
56
 
57
  The **[single 106-page PDF](docs/TrackFormer_1.2_Training_and_Reproducibility.pdf)** contains the complete available data process, architecture, active losses, sampler, optimizer, curriculum, validation, checkpoint/resume behavior, records and reproduction commands, plus 40 original text-source/provenance files and an embedded exact-source ZIP.
@@ -60,7 +71,7 @@ The original training code remains in `training/trackformer_1_2/`. Exact arrays,
60
 
61
  The selected report checkpoint is epoch 4; epoch 2 has the minimum saved validation loss. Its recorded 4,384 optimizer updates are compatible with effective batch 16 under the published four-epoch sampler, while the archived notebook recipe uses batch 10. The PDF distinguishes that inference from the missing original argv/runtime and raw IBTrACS snapshot ID. No bitwise full retraining is claimed.
62
 
63
- ## Repository guide
64
 
65
  | Location | Contents |
66
  | --- | --- |
@@ -70,8 +81,12 @@ The selected report checkpoint is epoch 4; epoch 2 has the minimum saved validat
70
  | `release_tools/` | Export, benchmark, plotting and publication utilities |
71
  | `docs/` | Training PDF, one reference document, figures and one archived documentation snapshot |
72
 
73
- ## Reuse, contribution and limits
74
 
75
  Project code and weights use [MIT](LICENSE), including commercial use, modification and redistribution. Downloads are public and ungated. Upstream weather data retain their own attribution/terms. [Licensing and openness](docs/REFERENCE.md#openness-md) · [Contribution guide](docs/REFERENCE.md#contributing-md) · [Citation](CITATION.cff).
76
 
 
 
 
 
77
  This is a research release, not an operational warning service. The approximately 20 km core is learned reconstruction, not new native observations. Released 1.2 has no rainfall head or humidity input; auxiliary wind and pressure-derived radius diagnostics are not validated agency-equivalent surface-wind forecasts. Follow official warnings for safety-critical decisions.
 
43
 
44
  ## Run a forecast
45
 
46
+ Prepare a causal input packet using the [model guide](models/trackformer_1_2_field/README.md), then run from the repository root:
47
+
48
  ```bash
49
  python -m pip install -r requirements.txt
50
+ curl --fail --location \
51
+ "https://huggingface.co/euler314/typhoon-predict/resolve/main/models/trackformer_1_2_field/weights.pt" \
52
+ --output models/trackformer_1_2_field/weights.pt
53
  python models/trackformer_1_2_field/predict.py causal_issue_packet.npz forecast.npz --device mps
54
  ```
55
 
 
57
 
58
  Inference-weight SHA-256: `db49f36e85a3766defc4c172746897a1f783705d1ce8e6f9dfb8e87ae1d902cb`.
59
 
60
+ ## How the forecast is connected
61
+
62
+ ![Released model architecture](docs/trackformer_1_2_architecture.svg)
63
+
64
+ Nine historical weather analyses initialize a basin state and a moving pressure core. Both evolve during the six-hour rollout; the reported position and central pressure are read from the same core. Exported arrays retain the matching coordinates and support masks.
65
+
66
  ## Train and inspect
67
 
68
  The **[single 106-page PDF](docs/TrackFormer_1.2_Training_and_Reproducibility.pdf)** contains the complete available data process, architecture, active losses, sampler, optimizer, curriculum, validation, checkpoint/resume behavior, records and reproduction commands, plus 40 original text-source/provenance files and an embedded exact-source ZIP.
 
71
 
72
  The selected report checkpoint is epoch 4; epoch 2 has the minimum saved validation loss. Its recorded 4,384 optimizer updates are compatible with effective batch 16 under the published four-epoch sampler, while the archived notebook recipe uses batch 10. The PDF distinguishes that inference from the missing original argv/runtime and raw IBTrACS snapshot ID. No bitwise full retraining is claimed.
73
 
74
+ ## Find what you need
75
 
76
  | Location | Contents |
77
  | --- | --- |
 
81
  | `release_tools/` | Export, benchmark, plotting and publication utilities |
82
  | `docs/` | Training PDF, one reference document, figures and one archived documentation snapshot |
83
 
84
+ ## Open access and contribution
85
 
86
  Project code and weights use [MIT](LICENSE), including commercial use, modification and redistribution. Downloads are public and ungated. Upstream weather data retain their own attribution/terms. [Licensing and openness](docs/REFERENCE.md#openness-md) · [Contribution guide](docs/REFERENCE.md#contributing-md) · [Citation](CITATION.cff).
87
 
88
+ Fork the repository or submit an issue/pull request with the exact model/data revision and relevant checks. Preserve causal inputs, masks, and matched evaluation support.
89
+
90
+ ## Scope and limits
91
+
92
  This is a research release, not an operational warning service. The approximately 20 km core is learned reconstruction, not new native observations. Released 1.2 has no rainfall head or humidity input; auxiliary wind and pressure-derived radius diagnostics are not validated agency-equivalent surface-wind forecasts. Follow official warnings for safety-critical decisions.
docs/REFERENCE.md CHANGED
@@ -1,41 +1,55 @@
1
- # TrackFormer reference
2
- Detailed protocols, source notices and historical release explanations are consolidated here. For the complete training method, read the [single training PDF](TrackFormer_1.2_Training_and_Reproducibility.pdf). Executable code, arrays, masks and measured scores retain their existing paths.
3
- The source documents below were preserved before consolidation. Their former file paths identify provenance; time-sensitive operational counts are snapshots, not fresh status checks. Source-level training/design notes are reproduced in the PDF. The exact pre-cleanup Markdown files are retained in [one ZIP](archive/documentation-before-consolidation-20261030.zip) and immutable Git history.
4
- For the current comparison use the main README and saved benchmark JSON. Individual historical sections can describe different cohorts or revisions; consolidation does not relabel those values as a new matched result.
5
- ## Contents
6
- - [CONTRIBUTING.md](#contributing-md)
7
- - [OPENNESS.md](#openness-md)
8
- - [RELEASE_NOTES_TRACKFORMER_1_2.md](#release-notes-trackformer-1-2-md)
9
- - [docs/automatic_forecasts.md](#docs-automatic-forecasts-md)
10
- - [docs/daily_storm_benchmark.md](#docs-daily-storm-benchmark-md)
11
- - [docs/deepmind_daily_benchmark.md](#docs-deepmind-daily-benchmark-md)
12
- - [docs/intensity_benchmark.md](#docs-intensity-benchmark-md)
13
- - [docs/repository_layout.md](#docs-repository-layout-md)
14
- - [docs/research_report_zh.md](#docs-research-report-zh-md)
15
- - [docs/showcase_archive.md](#docs-showcase-archive-md)
16
- - [docs/trackformer_1_2_evaluation.md](#docs-trackformer-1-2-evaluation-md)
17
- - [evaluation/README.md](#evaluation-readme-md)
18
- - [models/trackformer_1_2_field/WIND_ESTIMATION.md](#models-trackformer-1-2-field-wind-estimation-md)
19
- - [release_tools/STORM_STRUCTURE_DIAGNOSTICS.md](#release-tools-storm-structure-diagnostics-md)
20
- - [training/trackformer_1_2/THIRD_PARTY_NOTICES.md](#training-trackformer-1-2-third-party-notices-md)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
21
 
22
 
23
  <a id="contributing-md"></a>
24
 
25
- ## CONTRIBUTING.md
26
 
27
- # Contributing to TrackFormer
28
 
29
  Anyone may inspect, fork, modify and retrain the public release under its MIT license. No contributor agreement or account approval is required to download or use the code and weights. Submitting a GitHub pull request requires your own GitHub account; local use does not.
30
 
31
- ## Reproduce first
32
 
33
  1. Follow `training/trackformer_1_2/README.md` and pin the asset revision from `PUBLICATION.md`.
34
  2. Verify dataset/checkpoint SHA-256 values before changing anything. Keep original weights and source artifacts unchanged and write experiments into new output directories.
35
  3. Use `--preflight` for the archive/architecture check and `test_training_cpu.py` for the portable CPU loss/backward check. These reconstruct a writable local mmap, so use your own data copy rather than an active trainer's directory.
36
  4. For pressure export changes, use the existing `release_tools/test_pressure_field_export.py` checks as applicable. There is no requirement to run the full multi-hour training job for a documentation correction.
37
 
38
- ## Share a change
39
 
40
  Open an issue or pull request at https://github.com/yu314-coder/typhoon-predict . Explain the problem, changed behavior, exact model/data revision and relevant checks. Document new dependencies and retain third-party notices. Never commit credentials, private data or unrelated large caches. New project contributions should use the existing MIT license; third-party material must keep its own license and attribution.
41
 
@@ -43,16 +57,15 @@ For scientific claims, preserve issue-time causal inputs and whole-storm partiti
43
 
44
  The MIT license permits broad reuse; scientific review criteria apply to what this repository accepts or claims, not to your permission to fork or experiment independently.
45
 
46
-
47
  <a id="openness-md"></a>
48
 
49
- ## OPENNESS.md
50
 
51
- # Open access and reuse
52
 
53
  TrackFormer 1.2 is publicly accessible without account approval, a download gate, a paid API or Google Drive permissions. Project code and project model weights/checkpoints are distributed under the [MIT license](../LICENSE). You may use, study, modify, retrain, redistribute, sublicense and sell copies, including commercial use, subject to retaining the required copyright and permission notice. No research-only or non-commercial restriction is added by this project. The research/safety cautions describe capability limits; they do not replace or narrow the MIT license.
54
 
55
- ## What is public
56
 
57
  | Component | Public location |
58
  | --- | --- |
@@ -68,22 +81,21 @@ TrackFormer 1.2 is publicly accessible without account approval, a download gate
68
 
69
  Large arrays and optimizer checkpoints are hosted on Hugging Face and linked from GitHub, rather than duplicated in ordinary Git history. Downloads are standard public HTTPS; the asset downloader uses Python's standard library, verifies exact hashes and requires no token. Training/inference still require the documented open-source runtime dependencies. There is no hosted-service dependency in the published training launcher.
70
 
71
- ## Upstream data terms
72
 
73
  NOAA/IBTrACS and Copernicus/ERA5 data retain their own provenance, attribution and applicable upstream terms. The project's MIT license cannot remove third-party conditions. See [the source notices](TrackFormer_1.2_Training_and_Reproducibility.pdf) and [data provenance](TrackFormer_1.2_Training_and_Reproducibility.pdf). The root `license: mit` metadata describes project software and model artifacts, not a blanket relicensing of all weather data.
74
 
75
- ## What is not claimed
76
 
77
  The frozen derived arrays and their exact hashes are public, but the original raw IBTrACS snapshot/download ID was not recorded. A complete original runtime lockfile, original process argv and earlier warm-start training history have not been recovered. The archived recipe and warm-start checkpoint make the released v173 path runnable; bitwise full retraining across devices has not been demonstrated. The report selects epoch 4, while the saved aggregate validation-loss minimum is epoch 2. Previously inspected tests and examples are development evidence, not an untouched holdout.
78
 
79
  Public availability is not a claim that every earlier 1.2 experiment or later rainfall experiment is this released model. No unavailable artifact, qualification result or score is invented to claim complete reproducibility. These remaining gaps stay visible so others can audit and improve the release.
80
 
81
-
82
  <a id="release-notes-trackformer-1-2-md"></a>
83
 
84
- ## RELEASE_NOTES_TRACKFORMER_1_2.md
85
 
86
- # Trackformer 1.2 — pressure-field research model
87
 
88
  **Documentation clarification (18 October 2026):** the current [English model page](../README.md) and [Chinese research explanation](#docs-research-report-zh-md) follow the research report's released-1.2 scope, household-computer goal, day-1–5 chart and three typhoon examples. Route uses 270 storms / 1,473 starts; the JMA pressure comparison uses 40 of those storms / 134 starts / 2,637 common valid records. The report's R34 panels are observations, not model radius forecasts, and Taiwan rainfall remains separate ongoing research. This updates documentation and existing figure copies only; weights, neural source and benchmark arrays are unchanged. Earlier release history below is retained as an archive.
89
 
@@ -91,7 +103,7 @@ Public availability is not a claim that every earlier 1.2 experiment or later ra
91
 
92
  Trackformer 1.2 forecasts Western Pacific storm tracks, central pressure and evolving sea-level-pressure fields through +120 hours. A multiscale environmental-attention network conditions the moving pressure core; track and central pressure are read from that evolving field.
93
 
94
- ## Direct detailed pressure-map output
95
 
96
  The current package exports all twenty six-hour leads with:
97
 
@@ -113,7 +125,7 @@ The core's 20-km spacing is a learned computational reconstruction, not new nati
113
 
114
  Inference weight SHA-256: `db49f36e85a3766defc4c172746897a1f783705d1ce8e6f9dfb8e87ae1d902cb`.
115
 
116
- ## Matched development results
117
 
118
  | Measure | 1.1 | 1.2 mean of 50 | DeepMind Mini, one member | Matched coverage |
119
  | --- | ---: | ---: | ---: | --- |
@@ -129,12 +141,11 @@ The [model announcement](https://github.com/yu314-coder/typhoon-predict) include
129
 
130
  This is a research model, not an operational warning service or a safety-critical forecast. Trackformer 1.1 remains a separate release. No historical archive, media, benchmark predictions or training run is modified by this exporter update.
131
 
132
-
133
  <a id="docs-automatic-forecasts-md"></a>
134
 
135
- ## docs/automatic_forecasts.md
136
 
137
- # Automatic 1.2 forecast archive
138
 
139
  The existing repository runs the released Python checkpoint on **GitHub-hosted
140
  CPU runners**, not on a visitor's browser or the owner's Mac. Every hour at
@@ -243,7 +254,7 @@ The Weather Lab API merges these results with its existing verified archive.
243
  The GitHub Pages website can use the same public History API. A cache miss or
244
  source outage remains explicit; no future observation is substituted as forecast.
245
 
246
- ## Playback and scale
247
 
248
  The History player defaults to Western Pacific and orders storms by formation
249
  time (first observed record), newest first. Its issue-time slider advances in
@@ -279,12 +290,11 @@ A measured basin-field sequence used 44,311 bytes with lossless gzip: about
279
  Git history and existing outputs. These are single-sample storage estimates,
280
  not fixed quotas or guaranteed total sizes.
281
 
282
-
283
  <a id="docs-daily-storm-benchmark-md"></a>
284
 
285
- ## docs/daily_storm_benchmark.md
286
 
287
- # Daily forecasts, equal-storm benchmark
288
 
289
  Status: **complete** at 2026-09-29T08:22:39Z. All **1,473 daily cases / 270 storms** finished; the SHA-256 of every saved forecast was verified. [Final equal-storm results and all 270 storm scores](../evaluation/daily_storm_final.json).
290
 
@@ -296,7 +306,7 @@ On 1 October, `release_tools/build_release_benchmark.py` independently rechecked
296
 
297
  The [completed WeatherNext Cyclones Mini comparison](#docs-deepmind-daily-benchmark-md) now covers exactly the same 1,473 starts / 270 storms. Mini's combined mean track error is 498.4 km, direction error 39.76°, and JMA pressure MAE 10.20 hPa on 134 shared intensity starts. Its recent-only mean track error is 288.5 km versus 477.2 km for 1.2. The [independent three-way publication audit](../evaluation/deepmind_daily/publication_audit.json) rechecks the CUDA archive, unchanged original Trackformer arrays and recomputed common-support scores; the older 1 October receipt remains the audit of the original two-model snapshot, not a hash receipt for the subsequently merged JSON. No older benchmark's DeepMind score has been transferred into this comparison.
298
 
299
- ## What counts as a case and a score
300
 
301
  One case is one typhoon at one issue time on one UTC day. Choose the earliest eligible issue on that day, once per typhoon. Each forecast predicts all 20 six-hour leads, +6 through +120 h, from information at or before issue time.
302
 
@@ -304,7 +314,7 @@ For position error, daily score = mean of the 20 lead errors; storm score = mean
304
 
305
  Direction error, route-shape similarity, Fréchet distance and path similarity remain separate metrics. Their definitions match the [evaluation notes](#docs-trackformer-1-2-evaluation-md); direction uses only common non-stationary leads. Missing direction scores are reported, not replaced by zero. There is no invented combined weighted quality mark.
306
 
307
- ## Frozen cohort
308
 
309
  - 270 distinct storms, 1,473 daily issue cases, selected from 523 locally eligible storms.
310
  - All 40 eligible recent storms beginning in 2024 or later, plus 230 historical storms selected at evenly spaced positions in the chronological 1980–1999 storm list.
@@ -315,7 +325,7 @@ Direction error, route-shape similarity, Fréchet distance and path similarity r
315
 
316
  Requiring complete five-day truth excludes short remaining lifetimes. This is a declared coverage limitation, not an all-storm operational sample. Historical cases are retrospective hindcasts from a model trained on later years; reanalysis and best-track issue states do not establish real-time data availability. This cohort has not been certified untouched across all earlier experiments.
317
 
318
- ## Models and input boundaries
319
 
320
  Trackformer **1.2** uses the unchanged released checkpoint and 50 independently seeded, smooth input-perturbation members. Seeds are `2043 + source_row * 100 + member_id`, with member IDs 0–49. Normalized perturbation amplitudes remain 0.025 for basin history and 0.015 for regional history. These are not learned latent samples or 50 separate trained models. Member routes and central pressures are averaged; physical fields are averaged on fixed common geographic grids. Missing native regional inputs retain the model's missing-detail mask.
321
 
@@ -323,20 +333,19 @@ Trackformer **1.1** uses the released causal weighted route builder with issue,
323
 
324
  Future weather/track/pressure are used for eligibility coverage and scoring only, never inference. No retraining, coefficient tuning, new weather downloads or checkpoint substitution occurs in this run.
325
 
326
- ## Pressure and failures
327
 
328
  For the original 1.2 run, central-pressure MAE uses valid labels and cosine-area-weighted basin MSLP MAE uses the native basin grid, daily then equally per storm. Keep pressure label coverage visible. The separate native-pressure follow-up uses a paired mask for both models at each agency's exact valid times; it does not substitute its smaller coverage into all-storm track results. Regional/core field scores need their own valid coverage and are not implied by basin-wide error. No same-cohort 1.1 basin-field score is claimed.
329
 
330
  Completed daily forecasts are saved atomically with hashes. A nonfinite forecast or source mismatch stops the run visibly rather than silently deleting the case. Resume skips completed cases without rerunning them. Partial aggregate scores include only fully completed storms, identify their counts, and must not be presented as the final 270-storm result. Final uncertainty should resample whole storms, not overlapping daily issues independently.
331
 
332
-
333
  <a id="docs-deepmind-daily-benchmark-md"></a>
334
 
335
- ## docs/deepmind_daily_benchmark.md
336
 
337
- # Completed WeatherNext Cyclones Mini daily benchmark
338
 
339
- ## Model and frozen plan
340
 
341
  **Complete and verified:** all **1,473 daily forecasts / 270 Western Pacific storms** finished on an **NVIDIA GeForce RTX 3070 using JAX CUDA in Windows/WSL**. The final worker audit is dated **4 October 2026, 12:55 UTC**. Publication independently rechecked all returned case hashes, physical grids, unchanged Trackformer reference arrays and exact common-support scores. No new inference was performed during this review.
342
 
@@ -351,7 +360,7 @@ The reference is Google's official [WeatherNext Cyclones Mini](https://github.co
351
  - CUDA protocol SHA-256: `91b31582f24ffdd4f2309eddb0cc68498a2c31cab7cbabaf06f43dfbff413606`.
352
  - Runtime: JAX/JAXlib 0.4.38, Python 3.12.3, highest float32 matmul precision, TF32 disabled.
353
 
354
- ## Results
355
 
356
  | Matched development metric | Trackformer 1.1 | Trackformer 1.2 · mean of 50 | Mini · one member | Coverage |
357
  | --- | ---: | ---: | ---: | --- |
@@ -366,7 +375,7 @@ The reference is Google's official [WeatherNext Cyclones Mini](https://github.co
366
 
367
  Pressure measures central-pressure intensity, not map-grid error. The lower USA curve count excludes flat/short curves; it is not zero-filled. All three models' pressure-curve case IDs were verified equal for each agency. DeepMind geographic path/Fréchet scores and whole-storm confidence intervals are not supplied by this export and remain unavailable.
368
 
369
- ### Historical and recent groups
370
 
371
  | Period | Daily starts / storms | Mean track error · 1.1 / 1.2 / Mini, km | Direction error · 1.1 / 1.2 / Mini, degrees |
372
  | --- | --- | --- | --- |
@@ -377,7 +386,7 @@ Mini has better recent-only track scores even though 1.2 has lower position/head
377
 
378
  [Full results, period breakdowns and per-lead track errors](../evaluation/deepmind_daily/benchmark.json) · [Shared snapshot and existing 1.1/1.2 uncertainty](../evaluation/released_daily/released_daily_benchmark.json) · [Completion receipt](../evaluation/deepmind_daily/verification.json) · [Independent review](../evaluation/deepmind_daily/publication_audit.json)
379
 
380
- ### Strict forecast-date partition and separate charts
381
 
382
  All three README charts—total, strict `<2024` and strict `>2024`—use **`WeatherNextCyclones_Mini_<2024`**, the same official checkpoint trained through 2023, software v0.3.0, native 1° and one CUDA member. A post-2024 forecast is not a post-2024-trained model. The following proportions refer to this evaluation cohort, not the model's training dataset.
383
 
@@ -402,7 +411,7 @@ python release_tools/plot_model_announcement.py
402
 
403
  The helper checks the exact archive hash against the existing publication audit and every one of the 1,473 case-score JSON hashes against the frozen manifest. It rechecks identities, causal-time metadata, CUDA completion and common pressure masks, reproduces the original total and period scores, then recomputes only the UTC subsets using the unchanged equal-storm aggregation. It never rewrites the original worker export, changes a forecast array or claims a new raw-input audit. Chart sidecars identify their derivative source hash, checkpoint, period, exact values and missing-data policy.
404
 
405
- ## Like-for-like scoring
406
 
407
  All three models use the frozen starts, exact future label times and original issue-relative kilometre projection. Routes are unshifted. Direction is recomputed on **common moving steps across truth and all three models**, not compared using different masks.
408
 
@@ -412,7 +421,7 @@ Average valid leads within an issue, days within a storm, then storms equally. P
412
 
413
  The official six-hour direct tracker uses a frozen initialized-storm continuity policy: no cyclogenesis, no dissipation pruning and no nearby-cyclone pruning. This is disclosed rather than called the operational default. Native 1° WP MSLP grids are saved in physical hPa; cyclone-head central pressure is not the basin-grid minimum.
414
 
415
- ## Execution and verification
416
 
417
  The original [Mac CPU runner and scoring definitions](../release_tools/deepmind_daily_benchmark.py) provided the frozen plan. The completed run used the separately pinned, resumable RTX 3070 CUDA package; the old CPU launch instructions are not the execution record of these results. The [frozen CUDA protocol](../evaluation/deepmind_daily/protocol.json), [2,946-file case manifest](../evaluation/deepmind_daily/case-manifest.json) and [CPU/CUDA canary](../evaluation/deepmind_daily/canary.json) identify the completed run.
418
 
@@ -433,17 +442,16 @@ Completed scores are also exposed by the existing [public benchmark API](https:/
433
 
434
  The returned worker's `benchmark.json` is retained byte-for-byte for its audit hashes. Its `published_to_site: false` and `integration_note` describe the handoff before import, not the current benchmark status. The completed CUDA receipt, independent publication audit and shared public snapshot above are the current completion/publication evidence; those historical worker fields do not mean the comparison is unfinished.
435
 
436
-
437
  <a id="docs-intensity-benchmark-md"></a>
438
 
439
- ## docs/intensity_benchmark.md
440
 
441
- # Matched daily intensity benchmark
442
 
443
  Completed GPU inference and verified aggregation on 1 October 2026 (Taipei).
444
  The released weights, original forecasts and original calibration are unchanged.
445
 
446
- ## Same hierarchy as track
447
 
448
  The plan is the frozen 270-storm / 1,473-daily-issue track cohort. One storm on
449
  one UTC day is one case, at its earliest eligible issue. Forecast errors at
@@ -461,7 +469,7 @@ with future observations or relabeled as zero error. Thus the result shares
461
  the **method and planned cohort** of track, but does not claim the same valid
462
  intensity coverage. Missing future observations also remain unavailable.
463
 
464
- ## Model identity and inference
465
 
466
  1.2 is the released checkpoint SHA-256
467
  `f194a23d3f91ea76ad776dfad942fabd669eeae8b3fd665815463095367e9ee0`.
@@ -481,7 +489,7 @@ Expert count/activation is preserved in each case receipt; this is not a
481
  future labels are loaded separately for scoring. The two systems' input
482
  pipelines differ: this is not an architecture-controlled ablation.
483
 
484
- ## Native observation definitions
485
 
486
  - Central pressure: exact storm SID and valid UTC; native `USA_PRES` and
487
  `TOKYO_PRES` are scored separately, in hPa, on a common mask for each agency.
@@ -501,7 +509,7 @@ component, then equally across available quadrant components, then across
501
  days within storm and equally across storms. Coverage differs by threshold;
502
  all counts are printed. Observational RMW has reporting/provisional limitations.
503
 
504
- ## Curve comparison, analogous to route direction and shape
505
 
506
  The released Site defaults to **central-pressure MAE**, with slight descriptive mean improvements (JMA 13.53 / 12.84 hPa; USA 12.84 / 12.55 hPa, for 1.1 / 1.2) and paired uncertainty including zero. Its secondary **similarity** view is the exact complement of the shape-error metric below: `(1 + centred cosine) / 2 = 1 − shape_error`. This is a presentation transform, not a new fit or score. JMA similarity is 0.7074 / 0.7118 on 40 storms and 134 starts; USA similarity is 0.7237 / 0.6637 on 40 storms and 131 non-flat starts. Unshifted physical hPa timelines remain visible separately. The public snapshot includes every input-eligible pressure timeline.
507
 
@@ -528,7 +536,7 @@ storm aggregation. Uncertainty uses 2,000 whole-storm bootstrap replicates
528
  with seed 4712, not overlapping issue resampling. Paired 1.2-minus-1.1
529
  differences and their intervals are included in the full JSON report.
530
 
531
- ## Results and honest boundaries
532
 
533
  USA pressure MAE: 1.1 **12.84** vs 1.2 **12.55 hPa**. JMA pressure MAE:
534
  **13.53** vs **12.84 hPa**. Auxiliary wind diagnostic MAE: **16.98** vs
@@ -544,7 +552,7 @@ were required by the inherited cohort. This is not untouched generalization,
544
  an operational comparison or proof of no overfitting. Scientific safety and
545
  wind/radius definition limitations apply to all illustrated examples.
546
 
547
- ## Files and reproduction
548
 
549
  [Verified aggregate and per-storm metrics](../evaluation/intensity/intensity_final.json)
550
  · [Chart verification receipt](../evaluation/intensity/verification.json)
@@ -570,16 +578,15 @@ The runner locks one process and resumes immutable completed cases. It never
570
  silently restarts training. Large original forecasts/raw members remain on D;
571
  public reports include exact source hashes and complete verified aggregates.
572
 
573
-
574
  <a id="docs-repository-layout-md"></a>
575
 
576
- ## docs/repository_layout.md
577
 
578
- # Current repository layout
579
 
580
  The current source tree is focused on the selected pressure-field **Trackformer 1.2** release. The implementation remains at `models/trackformer_1_2_field/`; module filenames such as `v165_base.py` are required architecture dependencies, not unused legacy files. They and their source hashes have not been changed.
581
 
582
- ## Cleanup on 29 September 2026
583
 
584
  Removed from the current branch:
585
 
@@ -591,20 +598,19 @@ Moved current benchmark figures, metrics and plot data from `paper/` into `evalu
591
 
592
  The 1.1-versus-1.2 comparison arrays, TIP diagnostic, current paper, weights, model source hashes and release tags are retained. No local research checkpoints, running benchmark, Hugging Face files or historical release assets were deleted by this source-tree cleanup.
593
 
594
- ## Recovery
595
 
596
  The complete pre-cleanup repository remains in [commit 459a3d014aa4794652ceba3ecdffcde0beada2cd](https://github.com/yu314-coder/typhoon-predict/tree/459a3d014aa4794652ceba3ecdffcde0beada2cd). The [Trackformer 1.1 release](https://github.com/yu314-coder/typhoon-predict/releases/tag/trackformer-1.1) remains available. This cleanup does not rewrite Git history.
597
 
598
- ## Released 1.2 training
599
 
600
  `training/trackformer_1_2/` contains the original training source, launch wrapper, requirements, historical preparation tools, configuration, hashes and public asset downloader. Large arrays and optimizer checkpoints live at the identical Hugging Face path and are referenced from GitHub.
601
 
602
-
603
  <a id="docs-research-report-zh-md"></a>
604
 
605
- ## docs/research_report_zh.md
606
 
607
- # TrackFormer 1.2 中文研究說明
608
 
609
  **作品名稱:訓練AI模型探討西北太平洋氣壓系統影響臺灣附近颱風的預測評估**
610
 
@@ -612,13 +618,13 @@ The complete pre-cleanup repository remains in [commit 459a3d014aa4794652ceba3ec
612
 
613
  [GitHub 程式與研究紀錄](https://github.com/yu314-coder/typhoon-predict) · [Hugging Face 模型](https://huggingface.co/euler314/typhoon-predict) · [即時預測頁](https://trackformer-weatherlab.rudin-euler-8253.chatgpt.site/live) · [English overview](../README.md)
614
 
615
- ## 研究動機與目標
616
 
617
  - 以一般家用電腦可訓練、可執行為目標,讓個人及學生能參與天氣預測研究。
618
  - 建立預測西北太平洋氣壓圖的 AI 模型,再從同一預測氣壓取得颱風路徑與中心氣壓。
619
  - 結合不同高度的水平風,提供研究東北風、西南風與颱風周圍氣流變化的基礎。本次成果評分以路徑與氣壓為主,並非已證明季風預測改善。
620
 
621
- ## 研究設備與器材
622
 
623
  | 設備或工具 | 實際用途與範圍 |
624
  | --- | --- |
@@ -630,7 +636,7 @@ The complete pre-cleanup repository remains in [commit 459a3d014aa4794652ceba3ec
630
  | Matplotlib | 繪製氣壓、路徑、曲線與長條圖。 |
631
  | XeLaTeX、xeCJK | 中文報告排版。 |
632
 
633
- ## 資料來源與分配
634
 
635
  | 資料 | 模型實際使用的內容 |
636
  | --- | --- |
@@ -649,7 +655,7 @@ The complete pre-cleanup repository remains in [commit 459a3d014aa4794652ceba3ec
649
 
650
  同一颱風保持在同一分組;跨越分組界線的資料片段不使用。資料的平均值與變動範圍只由訓練組計算。後來取得的 2026 年資料不表示發布模型重新訓練到 2026 年。[來源與檔案檢查](TrackFormer_1.2_Training_and_Reproducibility.pdf)。
651
 
652
- ## 模型如何預測與訓練
653
 
654
  1. 輸入起報前兩天至起報時刻的資料,每六小時一筆,共 **9 筆**,搭配當時的颱風位置、強度、先前移動與固定地形。
655
  2. 分別計算周圍氣壓、水平風與颱風中心附近氣壓的變化,再一起更新六小時後的狀態。
@@ -659,13 +665,13 @@ The complete pre-cleanup repository remains in [commit 459a3d014aa4794652ceba3ec
659
 
660
  模型有 21,452,595 ���參數,中心氣壓計算網格為 65×65、約 20 公里。這是計算與重建間距,不是新取得的 20 公里原生觀測。兩天是本次模型固定的輸入設計,尚未以相同條件比較一天、兩天及三天,不能說兩天已被證明最佳。[完整技術輸入與輸出](../models/trackformer_1_2_field/README.md)。
661
 
662
- ### 為什麼有 50 組預測
663
 
664
  報告使用**同一組模型參數**,只在正規化後的歷史天氣加入 50 組不同的小幅、平滑、平均為零的雜訊,再取平均。環境與區域資料的雜訊幅度分別為 0.025、0.015,平滑範圍分別為 5、9 格;幅度是正規化單位,並非直接加上相同數字的百帕。颱風起報位置、移動、強度、地形與有效性標記不變,原始觀測和模型參數也不修改。
665
 
666
  路徑與中心氣壓分別平均;氣壓地圖則先把各組結果放到相同經緯度,再平均。這**不是訓練 50 個模型**,也未證明 50 組是最佳數量、一定優於單次預測,或其分散程度已是可靠的不確定性範圍。
667
 
668
- ## 多個颱風的比較
669
 
670
  路徑使用 **270 個颱風、1,473 次起報**,比較每六小時、未來五天的預測。先平均一次起報內各時間的有效誤差,再平均同一颱風的起報,最後讓每個颱風具有相同權重。
671
 
@@ -688,11 +694,11 @@ The complete pre-cleanup repository remains in [commit 459a3d014aa4794652ceba3ec
688
 
689
  這組開發評估的平均路徑及移動方向誤差較低,中心氣壓誤差則以比較模型較低。全組包含 230 個 1980–1999 年颱風及 40 個較近期颱風;歷史年份與比較模型的訓練期間重疊。只看 2025–2026 年起報的 18 個颱風、61 次起報,DeepMind 輕量版路徑誤差為 258.7 公里,TrackFormer 為 469.4 公里。已反覆查看的案例屬開發證據,不是全新、未使用的測試,不能由全組平均推論普遍優於 DeepMind。[原始完成數據與流程](#docs-deepmind-daily-benchmark-md)。
690
 
691
- ## 三個颱風展示
692
 
693
  三案皆以相同發布模型的 50 組預測平均展示。氣壓圖比較 +48 小時、相同座標及色階下的模型與 **NCEP 參考氣壓**,採 2.5 度共同網格;NCEP 仍為分析資料,不因圖中文字簡化而變成測站觀測。路徑與中心氣壓保留全部 +6 至 +120 小時,以 IBTrACS/日本氣象廳紀錄對照,不搬移預測低壓來配合實況。
694
 
695
- ### 鳳凰(Fung-wong,2025)
696
 
697
  起報:**2025-11-07 00 UTC**。使用保存的 Metal 結果。
698
 
@@ -702,7 +708,7 @@ The complete pre-cleanup repository remains in [commit 459a3d014aa4794652ceba3ec
702
 
703
  ![鳳凰IBTrACS觀測34節風圈半徑,非模型預測](report_figures/fung_wong_observed_r34.png)
704
 
705
- ### 山竹(Mangkhut,2018)
706
 
707
  起報:**2018-09-11 00 UTC**。使用保存的 Metal 結果;位於訓練年份內,為回溯展示。
708
 
@@ -712,7 +718,7 @@ The complete pre-cleanup repository remains in [commit 459a3d014aa4794652ceba3ec
712
 
713
  ![山竹IBTrACS觀測34節風圈半徑,非模型預測](report_figures/mangkhut_observed_r34.png)
714
 
715
- ### 燕子(Jebi,2018)
716
 
717
  起報:**2018-08-31 00 UTC**。相同發布權重在 CPU 執行的 50 組預測;未重新訓練,也未使用起報以後的天氣輸入。位於訓練年份內,為回溯展示。
718
 
@@ -724,7 +730,7 @@ The complete pre-cleanup repository remains in [commit 459a3d014aa4794652ceba3ec
724
 
725
  三張風圈圖均是 **IBTrACS 的 34 節四方向觀測半徑,不是本模型半徑預測**。左為 +48 小時四方向最大範圍,右為五日紀錄;海里乘以 1.852 換成公里,缺值保留空白。扇形不是完整風場。發布模型沒有原生風圈半徑預測頭。[圖片雜湊與來源](report_figures/provenance.json)。
726
 
727
- ## 結論、成果特色與後續研究
728
 
729
  - **研究結論:**以家用電腦可訓練、可執行為核心目標,完成五日氣壓、颱風路徑及中心氣壓的整合流程,並可在一般 Mac 電腦執行預測與評估。
730
  - **同一套預測:**地圖、路徑與中心氣壓來自同一模型結果,可相互對照。
@@ -733,22 +739,21 @@ The complete pre-cleanup repository remains in [commit 459a3d014aa4794652ceba3ec
733
  - **應用:**提供個人及學生進行氣象學習、歷史颱風比較與地圖展示的研究工具。這不是取代官方警報的作業預報服務。
734
  - **持續研究:**結合臺灣島外風向、水氣輸送與地形,研究一般降雨和強降雨的分布,並以降雨觀測另行評估。**發布的 1.2 不包含降雨預測頭或水氣輸入**,本段不是已完成的降雨準確度成果。
735
 
736
-
737
  <a id="docs-showcase-archive-md"></a>
738
 
739
- ## docs/showcase_archive.md
740
 
741
- # Forecast examples and diagnostics
742
 
743
  The [model announcement](../README.md) features the geographically registered moving-core Mangkhut (2018) forecast. Its 50-member arrays and replay/playback receipts are linked there. These are development illustrations, not representative or untouched-test evidence.
744
 
745
- ## Current research-report figures
746
 
747
  The [Chinese report explanation](#docs-research-report-zh-md) contains the current **Fung-wong (2025), Mangkhut (2018) and Jebi (2018)** pressure-map, five-day route/central-pressure and observed-radius panels. The day-1–5 bar chart compares released 1.2 with DeepMind Mini only, using unchanged saved scores. [Figure hashes and source identities](report_figures/provenance.json).
748
 
749
  The report's radius figures are **IBTrACS observed R34 quadrant records, not model predictions**. The pressure reference remains NCEP analysis, with a common 2.5° comparison grid and no shifted forecasts. Mangkhut and Jebi are in the training years; the examples are retrospective demonstrations, not additional untouched validation. Older films and experimental radius diagnostics below keep their original provenance and should not be confused with these report figures.
750
 
751
- ## Additional films
752
 
753
  These earlier 50-member films retain a fixed issue-relative regional pressure patch. When the centre leaves it, only the saved coarse basin field covers that position. They use 4 hPa isobars and 23-second playback with a held ending; do not confuse them with the current moving-core Mangkhut rendering. Their original model outputs remain preserved.
754
 
@@ -756,7 +761,7 @@ These earlier 50-member films retain a fixed issue-relative regional pressure pa
756
  - [Soudelor (2015), 5 August 00 UTC](https://huggingface.co/euler314/typhoon-predict/resolve/87a6e366b42bb4cc0edc95d2c50c55fca21a2c93/docs/trackformer_1_2_soudelor.mp4) · [provenance](../evaluation/release_data/soudelor_video.json)
757
  - [Meranti (2016), 10 September 00 UTC](https://huggingface.co/euler314/typhoon-predict/resolve/87a6e366b42bb4cc0edc95d2c50c55fca21a2c93/docs/trackformer_1_2_meranti.mp4) · [provenance](../evaluation/release_data/meranti_video.json)
758
 
759
- ## Wind and structure
760
 
761
  [Four-storm wind comparison](../evaluation/storm_structure/four_storm_wind_candidate.png) · [audit index](../evaluation/storm_structure/index.json) · [experimental structure method](#release-tools-storm-structure-diagnostics-md)
762
 
@@ -769,20 +774,19 @@ USA one-minute and JMA ten-minute winds are separate references. Native 1.1 RMW
769
  | Mangkhut | [Plot](../evaluation/storm_structure/mangkhut_wind_radius.png) | [Record](../evaluation/storm_structure/mangkhut_structure.json) |
770
  | Meranti | [Plot](../evaluation/storm_structure/meranti_wind_radius.png) | [Record](../evaluation/storm_structure/meranti_structure.json) |
771
 
772
- ## Full evaluation
773
 
774
  [Daily protocol](#docs-daily-storm-benchmark-md) · [all daily scores](../evaluation/daily_storm_final.json) · [intensity/radius protocol](#docs-intensity-benchmark-md) · [native intensity results](../evaluation/intensity/intensity_final.json) · [matched pressure curves](../evaluation/released_daily/pressure_comparison.png)
775
 
776
  Route uses 1,473 starts / 270 storms; the matched native pressure comparison uses 134 starts / 40 storms. JMA pressure MAE falls from 13.53 to 12.84 hPa, with paired uncertainty including zero. JMA curve similarity is 0.7074 / 0.7118 (1.1 / 1.2), while USA curve similarity is 0.7237 / 0.6637 on 131 eligible days—a regression. A centred shape score discards level and amplitude and must be read with physical hPa timelines, not used to conceal pressure errors.
777
 
778
-
779
  <a id="docs-trackformer-1-2-evaluation-md"></a>
780
 
781
- ## docs/trackformer_1_2_evaluation.md
782
 
783
- # Trackformer 1.2 evaluation notes
784
 
785
- ## Completed equal-storm benchmark
786
 
787
  The current comparison uses **1,473 daily forecasts across 270 Western Pacific storms**, with 20 six-hour leads from +6 through +120 h. Scores average leads within issues, daily issues within each storm, then storms equally. The completed results and all forecast SHA-256 checks are in [the final report](../evaluation/daily_storm_final.json); the [daily-storm protocol](#docs-daily-storm-benchmark-md) defines the frozen cohort and metrics.
788
 
@@ -803,7 +807,7 @@ The inherited shared-case eligibility excludes **1,339 starts with unavailable f
803
 
804
  The [report's day-1–5 chart](report_figures/day_1_to_5.png) shows **exact 24, 48, 72, 96 and 120 h** leads rather than daily-bin averages. Track covers 270 storms at each displayed lead. JMA pressure has 40, 40, 40, 40 and 39 storms, with 131, 133, 134, 133 and 127 common starts respectively. All-lead pressure totals and per-lead counts describe different aggregations. [Exact chart values](report_figures/day_1_to_5.json).
805
 
806
- ## Completed DeepMind comparison
807
 
808
  Google's official **WeatherNext Cyclones Mini `<2024`**, using **WeatherNext software v0.3.0**, completed the same **1,473 daily starts / 270 storms** on an **NVIDIA GeForce RTX 3070 with CUDA**. It is a 1° model trained through 2023. Mini is one seeded member, not the full-sized WeatherNext model; 1.2 remains a 50-member mean. The common-support results are **498.37 km** mean track error, **1031.91 km** at +120 h, **39.76°** direction error and **10.20 hPa** JMA central-pressure MAE on **134 starts / 40 storms / 2,637 valid records**. Its JMA pressure-curve similarity is **0.8088**.
809
 
@@ -811,27 +815,27 @@ Mini's recent-only mean track error is **288.5 km** versus **477.2 km** for 1.2.
811
 
812
  That **recent-only** group includes 2024. The report-facing strict **after-2024** group is different: 2025–2026, 61 starts / 18 storms, with **258.7 km Mini versus 469.4 km 1.2**. Calendar 2024 is not part of that strict subset. Do not interchange these period scores.
813
 
814
- ## Report showcases and preserved earlier records
815
 
816
  The [three report examples](#docs-research-report-zh-md) use unchanged released-1.2 weights: Fung-wong and Mangkhut are saved Metal forecasts; Jebi was run on CPU. All use 50 input-perturbed members and exact +6 to +120 h times. Mangkhut and Jebi are within the fitting years. Their R34 panels show **IBTrACS observations only**, not model radius skill. NCEP is still an analysis reference even where the figure label is simplified to “reference pressure”.
817
 
818
  Earlier release comparisons and their pressure-curve diagnostics remain in the [archived shared snapshot](../evaluation/released_daily/released_daily_benchmark.json), [full original report](../evaluation/daily_storm_final.json) and [intensity protocol](#docs-intensity-benchmark-md). They are not silently substituted for the current report's two-model table. Centred curve similarity removes level and amplitude; read it with hPa MAE, masks and original timelines rather than treating it as accurate pressure levels.
819
 
820
- ## Recent pressure-line example
821
 
822
- ### Fung-wong MP4: selected route-and-pressure example
823
 
824
  The [Fung-wong video](https://yu314-coder.github.io/typhoon-predict/trackformer_1_2_fung_wong.mp4) uses the unchanged saved 50-member pressure fields and mean route for case 262, issued 2025-11-07 00 UTC. It is a user-selected development example after inspection of full routes and pressure curves, not an untouched test or a representative sample. The geographic mean error is 130.9 km, the +120 h error is 142.3 km, and maximum error is 198.3 km over 20 leads. These are great-circle distances to exact observed coordinates, separate from the main benchmark's saved local-coordinate scores. The route follows the broad observed curve but is not perfectly overlapping.
825
 
826
  The pressure MAE is **7.36 hPa** against IBTrACS TOKYO_PRES (JMA best track), with 20 valid labels. Intensification and weakening still differ from observations. Fields are physical model means on fixed common grids, without shifting them onto the observed track. Native-detail history was unavailable; 0.25° regional output sampling is not native resolution. From +66 h the forecast centre leaves the regional patch: only saved coarse basin pressure is shown there, while member-mean central pressure remains the moving-core readout. No display-only core is added. Observed future routes and pressures are verification overlays only. [Data and provenance](../evaluation/release_data/fung_wong_video.json) record hashes and member policy. Reproduce with `python release_tools/build_fung_wong_video.py --work /path/to/frames` using NumPy, Matplotlib and ffmpeg with VideoToolbox on macOS; this renders saved outputs without model inference. The former interactive showcase has been removed.
827
 
828
- ### Recent single-member example
829
 
830
  The Surigae archive issued **2026-09-27 12 UTC** supplies real model regional MSLP fields at +6, +24 and +36 h. Isobars are drawn every 4 hPa, with selected labels every 12 hPa and one common colour scale. The magenta curve is the saved model route. Fields are neither relocated nor altered to force the map minimum onto the route. The regional map is a resampled composite and can differ slightly from central pressure sampled in the moving core.
831
 
832
  This example is one deterministic member from the released checkpoint. Inputs contain nine GFS analyses ending at 06 UTC (six hours before issue), issue-time JMA centre/central pressure, and static geography. Issue-time wind, prior motion and native regional history were unavailable and masked/zeroed. The stored +0 field is an input analysis; it is excluded from these forecast panels. The GFS transfer and input lag remain limitations. The selected leads keep the centre within the fixed 114–144°E, 11–41°N map. Names, times, member count and checkpoint/source hashes are in `evaluation/release_data/surigae_provenance.json`.
833
 
834
- ## Reproduce the benchmark chart
835
 
836
  ```bash
837
  python release_tools/plot_daily_storm_final.py
@@ -839,24 +843,23 @@ python release_tools/plot_daily_storm_final.py
839
 
840
  This plots the saved completed equal-storm results; it performs no new inference or weather retrieval. Original research arrays and reproduction tools remain preserved for provenance, but the retired smaller-cohort comparison is not presented as the current benchmark.
841
 
842
- ## Validation boundary
843
 
844
  Training used whole-storm year partitions: 2000–2021 training, 2022–2023 validation, 2024–2025 test in the original pipeline, with 13,949 / 1,041 / 1,195 windows respectively; native-pressure windows total 800 / 100 / 100. Repeatedly viewed benchmarks, TIP and calibration cases have become development evidence. Freeze a genuinely unused storm-level holdout with matched issue-time data before claiming generalization. Evaluate route, central pressure and pressure fields at every lead on common cases and masks; a lower map average alone is not a model win.
845
 
846
  The fitting sources are IBTrACS-derived storm records, NOAA PSL NCEP/NCAR basin analyses, ARCO-ERA5 regional MSLP and static ERA5 land fraction/elevation. Newer 2026 archive records are not part of the released model's gradient fitting. See [training-source documentation](TrackFormer_1.2_Training_and_Reproducibility.pdf) and [checksum-verified split receipt](../evaluation/training_data/trackformer_1_2_provenance.json).
847
 
848
-
849
  <a id="evaluation-readme-md"></a>
850
 
851
- ## evaluation/README.md
852
 
853
- # Evaluation assets
854
 
855
- ## Research-report view
856
 
857
  The current [report-facing summary](../README.md#results-in-the-research-report) and [Chinese explanation](#docs-research-report-zh-md) compare **TrackFormer 1.2 with DeepMind Mini**. Their [day-1–5 chart](report_figures/day_1_to_5.png) uses exact 24/48/72/96/120 h leads. Route covers **270 storms / 1,473 starts**; central pressure uses **40 of those storms / 134 starts / 2,637 common valid lead records**. The pressure subset follows frozen scoring eligibility, not a claim that the remaining storms lack all pressure observations. Source arrays and the larger historical archive below are unchanged.
858
 
859
- ## Full historical archive
860
 
861
  The current **completed three-model comparison** scores Trackformer 1.1, Trackformer 1.2 and Google's **WeatherNext Cyclones Mini `<2024` (software v0.3.0)** on **1,473 daily starts / 270 Western Pacific storms**, through +120 h. Mini's RTX 3070 CUDA run is complete and verified; Trackformer 1.2 is a mean of 50 members and Mini is one member.
862
 
@@ -871,16 +874,15 @@ For geographically aligned routes, compare forecasts and observations at the **s
871
 
872
  Reproduce the current three-model announcement chart from saved results with `python release_tools/plot_model_announcement.py`. This renders audited scores without new inference or weather retrieval; NumPy and Matplotlib are required. The paper is in [`../paper/`](../paper), and saved pressure arrays and preview provenance are under [`release_data/`](../evaluation/release_data).
873
 
874
- ## Archived diagnostics and selected examples
875
 
876
  Older figures, the [TIP diagnostic](../evaluation/trackformer_1_2_vs_1_1_tip_metrics.json) and [showcase selection](../evaluation/trackformer_1_2_showcase_selection.json) are preserved for provenance, not presented as the current benchmark. See the [showcase archive](#docs-showcase-archive-md) for selected pressure-map films and their limitations.
877
 
878
-
879
  <a id="models-trackformer-1-2-field-wind-estimation-md"></a>
880
 
881
- ## models/trackformer_1_2_field/WIND_ESTIMATION.md
882
 
883
- # Experimental wind and circular-radius diagnostics
884
 
885
  The frozen 1.2 weights and neural architecture are unchanged. Maximum wind is
886
  the existing learned auxiliary `vmax` output, in knots, not a resolved wind map.
@@ -927,18 +929,17 @@ validation or calibration is claimed by this implementation.
927
  References: [NOAA PaHM theory and limitations](https://noaa-ocs-modeling.github.io/PaHM/pahm_manual.pdf)
928
  and [Chavas, Reed and Knaff (2017)](https://doi.org/10.1038/s41467-017-01546-9).
929
 
930
-
931
  <a id="release-tools-storm-structure-diagnostics-md"></a>
932
 
933
- ## release_tools/STORM_STRUCTURE_DIAGNOSTICS.md
934
 
935
- # Any-storm wind and radius plots
936
 
937
  This is a local diagnostic/plotting extension. It does not change the released
938
  Trackformer 1.2 weights, existing pressure maps, videos, cloud archive, or Site.
939
  It is **not** a new validated wind/radius forecast model.
940
 
941
- ## What works
942
 
943
  - The renderer accepts any exact SID in the local Western Pacific IBTrACS file.
944
  The October 1 local snapshot contains 1,910 storms since 1970. This is an
@@ -953,7 +954,7 @@ It is **not** a new validated wind/radius forecast model.
953
  local atlas and the released WP domain. It neither downloads missing weather
954
  nor changes the independently authorized cloud backfill.
955
 
956
- ## Candidate assumptions and official definitions
957
 
958
  IBTrACS `USA_WIND` is a 1-minute reference. USA R34/R50/R64 are maximum extents
959
  in the NE/SE/SW/NW quadrants, in nautical miles; multiply by 1.852 for **radius**
@@ -1000,7 +1001,7 @@ validated. The strict scorer therefore rejects wind/radius skill claims.
1000
  Plots are exploratory reference comparisons, not a fair validated benchmark.
1001
  All four are development examples; no unused generalization holdout is claimed.
1002
 
1003
- ## Reusable commands
1004
 
1005
  Use the existing Python environment; no installation is needed. All outputs,
1006
  temporary files and Matplotlib caches must stay on `/Volumes/D`.
@@ -1036,7 +1037,7 @@ If unavailable, choose an actually reported issue after checking the catalogue.
1036
  The runner refuses duplicate issues, unsafe slugs, three-hour dates, changed
1037
  completed slugs and unsupported causal input histories.
1038
 
1039
- ## October 1 verification
1040
 
1041
  Local results: `/Volumes/D/typhoon_predict/output/all-storm-wind-radius.uSvmWY/plots`.
1042
  Fung-Wong needed a fresh 50-member MPS replay (14.33 seconds inference). Its
@@ -1051,12 +1052,11 @@ calibration only on declared whole-storm training data, freeze a genuinely unuse
1051
  storm cohort, validate surface-wind period/height and quadrant definitions, and
1052
  report errors plus failed/missing coverage for identical leads through +120 h.
1053
 
1054
-
1055
  <a id="training-trackformer-1-2-third-party-notices-md"></a>
1056
 
1057
- ## training/trackformer_1_2/THIRD_PARTY_NOTICES.md
1058
 
1059
- # Data sources and attribution
1060
 
1061
  The MIT license covers project code and project model artifacts; it does not replace upstream data terms.
1062
 
@@ -1065,4 +1065,3 @@ The MIT license covers project code and project model artifacts; it does not rep
1065
  - **Copernicus Climate Change Service (C3S), ERA5, accessed through Google's ARCO-ERA5 mirror**: native mean-sea-level-pressure patches and static land fraction/elevation. Contains modified Copernicus Climate Change Service information (2026). ERA5 hourly single-level data, doi:10.24381/cds.adbb2d47, https://cds.climate.copernicus.eu/datasets/reanalysis-era5-single-levels . The current dataset lists a CC-BY licence; attribution and upstream terms apply. ECMWF or the European Commission does not endorse this model. ARCO mirror and recipes: https://github.com/google-research/arco-era5 . The mirror's code licence is separate from the underlying meteorological data licence.
1066
 
1067
  The published arrays are transformed subsets: quantized/coarse basin grids, float16 pressure, issue-centred patches, normalized derived track features and masks. These transformations do not create new native observational resolution. No claim of endorsement by NOAA, ECMWF, C3S or Google is made.
1068
-
 
1
+ # TrackFormer 1.2 · technical reference
2
+
3
+ [Overview](../README.md) · [Model input/output guide](../models/trackformer_1_2_field/README.md) · [Complete training manual (PDF)](TrackFormer_1.2_Training_and_Reproducibility.pdf)
4
+
5
+ Use this page for scoring protocols, diagnostic assumptions, examples, data attribution and contribution guidance. The complete training explanation is in one PDF; code and machine-readable evidence retain their original paths.
6
+
7
+ ## Start here
8
+
9
+ | Task | Read |
10
+ | --- | --- |
11
+ | Run and inspect a forecast | [Input/output guide](../models/trackformer_1_2_field/README.md) |
12
+ | Understand training and reproduce it | [106-page training PDF](TrackFormer_1.2_Training_and_Reproducibility.pdf) |
13
+ | Check the measured scorecard | [Main results](../README.md#results-in-the-research-report) and [benchmark JSON](../evaluation/deepmind_daily/benchmark.json) |
14
+ | Audit retained source documents | [Archived snapshot](archive/documentation-before-consolidation-20261030.zip) and [hash inventory](archive/documentation-manifest.json) |
15
+
16
+ **Reading the historical records.** The sections below preserve protocol and release explanations from the pre-consolidation documents. Operational counts are dated snapshots, not current job status. Different historical cohorts/revisions can have different scores; do not combine them into a new comparison. Current matched results are identified in the main scorecard and its saved JSON. Original document names are shown as provenance, not additional files you must open.
17
+
18
+ ## Topics
19
+
20
+ - [Contribution workflow](#contributing-md)
21
+ - [License and public access](#openness-md)
22
+ - [Release history](#release-notes-trackformer-1-2-md)
23
+ - [Automatic forecasts and the history archive](#docs-automatic-forecasts-md)
24
+ - [Case selection and equal-storm scoring](#docs-daily-storm-benchmark-md)
25
+ - [DeepMind comparator and matched results](#docs-deepmind-daily-benchmark-md)
26
+ - [Pressure and intensity verification](#docs-intensity-benchmark-md)
27
+ - [Repository history and recovery](#docs-repository-layout-md)
28
+ - [中文研究說明](#docs-research-report-zh-md)
29
+ - [Forecast examples and diagnostic media](#docs-showcase-archive-md)
30
+ - [How to interpret the evaluations](#docs-trackformer-1-2-evaluation-md)
31
+ - [Evaluation artifact catalogue](#evaluation-readme-md)
32
+ - [Experimental wind and radius estimation](#models-trackformer-1-2-field-wind-estimation-md)
33
+ - [Plotting storm-structure diagnostics](#release-tools-storm-structure-diagnostics-md)
34
+ - [Dataset attribution and upstream terms](#training-trackformer-1-2-third-party-notices-md)
35
 
36
 
37
  <a id="contributing-md"></a>
38
 
39
+ ## Contribution workflow
40
 
41
+ *Source record: `CONTRIBUTING.md`.*
42
 
43
  Anyone may inspect, fork, modify and retrain the public release under its MIT license. No contributor agreement or account approval is required to download or use the code and weights. Submitting a GitHub pull request requires your own GitHub account; local use does not.
44
 
45
+ ### Reproduce first
46
 
47
  1. Follow `training/trackformer_1_2/README.md` and pin the asset revision from `PUBLICATION.md`.
48
  2. Verify dataset/checkpoint SHA-256 values before changing anything. Keep original weights and source artifacts unchanged and write experiments into new output directories.
49
  3. Use `--preflight` for the archive/architecture check and `test_training_cpu.py` for the portable CPU loss/backward check. These reconstruct a writable local mmap, so use your own data copy rather than an active trainer's directory.
50
  4. For pressure export changes, use the existing `release_tools/test_pressure_field_export.py` checks as applicable. There is no requirement to run the full multi-hour training job for a documentation correction.
51
 
52
+ ### Share a change
53
 
54
  Open an issue or pull request at https://github.com/yu314-coder/typhoon-predict . Explain the problem, changed behavior, exact model/data revision and relevant checks. Document new dependencies and retain third-party notices. Never commit credentials, private data or unrelated large caches. New project contributions should use the existing MIT license; third-party material must keep its own license and attribution.
55
 
 
57
 
58
  The MIT license permits broad reuse; scientific review criteria apply to what this repository accepts or claims, not to your permission to fork or experiment independently.
59
 
 
60
  <a id="openness-md"></a>
61
 
62
+ ## License and public access
63
 
64
+ *Source record: `OPENNESS.md`.*
65
 
66
  TrackFormer 1.2 is publicly accessible without account approval, a download gate, a paid API or Google Drive permissions. Project code and project model weights/checkpoints are distributed under the [MIT license](../LICENSE). You may use, study, modify, retrain, redistribute, sublicense and sell copies, including commercial use, subject to retaining the required copyright and permission notice. No research-only or non-commercial restriction is added by this project. The research/safety cautions describe capability limits; they do not replace or narrow the MIT license.
67
 
68
+ ### What is public
69
 
70
  | Component | Public location |
71
  | --- | --- |
 
81
 
82
  Large arrays and optimizer checkpoints are hosted on Hugging Face and linked from GitHub, rather than duplicated in ordinary Git history. Downloads are standard public HTTPS; the asset downloader uses Python's standard library, verifies exact hashes and requires no token. Training/inference still require the documented open-source runtime dependencies. There is no hosted-service dependency in the published training launcher.
83
 
84
+ ### Upstream data terms
85
 
86
  NOAA/IBTrACS and Copernicus/ERA5 data retain their own provenance, attribution and applicable upstream terms. The project's MIT license cannot remove third-party conditions. See [the source notices](TrackFormer_1.2_Training_and_Reproducibility.pdf) and [data provenance](TrackFormer_1.2_Training_and_Reproducibility.pdf). The root `license: mit` metadata describes project software and model artifacts, not a blanket relicensing of all weather data.
87
 
88
+ ### What is not claimed
89
 
90
  The frozen derived arrays and their exact hashes are public, but the original raw IBTrACS snapshot/download ID was not recorded. A complete original runtime lockfile, original process argv and earlier warm-start training history have not been recovered. The archived recipe and warm-start checkpoint make the released v173 path runnable; bitwise full retraining across devices has not been demonstrated. The report selects epoch 4, while the saved aggregate validation-loss minimum is epoch 2. Previously inspected tests and examples are development evidence, not an untouched holdout.
91
 
92
  Public availability is not a claim that every earlier 1.2 experiment or later rainfall experiment is this released model. No unavailable artifact, qualification result or score is invented to claim complete reproducibility. These remaining gaps stay visible so others can audit and improve the release.
93
 
 
94
  <a id="release-notes-trackformer-1-2-md"></a>
95
 
96
+ ## Release history
97
 
98
+ *Source record: `RELEASE_NOTES_TRACKFORMER_1_2.md`.*
99
 
100
  **Documentation clarification (18 October 2026):** the current [English model page](../README.md) and [Chinese research explanation](#docs-research-report-zh-md) follow the research report's released-1.2 scope, household-computer goal, day-1–5 chart and three typhoon examples. Route uses 270 storms / 1,473 starts; the JMA pressure comparison uses 40 of those storms / 134 starts / 2,637 common valid records. The report's R34 panels are observations, not model radius forecasts, and Taiwan rainfall remains separate ongoing research. This updates documentation and existing figure copies only; weights, neural source and benchmark arrays are unchanged. Earlier release history below is retained as an archive.
101
 
 
103
 
104
  Trackformer 1.2 forecasts Western Pacific storm tracks, central pressure and evolving sea-level-pressure fields through +120 hours. A multiscale environmental-attention network conditions the moving pressure core; track and central pressure are read from that evolving field.
105
 
106
+ ### Direct detailed pressure-map output
107
 
108
  The current package exports all twenty six-hour leads with:
109
 
 
125
 
126
  Inference weight SHA-256: `db49f36e85a3766defc4c172746897a1f783705d1ce8e6f9dfb8e87ae1d902cb`.
127
 
128
+ ### Matched development results
129
 
130
  | Measure | 1.1 | 1.2 mean of 50 | DeepMind Mini, one member | Matched coverage |
131
  | --- | ---: | ---: | ---: | --- |
 
141
 
142
  This is a research model, not an operational warning service or a safety-critical forecast. Trackformer 1.1 remains a separate release. No historical archive, media, benchmark predictions or training run is modified by this exporter update.
143
 
 
144
  <a id="docs-automatic-forecasts-md"></a>
145
 
146
+ ## Automatic forecasts and the history archive
147
 
148
+ *Source record: `docs/automatic_forecasts.md`.*
149
 
150
  The existing repository runs the released Python checkpoint on **GitHub-hosted
151
  CPU runners**, not on a visitor's browser or the owner's Mac. Every hour at
 
254
  The GitHub Pages website can use the same public History API. A cache miss or
255
  source outage remains explicit; no future observation is substituted as forecast.
256
 
257
+ ### Playback and scale
258
 
259
  The History player defaults to Western Pacific and orders storms by formation
260
  time (first observed record), newest first. Its issue-time slider advances in
 
290
  Git history and existing outputs. These are single-sample storage estimates,
291
  not fixed quotas or guaranteed total sizes.
292
 
 
293
  <a id="docs-daily-storm-benchmark-md"></a>
294
 
295
+ ## Case selection and equal-storm scoring
296
 
297
+ *Source record: `docs/daily_storm_benchmark.md`.*
298
 
299
  Status: **complete** at 2026-09-29T08:22:39Z. All **1,473 daily cases / 270 storms** finished; the SHA-256 of every saved forecast was verified. [Final equal-storm results and all 270 storm scores](../evaluation/daily_storm_final.json).
300
 
 
306
 
307
  The [completed WeatherNext Cyclones Mini comparison](#docs-deepmind-daily-benchmark-md) now covers exactly the same 1,473 starts / 270 storms. Mini's combined mean track error is 498.4 km, direction error 39.76°, and JMA pressure MAE 10.20 hPa on 134 shared intensity starts. Its recent-only mean track error is 288.5 km versus 477.2 km for 1.2. The [independent three-way publication audit](../evaluation/deepmind_daily/publication_audit.json) rechecks the CUDA archive, unchanged original Trackformer arrays and recomputed common-support scores; the older 1 October receipt remains the audit of the original two-model snapshot, not a hash receipt for the subsequently merged JSON. No older benchmark's DeepMind score has been transferred into this comparison.
308
 
309
+ ### What counts as a case and a score
310
 
311
  One case is one typhoon at one issue time on one UTC day. Choose the earliest eligible issue on that day, once per typhoon. Each forecast predicts all 20 six-hour leads, +6 through +120 h, from information at or before issue time.
312
 
 
314
 
315
  Direction error, route-shape similarity, Fréchet distance and path similarity remain separate metrics. Their definitions match the [evaluation notes](#docs-trackformer-1-2-evaluation-md); direction uses only common non-stationary leads. Missing direction scores are reported, not replaced by zero. There is no invented combined weighted quality mark.
316
 
317
+ ### Frozen cohort
318
 
319
  - 270 distinct storms, 1,473 daily issue cases, selected from 523 locally eligible storms.
320
  - All 40 eligible recent storms beginning in 2024 or later, plus 230 historical storms selected at evenly spaced positions in the chronological 1980–1999 storm list.
 
325
 
326
  Requiring complete five-day truth excludes short remaining lifetimes. This is a declared coverage limitation, not an all-storm operational sample. Historical cases are retrospective hindcasts from a model trained on later years; reanalysis and best-track issue states do not establish real-time data availability. This cohort has not been certified untouched across all earlier experiments.
327
 
328
+ ### Models and input boundaries
329
 
330
  Trackformer **1.2** uses the unchanged released checkpoint and 50 independently seeded, smooth input-perturbation members. Seeds are `2043 + source_row * 100 + member_id`, with member IDs 0–49. Normalized perturbation amplitudes remain 0.025 for basin history and 0.015 for regional history. These are not learned latent samples or 50 separate trained models. Member routes and central pressures are averaged; physical fields are averaged on fixed common geographic grids. Missing native regional inputs retain the model's missing-detail mask.
331
 
 
333
 
334
  Future weather/track/pressure are used for eligibility coverage and scoring only, never inference. No retraining, coefficient tuning, new weather downloads or checkpoint substitution occurs in this run.
335
 
336
+ ### Pressure and failures
337
 
338
  For the original 1.2 run, central-pressure MAE uses valid labels and cosine-area-weighted basin MSLP MAE uses the native basin grid, daily then equally per storm. Keep pressure label coverage visible. The separate native-pressure follow-up uses a paired mask for both models at each agency's exact valid times; it does not substitute its smaller coverage into all-storm track results. Regional/core field scores need their own valid coverage and are not implied by basin-wide error. No same-cohort 1.1 basin-field score is claimed.
339
 
340
  Completed daily forecasts are saved atomically with hashes. A nonfinite forecast or source mismatch stops the run visibly rather than silently deleting the case. Resume skips completed cases without rerunning them. Partial aggregate scores include only fully completed storms, identify their counts, and must not be presented as the final 270-storm result. Final uncertainty should resample whole storms, not overlapping daily issues independently.
341
 
 
342
  <a id="docs-deepmind-daily-benchmark-md"></a>
343
 
344
+ ## DeepMind comparator and matched results
345
 
346
+ *Source record: `docs/deepmind_daily_benchmark.md`.*
347
 
348
+ ### Model and frozen plan
349
 
350
  **Complete and verified:** all **1,473 daily forecasts / 270 Western Pacific storms** finished on an **NVIDIA GeForce RTX 3070 using JAX CUDA in Windows/WSL**. The final worker audit is dated **4 October 2026, 12:55 UTC**. Publication independently rechecked all returned case hashes, physical grids, unchanged Trackformer reference arrays and exact common-support scores. No new inference was performed during this review.
351
 
 
360
  - CUDA protocol SHA-256: `91b31582f24ffdd4f2309eddb0cc68498a2c31cab7cbabaf06f43dfbff413606`.
361
  - Runtime: JAX/JAXlib 0.4.38, Python 3.12.3, highest float32 matmul precision, TF32 disabled.
362
 
363
+ ### Results
364
 
365
  | Matched development metric | Trackformer 1.1 | Trackformer 1.2 · mean of 50 | Mini · one member | Coverage |
366
  | --- | ---: | ---: | ---: | --- |
 
375
 
376
  Pressure measures central-pressure intensity, not map-grid error. The lower USA curve count excludes flat/short curves; it is not zero-filled. All three models' pressure-curve case IDs were verified equal for each agency. DeepMind geographic path/Fréchet scores and whole-storm confidence intervals are not supplied by this export and remain unavailable.
377
 
378
+ #### Historical and recent groups
379
 
380
  | Period | Daily starts / storms | Mean track error · 1.1 / 1.2 / Mini, km | Direction error · 1.1 / 1.2 / Mini, degrees |
381
  | --- | --- | --- | --- |
 
386
 
387
  [Full results, period breakdowns and per-lead track errors](../evaluation/deepmind_daily/benchmark.json) · [Shared snapshot and existing 1.1/1.2 uncertainty](../evaluation/released_daily/released_daily_benchmark.json) · [Completion receipt](../evaluation/deepmind_daily/verification.json) · [Independent review](../evaluation/deepmind_daily/publication_audit.json)
388
 
389
+ #### Strict forecast-date partition and separate charts
390
 
391
  All three README charts—total, strict `<2024` and strict `>2024`—use **`WeatherNextCyclones_Mini_<2024`**, the same official checkpoint trained through 2023, software v0.3.0, native 1° and one CUDA member. A post-2024 forecast is not a post-2024-trained model. The following proportions refer to this evaluation cohort, not the model's training dataset.
392
 
 
411
 
412
  The helper checks the exact archive hash against the existing publication audit and every one of the 1,473 case-score JSON hashes against the frozen manifest. It rechecks identities, causal-time metadata, CUDA completion and common pressure masks, reproduces the original total and period scores, then recomputes only the UTC subsets using the unchanged equal-storm aggregation. It never rewrites the original worker export, changes a forecast array or claims a new raw-input audit. Chart sidecars identify their derivative source hash, checkpoint, period, exact values and missing-data policy.
413
 
414
+ ### Like-for-like scoring
415
 
416
  All three models use the frozen starts, exact future label times and original issue-relative kilometre projection. Routes are unshifted. Direction is recomputed on **common moving steps across truth and all three models**, not compared using different masks.
417
 
 
421
 
422
  The official six-hour direct tracker uses a frozen initialized-storm continuity policy: no cyclogenesis, no dissipation pruning and no nearby-cyclone pruning. This is disclosed rather than called the operational default. Native 1° WP MSLP grids are saved in physical hPa; cyclone-head central pressure is not the basin-grid minimum.
423
 
424
+ ### Execution and verification
425
 
426
  The original [Mac CPU runner and scoring definitions](../release_tools/deepmind_daily_benchmark.py) provided the frozen plan. The completed run used the separately pinned, resumable RTX 3070 CUDA package; the old CPU launch instructions are not the execution record of these results. The [frozen CUDA protocol](../evaluation/deepmind_daily/protocol.json), [2,946-file case manifest](../evaluation/deepmind_daily/case-manifest.json) and [CPU/CUDA canary](../evaluation/deepmind_daily/canary.json) identify the completed run.
427
 
 
442
 
443
  The returned worker's `benchmark.json` is retained byte-for-byte for its audit hashes. Its `published_to_site: false` and `integration_note` describe the handoff before import, not the current benchmark status. The completed CUDA receipt, independent publication audit and shared public snapshot above are the current completion/publication evidence; those historical worker fields do not mean the comparison is unfinished.
444
 
 
445
  <a id="docs-intensity-benchmark-md"></a>
446
 
447
+ ## Pressure and intensity verification
448
 
449
+ *Source record: `docs/intensity_benchmark.md`.*
450
 
451
  Completed GPU inference and verified aggregation on 1 October 2026 (Taipei).
452
  The released weights, original forecasts and original calibration are unchanged.
453
 
454
+ ### Same hierarchy as track
455
 
456
  The plan is the frozen 270-storm / 1,473-daily-issue track cohort. One storm on
457
  one UTC day is one case, at its earliest eligible issue. Forecast errors at
 
469
  the **method and planned cohort** of track, but does not claim the same valid
470
  intensity coverage. Missing future observations also remain unavailable.
471
 
472
+ ### Model identity and inference
473
 
474
  1.2 is the released checkpoint SHA-256
475
  `f194a23d3f91ea76ad776dfad942fabd669eeae8b3fd665815463095367e9ee0`.
 
489
  future labels are loaded separately for scoring. The two systems' input
490
  pipelines differ: this is not an architecture-controlled ablation.
491
 
492
+ ### Native observation definitions
493
 
494
  - Central pressure: exact storm SID and valid UTC; native `USA_PRES` and
495
  `TOKYO_PRES` are scored separately, in hPa, on a common mask for each agency.
 
509
  days within storm and equally across storms. Coverage differs by threshold;
510
  all counts are printed. Observational RMW has reporting/provisional limitations.
511
 
512
+ ### Curve comparison, analogous to route direction and shape
513
 
514
  The released Site defaults to **central-pressure MAE**, with slight descriptive mean improvements (JMA 13.53 / 12.84 hPa; USA 12.84 / 12.55 hPa, for 1.1 / 1.2) and paired uncertainty including zero. Its secondary **similarity** view is the exact complement of the shape-error metric below: `(1 + centred cosine) / 2 = 1 − shape_error`. This is a presentation transform, not a new fit or score. JMA similarity is 0.7074 / 0.7118 on 40 storms and 134 starts; USA similarity is 0.7237 / 0.6637 on 40 storms and 131 non-flat starts. Unshifted physical hPa timelines remain visible separately. The public snapshot includes every input-eligible pressure timeline.
515
 
 
536
  with seed 4712, not overlapping issue resampling. Paired 1.2-minus-1.1
537
  differences and their intervals are included in the full JSON report.
538
 
539
+ ### Results and honest boundaries
540
 
541
  USA pressure MAE: 1.1 **12.84** vs 1.2 **12.55 hPa**. JMA pressure MAE:
542
  **13.53** vs **12.84 hPa**. Auxiliary wind diagnostic MAE: **16.98** vs
 
552
  an operational comparison or proof of no overfitting. Scientific safety and
553
  wind/radius definition limitations apply to all illustrated examples.
554
 
555
+ ### Files and reproduction
556
 
557
  [Verified aggregate and per-storm metrics](../evaluation/intensity/intensity_final.json)
558
  · [Chart verification receipt](../evaluation/intensity/verification.json)
 
578
  silently restarts training. Large original forecasts/raw members remain on D;
579
  public reports include exact source hashes and complete verified aggregates.
580
 
 
581
  <a id="docs-repository-layout-md"></a>
582
 
583
+ ## Repository history and recovery
584
 
585
+ *Source record: `docs/repository_layout.md`.*
586
 
587
  The current source tree is focused on the selected pressure-field **Trackformer 1.2** release. The implementation remains at `models/trackformer_1_2_field/`; module filenames such as `v165_base.py` are required architecture dependencies, not unused legacy files. They and their source hashes have not been changed.
588
 
589
+ ### Cleanup on 29 September 2026
590
 
591
  Removed from the current branch:
592
 
 
598
 
599
  The 1.1-versus-1.2 comparison arrays, TIP diagnostic, current paper, weights, model source hashes and release tags are retained. No local research checkpoints, running benchmark, Hugging Face files or historical release assets were deleted by this source-tree cleanup.
600
 
601
+ ### Recovery
602
 
603
  The complete pre-cleanup repository remains in [commit 459a3d014aa4794652ceba3ecdffcde0beada2cd](https://github.com/yu314-coder/typhoon-predict/tree/459a3d014aa4794652ceba3ecdffcde0beada2cd). The [Trackformer 1.1 release](https://github.com/yu314-coder/typhoon-predict/releases/tag/trackformer-1.1) remains available. This cleanup does not rewrite Git history.
604
 
605
+ ### Released 1.2 training
606
 
607
  `training/trackformer_1_2/` contains the original training source, launch wrapper, requirements, historical preparation tools, configuration, hashes and public asset downloader. Large arrays and optimizer checkpoints live at the identical Hugging Face path and are referenced from GitHub.
608
 
 
609
  <a id="docs-research-report-zh-md"></a>
610
 
611
+ ## 中文研究說明
612
 
613
+ *Source record: `docs/research_report_zh.md`.*
614
 
615
  **作品名稱:訓練AI模型探討西北太平洋氣壓系統影響臺灣附近颱風的預測評估**
616
 
 
618
 
619
  [GitHub 程式與研究紀錄](https://github.com/yu314-coder/typhoon-predict) · [Hugging Face 模型](https://huggingface.co/euler314/typhoon-predict) · [即時預測頁](https://trackformer-weatherlab.rudin-euler-8253.chatgpt.site/live) · [English overview](../README.md)
620
 
621
+ ### 研究動機與目標
622
 
623
  - 以一般家用電腦可訓練、可執行為目標,讓個人及學生能參與天氣預測研究。
624
  - 建立預測西北太平洋氣壓圖的 AI 模型,再從同一預測氣壓取得颱風路徑與中心氣壓。
625
  - 結合不同高度的水平風,提供研究東北風、西南風與颱風周圍氣流變化的基礎。本次成果評分以路徑與氣壓為主,並非已證明季風預測改善。
626
 
627
+ ### 研究設備與器材
628
 
629
  | 設備或工具 | 實際用途與範圍 |
630
  | --- | --- |
 
636
  | Matplotlib | 繪製氣壓、路徑、曲線與長條圖。 |
637
  | XeLaTeX、xeCJK | 中文報告排版。 |
638
 
639
+ ### 資料來源與分配
640
 
641
  | 資料 | 模型實際使用的內容 |
642
  | --- | --- |
 
655
 
656
  同一颱風保持在同一分組;跨越分組界線的資料片段不使用。資料的平均值與變動範圍只由訓練組計算。後來取得的 2026 年資料不表示發布模型重新訓練到 2026 年。[來源與檔案檢查](TrackFormer_1.2_Training_and_Reproducibility.pdf)。
657
 
658
+ ### 模型如何預測與訓練
659
 
660
  1. 輸入起報前兩天至起報時刻的資料,每六小時一筆,共 **9 筆**,搭配當時的颱風位置、強度、先前移動與固定地形。
661
  2. 分別計算周圍氣壓、水平風與颱風中心附近氣壓的變化,再一起更新六小時後的狀態。
 
665
 
666
  模型有 21,452,595 ���參數,中心氣壓計算網格為 65×65、約 20 公里。這是計算與重建間距,不是新取得的 20 公里原生觀測。兩天是本次模型固定的輸入設計,尚未以相同條件比較一天、兩天及三天,不能說兩天已被證明最佳。[完整技術輸入與輸出](../models/trackformer_1_2_field/README.md)。
667
 
668
+ #### 為什麼有 50 組預測
669
 
670
  報告使用**同一組模型參數**,只在正規化後的歷史天氣加入 50 組不同的小幅、平滑、平均為零的雜訊,再取平均。環境與區域資料的雜訊幅度分別為 0.025、0.015,平滑範圍分別為 5、9 格;幅度是正規化單位,並非直接加上相同數字的百帕。颱風起報位置、移動、強度、地形與有效性標記不變,原始觀測和模型參數也不修改。
671
 
672
  路徑與中心氣壓分別平均;氣壓地圖則先把各組結果放到相同經緯度,再平均。這**不是訓練 50 個模型**,也未證明 50 組是最佳數量、一定優於單次預測,或其分散程度已是可靠的不確定性範圍。
673
 
674
+ ### 多個颱風的比較
675
 
676
  路徑使用 **270 個颱風、1,473 次起報**,比較每六小時、未來五天的預測。先平均一次起報內各時間的有效誤差,再平均同一颱風的起報,最後讓每個颱風具有相同權重。
677
 
 
694
 
695
  這組開發評估的平均路徑及移動方向誤差較低,中心氣壓誤差則以比較模型較低。全組包含 230 個 1980–1999 年颱風及 40 個較近期颱風;歷史年份與比較模型的訓練期間重疊。只看 2025–2026 年起報的 18 個颱風、61 次起報,DeepMind 輕量版路徑誤差為 258.7 公里,TrackFormer 為 469.4 公里。已反覆查看的案例屬開發證據,不是全新、未使用的測試,不能由全組平均推論普遍優於 DeepMind。[原始完成數據與流程](#docs-deepmind-daily-benchmark-md)。
696
 
697
+ ### 三個颱風展示
698
 
699
  三案皆以相同發布模型的 50 組預測平均展示。氣壓圖比較 +48 小時、相同座標及色階下的模型與 **NCEP 參考氣壓**,採 2.5 度共同網格;NCEP 仍為分析資料,不因圖中文字簡化而變成測站觀測。路徑與中心氣壓保留全部 +6 至 +120 小時,以 IBTrACS/日本氣象廳紀錄對照,不搬移預測低壓來配合實況。
700
 
701
+ #### 鳳凰(Fung-wong,2025)
702
 
703
  起報:**2025-11-07 00 UTC**。使用保存的 Metal 結果。
704
 
 
708
 
709
  ![鳳凰IBTrACS觀測34節風圈半徑,非模型預測](report_figures/fung_wong_observed_r34.png)
710
 
711
+ #### 山竹(Mangkhut,2018)
712
 
713
  起報:**2018-09-11 00 UTC**。使用保存的 Metal 結果;位於訓練年份內,為回溯展示。
714
 
 
718
 
719
  ![山竹IBTrACS觀測34節風圈半徑,非模型預測](report_figures/mangkhut_observed_r34.png)
720
 
721
+ #### 燕子(Jebi,2018)
722
 
723
  起報:**2018-08-31 00 UTC**。相同發布權重在 CPU 執行的 50 組預測;未重新訓練,也未使用起報以後的天氣輸入。位於訓練年份內,為回溯展示。
724
 
 
730
 
731
  三張風圈圖均是 **IBTrACS 的 34 節四方向觀測半徑,不是本模型半徑預測**。左為 +48 小時四方向最大範圍,右為五日紀錄;海里乘以 1.852 換成公里,缺值保留空白。扇形不是完整風場。發布模型沒有原生風圈半徑預測頭。[圖片雜湊與來源](report_figures/provenance.json)。
732
 
733
+ ### 結論、成果特色與後續研究
734
 
735
  - **研究結論:**以家用電腦可訓練、可執行為核心目標,完成五日氣壓、颱風路徑及中心氣壓的整合流程,並可在一般 Mac 電腦執行預測與評估。
736
  - **同一套預測:**地圖、路徑與中心氣壓來自同一模型結果,可相互對照。
 
739
  - **應用:**提供個人及學生進行氣象學習、歷史颱風比較與地圖展示的研究工具。這不是取代官方警報的作業預報服務。
740
  - **持續研究:**結合臺灣島外風向、水氣輸送與地形,研究一般降雨和強降雨的分布,並以降雨觀測另行評估。**發布的 1.2 不包含降雨預測頭或水氣輸入**,本段不是已完成的降雨準確度成果。
741
 
 
742
  <a id="docs-showcase-archive-md"></a>
743
 
744
+ ## Forecast examples and diagnostic media
745
 
746
+ *Source record: `docs/showcase_archive.md`.*
747
 
748
  The [model announcement](../README.md) features the geographically registered moving-core Mangkhut (2018) forecast. Its 50-member arrays and replay/playback receipts are linked there. These are development illustrations, not representative or untouched-test evidence.
749
 
750
+ ### Current research-report figures
751
 
752
  The [Chinese report explanation](#docs-research-report-zh-md) contains the current **Fung-wong (2025), Mangkhut (2018) and Jebi (2018)** pressure-map, five-day route/central-pressure and observed-radius panels. The day-1–5 bar chart compares released 1.2 with DeepMind Mini only, using unchanged saved scores. [Figure hashes and source identities](report_figures/provenance.json).
753
 
754
  The report's radius figures are **IBTrACS observed R34 quadrant records, not model predictions**. The pressure reference remains NCEP analysis, with a common 2.5° comparison grid and no shifted forecasts. Mangkhut and Jebi are in the training years; the examples are retrospective demonstrations, not additional untouched validation. Older films and experimental radius diagnostics below keep their original provenance and should not be confused with these report figures.
755
 
756
+ ### Additional films
757
 
758
  These earlier 50-member films retain a fixed issue-relative regional pressure patch. When the centre leaves it, only the saved coarse basin field covers that position. They use 4 hPa isobars and 23-second playback with a held ending; do not confuse them with the current moving-core Mangkhut rendering. Their original model outputs remain preserved.
759
 
 
761
  - [Soudelor (2015), 5 August 00 UTC](https://huggingface.co/euler314/typhoon-predict/resolve/87a6e366b42bb4cc0edc95d2c50c55fca21a2c93/docs/trackformer_1_2_soudelor.mp4) · [provenance](../evaluation/release_data/soudelor_video.json)
762
  - [Meranti (2016), 10 September 00 UTC](https://huggingface.co/euler314/typhoon-predict/resolve/87a6e366b42bb4cc0edc95d2c50c55fca21a2c93/docs/trackformer_1_2_meranti.mp4) · [provenance](../evaluation/release_data/meranti_video.json)
763
 
764
+ ### Wind and structure
765
 
766
  [Four-storm wind comparison](../evaluation/storm_structure/four_storm_wind_candidate.png) · [audit index](../evaluation/storm_structure/index.json) · [experimental structure method](#release-tools-storm-structure-diagnostics-md)
767
 
 
774
  | Mangkhut | [Plot](../evaluation/storm_structure/mangkhut_wind_radius.png) | [Record](../evaluation/storm_structure/mangkhut_structure.json) |
775
  | Meranti | [Plot](../evaluation/storm_structure/meranti_wind_radius.png) | [Record](../evaluation/storm_structure/meranti_structure.json) |
776
 
777
+ ### Full evaluation
778
 
779
  [Daily protocol](#docs-daily-storm-benchmark-md) · [all daily scores](../evaluation/daily_storm_final.json) · [intensity/radius protocol](#docs-intensity-benchmark-md) · [native intensity results](../evaluation/intensity/intensity_final.json) · [matched pressure curves](../evaluation/released_daily/pressure_comparison.png)
780
 
781
  Route uses 1,473 starts / 270 storms; the matched native pressure comparison uses 134 starts / 40 storms. JMA pressure MAE falls from 13.53 to 12.84 hPa, with paired uncertainty including zero. JMA curve similarity is 0.7074 / 0.7118 (1.1 / 1.2), while USA curve similarity is 0.7237 / 0.6637 on 131 eligible days—a regression. A centred shape score discards level and amplitude and must be read with physical hPa timelines, not used to conceal pressure errors.
782
 
 
783
  <a id="docs-trackformer-1-2-evaluation-md"></a>
784
 
785
+ ## How to interpret the evaluations
786
 
787
+ *Source record: `docs/trackformer_1_2_evaluation.md`.*
788
 
789
+ ### Completed equal-storm benchmark
790
 
791
  The current comparison uses **1,473 daily forecasts across 270 Western Pacific storms**, with 20 six-hour leads from +6 through +120 h. Scores average leads within issues, daily issues within each storm, then storms equally. The completed results and all forecast SHA-256 checks are in [the final report](../evaluation/daily_storm_final.json); the [daily-storm protocol](#docs-daily-storm-benchmark-md) defines the frozen cohort and metrics.
792
 
 
807
 
808
  The [report's day-1–5 chart](report_figures/day_1_to_5.png) shows **exact 24, 48, 72, 96 and 120 h** leads rather than daily-bin averages. Track covers 270 storms at each displayed lead. JMA pressure has 40, 40, 40, 40 and 39 storms, with 131, 133, 134, 133 and 127 common starts respectively. All-lead pressure totals and per-lead counts describe different aggregations. [Exact chart values](report_figures/day_1_to_5.json).
809
 
810
+ ### Completed DeepMind comparison
811
 
812
  Google's official **WeatherNext Cyclones Mini `<2024`**, using **WeatherNext software v0.3.0**, completed the same **1,473 daily starts / 270 storms** on an **NVIDIA GeForce RTX 3070 with CUDA**. It is a 1° model trained through 2023. Mini is one seeded member, not the full-sized WeatherNext model; 1.2 remains a 50-member mean. The common-support results are **498.37 km** mean track error, **1031.91 km** at +120 h, **39.76°** direction error and **10.20 hPa** JMA central-pressure MAE on **134 starts / 40 storms / 2,637 valid records**. Its JMA pressure-curve similarity is **0.8088**.
813
 
 
815
 
816
  That **recent-only** group includes 2024. The report-facing strict **after-2024** group is different: 2025–2026, 61 starts / 18 storms, with **258.7 km Mini versus 469.4 km 1.2**. Calendar 2024 is not part of that strict subset. Do not interchange these period scores.
817
 
818
+ ### Report showcases and preserved earlier records
819
 
820
  The [three report examples](#docs-research-report-zh-md) use unchanged released-1.2 weights: Fung-wong and Mangkhut are saved Metal forecasts; Jebi was run on CPU. All use 50 input-perturbed members and exact +6 to +120 h times. Mangkhut and Jebi are within the fitting years. Their R34 panels show **IBTrACS observations only**, not model radius skill. NCEP is still an analysis reference even where the figure label is simplified to “reference pressure”.
821
 
822
  Earlier release comparisons and their pressure-curve diagnostics remain in the [archived shared snapshot](../evaluation/released_daily/released_daily_benchmark.json), [full original report](../evaluation/daily_storm_final.json) and [intensity protocol](#docs-intensity-benchmark-md). They are not silently substituted for the current report's two-model table. Centred curve similarity removes level and amplitude; read it with hPa MAE, masks and original timelines rather than treating it as accurate pressure levels.
823
 
824
+ ### Recent pressure-line example
825
 
826
+ #### Fung-wong MP4: selected route-and-pressure example
827
 
828
  The [Fung-wong video](https://yu314-coder.github.io/typhoon-predict/trackformer_1_2_fung_wong.mp4) uses the unchanged saved 50-member pressure fields and mean route for case 262, issued 2025-11-07 00 UTC. It is a user-selected development example after inspection of full routes and pressure curves, not an untouched test or a representative sample. The geographic mean error is 130.9 km, the +120 h error is 142.3 km, and maximum error is 198.3 km over 20 leads. These are great-circle distances to exact observed coordinates, separate from the main benchmark's saved local-coordinate scores. The route follows the broad observed curve but is not perfectly overlapping.
829
 
830
  The pressure MAE is **7.36 hPa** against IBTrACS TOKYO_PRES (JMA best track), with 20 valid labels. Intensification and weakening still differ from observations. Fields are physical model means on fixed common grids, without shifting them onto the observed track. Native-detail history was unavailable; 0.25° regional output sampling is not native resolution. From +66 h the forecast centre leaves the regional patch: only saved coarse basin pressure is shown there, while member-mean central pressure remains the moving-core readout. No display-only core is added. Observed future routes and pressures are verification overlays only. [Data and provenance](../evaluation/release_data/fung_wong_video.json) record hashes and member policy. Reproduce with `python release_tools/build_fung_wong_video.py --work /path/to/frames` using NumPy, Matplotlib and ffmpeg with VideoToolbox on macOS; this renders saved outputs without model inference. The former interactive showcase has been removed.
831
 
832
+ #### Recent single-member example
833
 
834
  The Surigae archive issued **2026-09-27 12 UTC** supplies real model regional MSLP fields at +6, +24 and +36 h. Isobars are drawn every 4 hPa, with selected labels every 12 hPa and one common colour scale. The magenta curve is the saved model route. Fields are neither relocated nor altered to force the map minimum onto the route. The regional map is a resampled composite and can differ slightly from central pressure sampled in the moving core.
835
 
836
  This example is one deterministic member from the released checkpoint. Inputs contain nine GFS analyses ending at 06 UTC (six hours before issue), issue-time JMA centre/central pressure, and static geography. Issue-time wind, prior motion and native regional history were unavailable and masked/zeroed. The stored +0 field is an input analysis; it is excluded from these forecast panels. The GFS transfer and input lag remain limitations. The selected leads keep the centre within the fixed 114–144°E, 11–41°N map. Names, times, member count and checkpoint/source hashes are in `evaluation/release_data/surigae_provenance.json`.
837
 
838
+ ### Reproduce the benchmark chart
839
 
840
  ```bash
841
  python release_tools/plot_daily_storm_final.py
 
843
 
844
  This plots the saved completed equal-storm results; it performs no new inference or weather retrieval. Original research arrays and reproduction tools remain preserved for provenance, but the retired smaller-cohort comparison is not presented as the current benchmark.
845
 
846
+ ### Validation boundary
847
 
848
  Training used whole-storm year partitions: 2000–2021 training, 2022–2023 validation, 2024–2025 test in the original pipeline, with 13,949 / 1,041 / 1,195 windows respectively; native-pressure windows total 800 / 100 / 100. Repeatedly viewed benchmarks, TIP and calibration cases have become development evidence. Freeze a genuinely unused storm-level holdout with matched issue-time data before claiming generalization. Evaluate route, central pressure and pressure fields at every lead on common cases and masks; a lower map average alone is not a model win.
849
 
850
  The fitting sources are IBTrACS-derived storm records, NOAA PSL NCEP/NCAR basin analyses, ARCO-ERA5 regional MSLP and static ERA5 land fraction/elevation. Newer 2026 archive records are not part of the released model's gradient fitting. See [training-source documentation](TrackFormer_1.2_Training_and_Reproducibility.pdf) and [checksum-verified split receipt](../evaluation/training_data/trackformer_1_2_provenance.json).
851
 
 
852
  <a id="evaluation-readme-md"></a>
853
 
854
+ ## Evaluation artifact catalogue
855
 
856
+ *Source record: `evaluation/README.md`.*
857
 
858
+ ### Research-report view
859
 
860
  The current [report-facing summary](../README.md#results-in-the-research-report) and [Chinese explanation](#docs-research-report-zh-md) compare **TrackFormer 1.2 with DeepMind Mini**. Their [day-1–5 chart](report_figures/day_1_to_5.png) uses exact 24/48/72/96/120 h leads. Route covers **270 storms / 1,473 starts**; central pressure uses **40 of those storms / 134 starts / 2,637 common valid lead records**. The pressure subset follows frozen scoring eligibility, not a claim that the remaining storms lack all pressure observations. Source arrays and the larger historical archive below are unchanged.
861
 
862
+ ### Full historical archive
863
 
864
  The current **completed three-model comparison** scores Trackformer 1.1, Trackformer 1.2 and Google's **WeatherNext Cyclones Mini `<2024` (software v0.3.0)** on **1,473 daily starts / 270 Western Pacific storms**, through +120 h. Mini's RTX 3070 CUDA run is complete and verified; Trackformer 1.2 is a mean of 50 members and Mini is one member.
865
 
 
874
 
875
  Reproduce the current three-model announcement chart from saved results with `python release_tools/plot_model_announcement.py`. This renders audited scores without new inference or weather retrieval; NumPy and Matplotlib are required. The paper is in [`../paper/`](../paper), and saved pressure arrays and preview provenance are under [`release_data/`](../evaluation/release_data).
876
 
877
+ ### Archived diagnostics and selected examples
878
 
879
  Older figures, the [TIP diagnostic](../evaluation/trackformer_1_2_vs_1_1_tip_metrics.json) and [showcase selection](../evaluation/trackformer_1_2_showcase_selection.json) are preserved for provenance, not presented as the current benchmark. See the [showcase archive](#docs-showcase-archive-md) for selected pressure-map films and their limitations.
880
 
 
881
  <a id="models-trackformer-1-2-field-wind-estimation-md"></a>
882
 
883
+ ## Experimental wind and radius estimation
884
 
885
+ *Source record: `models/trackformer_1_2_field/WIND_ESTIMATION.md`.*
886
 
887
  The frozen 1.2 weights and neural architecture are unchanged. Maximum wind is
888
  the existing learned auxiliary `vmax` output, in knots, not a resolved wind map.
 
929
  References: [NOAA PaHM theory and limitations](https://noaa-ocs-modeling.github.io/PaHM/pahm_manual.pdf)
930
  and [Chavas, Reed and Knaff (2017)](https://doi.org/10.1038/s41467-017-01546-9).
931
 
 
932
  <a id="release-tools-storm-structure-diagnostics-md"></a>
933
 
934
+ ## Plotting storm-structure diagnostics
935
 
936
+ *Source record: `release_tools/STORM_STRUCTURE_DIAGNOSTICS.md`.*
937
 
938
  This is a local diagnostic/plotting extension. It does not change the released
939
  Trackformer 1.2 weights, existing pressure maps, videos, cloud archive, or Site.
940
  It is **not** a new validated wind/radius forecast model.
941
 
942
+ ### What works
943
 
944
  - The renderer accepts any exact SID in the local Western Pacific IBTrACS file.
945
  The October 1 local snapshot contains 1,910 storms since 1970. This is an
 
954
  local atlas and the released WP domain. It neither downloads missing weather
955
  nor changes the independently authorized cloud backfill.
956
 
957
+ ### Candidate assumptions and official definitions
958
 
959
  IBTrACS `USA_WIND` is a 1-minute reference. USA R34/R50/R64 are maximum extents
960
  in the NE/SE/SW/NW quadrants, in nautical miles; multiply by 1.852 for **radius**
 
1001
  Plots are exploratory reference comparisons, not a fair validated benchmark.
1002
  All four are development examples; no unused generalization holdout is claimed.
1003
 
1004
+ ### Reusable commands
1005
 
1006
  Use the existing Python environment; no installation is needed. All outputs,
1007
  temporary files and Matplotlib caches must stay on `/Volumes/D`.
 
1037
  The runner refuses duplicate issues, unsafe slugs, three-hour dates, changed
1038
  completed slugs and unsupported causal input histories.
1039
 
1040
+ ### October 1 verification
1041
 
1042
  Local results: `/Volumes/D/typhoon_predict/output/all-storm-wind-radius.uSvmWY/plots`.
1043
  Fung-Wong needed a fresh 50-member MPS replay (14.33 seconds inference). Its
 
1052
  storm cohort, validate surface-wind period/height and quadrant definitions, and
1053
  report errors plus failed/missing coverage for identical leads through +120 h.
1054
 
 
1055
  <a id="training-trackformer-1-2-third-party-notices-md"></a>
1056
 
1057
+ ## Dataset attribution and upstream terms
1058
 
1059
+ *Source record: `training/trackformer_1_2/THIRD_PARTY_NOTICES.md`.*
1060
 
1061
  The MIT license covers project code and project model artifacts; it does not replace upstream data terms.
1062
 
 
1065
  - **Copernicus Climate Change Service (C3S), ERA5, accessed through Google's ARCO-ERA5 mirror**: native mean-sea-level-pressure patches and static land fraction/elevation. Contains modified Copernicus Climate Change Service information (2026). ERA5 hourly single-level data, doi:10.24381/cds.adbb2d47, https://cds.climate.copernicus.eu/datasets/reanalysis-era5-single-levels . The current dataset lists a CC-BY licence; attribution and upstream terms apply. ECMWF or the European Commission does not endorse this model. ARCO mirror and recipes: https://github.com/google-research/arco-era5 . The mirror's code licence is separate from the underlying meteorological data licence.
1066
 
1067
  The published arrays are transformed subsets: quantized/coarse basin grids, float16 pressure, issue-centred patches, normalized derived track features and masks. These transformations do not create new native observational resolution. No claim of endorsement by NOAA, ECMWF, C3S or Google is made.
 
models/trackformer_1_2_field/README.md CHANGED
@@ -1,91 +1,134 @@
1
- # Trackformer 1.2 field-model inference
2
 
3
- The released pressure-field model predicts Western Pacific storm tracks, central pressure and spatial MSLP through +120 h. This is the inference reference; see the [model announcement](../../README.md) for capabilities, the pressure-map showcase and development results.
4
 
5
- This folder contains the exact source, input contract and inference-only weights for the research model in the [main README](../../README.md). `model.py`, `baseline_model.py` and `v165_base.py` are source-identical to the selected training implementation. The weight file is distributed via the [GitHub release](https://github.com/yu314-coder/typhoon-predict/releases/tag/trackformer-1.2) and [Hugging Face](https://huggingface.co/euler314/typhoon-predict/tree/main/models/trackformer_1_2_field), not Git.
6
 
7
- **Training-data cutoff:** fitting and weather normalization use **2000–2021**; validation/checkpoint selection uses **2022–2023**; the original test partition uses **2024–2025**. Inputs come from IBTrACS-derived storm records, NOAA PSL NCEP/NCAR Reanalysis basin fields, ARCO-ERA5 regional pressure and static land/elevation. Newer 2026 archive/live inputs are inference, not retraining. [Sources and exact split coverage](../../docs/TrackFormer_1.2_Training_and_Reproducibility.pdf) · [Verified training-data receipt](../../evaluation/training_data/trackformer_1_2_provenance.json).
8
 
9
- Use Python with PyTorch and NumPy. The export environment used PyTorch 2.13.0; the source was evaluated on macOS MPS. Example:
10
 
11
  ```bash
12
- python models/trackformer_1_2_field/predict.py causal_issue_packet.npz forecast.npz --device cpu
 
 
 
13
  ```
14
 
15
- The `.npz` packet must contain exactly these arrays, with no object/pickle content:
16
 
17
- The nine history timestamps span **−48 to 0 h**, including both endpoints. This is the release's fixed two-day input format, not evidence that two days outperforms one or three. The eight basin channels are MSLP, HGT500, U850, V850, U500, V500, U200 and V200: each u/v pair represents **both horizontal wind direction and speed**. Static coordinates, land fraction and elevation remain part of the actual input contract below. See the [plain-language Chinese report](../../docs/REFERENCE.md#docs-research-report-zh-md) for the research motivation and household-computer equipment.
 
 
 
 
 
 
18
 
19
- | Key | Shape | Meaning |
20
- | --- | --- | --- |
21
- | `global_history` | `(9, 8, 25, 33)` | Past/issue-time basin analyses in manifest channel order, normalized with manifest means/stds. |
22
- | `regional_history` | `(9, 1, 121, 121)` | Native MSLP patches when present, otherwise benchmark's coarse fallback; normalized using MSLP statistics. |
23
- | `global_static` | `(4, 25, 33)` | Latitude/90, longitude/180−1, land fraction, elevation metres/8000. |
24
- | `regional_static` | `(4, 121, 121)` | Same four static channels on the regional grid. |
25
- | `detail_available` | `(1,)` | One when native history exists, otherwise zero. |
26
- | `center` | `(2,)` | Issue-time latitude and longitude in degrees. |
27
- | `motion` | `(2,)` | Previous six-hour east/north displacement in km. |
28
- | `issue_intensity` | `(2,)` | Issue-time maximum wind in knots and central pressure in hPa. |
29
- | `issue_mask` | `(2,)` | Validity flags for issue-time wind and pressure. |
30
- | `issue_time_ns` | scalar | Forecast issue timestamp in Unix nanoseconds. |
31
- | `history_time_ns` | `(9,)` | Nine consecutive six-hour timestamps ending at issue time. |
32
-
33
- Output `.npz` contains twenty exact +6, +12, …, +120-hour forecasts. Pressure arrays are physical hPa. The moving core is exported by default, not just used internally for a central-pressure number:
34
-
35
- | Output | Shape | Meaning |
36
  | --- | --- | --- |
37
- | `basin_mslp_hpa` | `(20,25,33)` | Unchanged coarse Western Pacific pressure fields. |
38
- | `basin_latitude_deg`, `basin_longitude_deg` | `(25,33)` each | Basin geography from the actual input grid. |
39
- | `regional_mslp_hpa` | `(20,121,121)` | Unchanged fixed issue-relative pressure composites. |
40
- | `regional_latitude_deg`, `regional_longitude_deg` | `(121,121)` each | Fixed regional geography. |
41
- | `regional_valid` | `(20,121,121)` | Original model domain-support masks; not a guarantee of moving-core detail throughout this fixed patch. |
42
- | `core_mslp_hpa` | `(20,65,65)` | Actual learned moving-core fields, converted from model normalization to hPa. |
43
- | `core_latitude_deg`, `core_longitude_deg` | `(20,65,65)` each | Original moving-frame geographic coordinates at every forecast lead. |
44
- | `core_valid` | `(20,65,65)` | Original moving-core coverage masks. Mask false cells even when their stored pressure is finite. |
45
- | `track_lat_lon`, `central_pressure_hpa`, `track_valid` | `(20,2)`, `(20,)`, `(20,)` | Unchanged associated track and bilinear core-pressure readout, with domain support. |
46
- | `issue_time_ns`, `valid_time_ns` | scalar, `(20,)` | UTC Unix nanoseconds for the issue and each exact forecast lead. |
47
- | `issue_center_lat_lon`, `member_count` | `(2,)`, scalar | Initialization location and the honest count of one clean member. |
48
- | `pressure_export_json` | string scalar | Export schema, units, frozen checkpoint/weight hashes, reconstruction and coverage policy. |
 
49
 
50
- No field is shifted onto the forecast or observed route, and no central-pressure scalar is inserted into a display. The moving-core information spacing is **20 km computational reconstruction**, not new native high-resolution observations. Coordinates and masks must travel with the fields; an invalid cell is not a zero-pressure forecast. `central_pressure_hpa` is sampled from this same moving field at the associated centre, so it need not equal a discrete cell minimum or a labelled contour level.
51
 
52
- ### Render a pressure map directly
53
 
54
- Install Matplotlib in your inference environment only if you want PNG rendering. NumPy and PyTorch suffice for the numerical export.
55
 
56
  ```bash
57
- python models/trackformer_1_2_field/predict.py causal_issue_packet.npz forecast.npz --device cpu --pressure-map pressure_120h.png --map-lead 120 --isobar-interval 4
 
58
  ```
59
 
60
- The optional image shows the whole Western Pacific basin and the actual moving core side by side, on one pressure colour scale: **blue low / red high**. It keeps original geography and masks unsupported core cells. To draw another saved lead without repeating inference:
61
 
62
- ```bash
63
- python models/trackformer_1_2_field/plot_pressure.py forecast.npz pressure_24h.png --lead 24 --interval 2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
64
  ```
65
 
66
- All original track, central-pressure, basin/regional and auxiliary-wind outputs retain their existing definitions. The exporter verifies the downloaded weight SHA-256 against `manifest.json`; the learned model modules, weights and forward equations are unchanged.
 
 
 
 
 
 
 
 
 
 
 
 
67
 
68
- It also exposes the existing `maximum_wind_auxiliary_kt` scalar and experimental
69
- pressure-derived `pressure_wind_estimate_kt`, `rmw_estimate_km` and
70
- `r34_estimate_km` / `r50_estimate_km` / `r64_estimate_km`. Every pressure-derived
71
- array has a matching `_valid` mask: zero padding where the mask is false is
72
- **not a zero wind or radius forecast**. `wind_estimation_json` is a JSON string
73
- with assumptions, member counts and unavailable reasons, not pickled objects.
74
- The auxiliary wind also has `maximum_wind_auxiliary_kt_valid`, a numerical/domain
75
- validity mask, not a claim of calibrated wind skill.
76
- These are uncalibrated circular-equivalent ocean estimates, not resolved
77
- surface winds, agency-compatible sustained winds or quadrant radii. See
78
- [the estimation method and validation requirements](../../docs/REFERENCE.md#models-trackformer-1-2-field-wind-estimation-md).
79
- No model weights, learned architecture or existing benchmark results changed.
80
 
81
- **Causality:** Never populate arrays from positive-lead analysis, later best track, agency forecast or future pressure field. The wrapper checks timestamp order and shapes, but cannot authenticate the upstream archive. Do not silently replace missing values with future data. This is not a raw-weather downloader or live warning service.
82
 
83
- The published 50-member mean is a separate evaluation policy: 50 deterministic seeds perturb only normalized historical basin/regional fields with smooth zero-centred noise, then average routes, central pressures and common-grid fields. The weights are the same for every member; this is **not 50 separately trained models**. Issue-time centre, motion, intensity, masks and static geography are not perturbed. `predict.py` computes one clean forecast; do not label it a 50-member mean. Neither this member count nor the 48-hour history has been established as optimal by a matched ablation; spread is not automatically calibrated uncertainty.
84
 
85
- **Report's matched development evaluation:** route uses the frozen **1,473 daily starts / 270 equal-weight storms**, +6 to +120 h. Central pressure uses **40 of those 270 storms**, **134 common starts / 2,637 valid lead records**, comparing each model separately with JMA at identical valid times. This is an inherited common-scoring subset, not evidence that all other storms lack pressure observations. Missing labels and unsupported outputs are not zero-scored. TrackFormer 1.2's mean route error is **471.20 km**, +120 h error **1031.63 km**, six-hour direction error **34.96°**, and JMA central-pressure MAE **12.84 hPa**. Central-pressure error is not whole-map error. See the [report figures](../../docs/REFERENCE.md#docs-research-report-zh-md), [frozen common scores](../../evaluation/released_daily/released_daily_benchmark.json), [pressure protocol](../../docs/REFERENCE.md#docs-intensity-benchmark-md) and [detailed evaluation notes](../../docs/REFERENCE.md#docs-trackformer-1-2-evaluation-md).
86
 
87
- **Completed DeepMind comparison:** Google's official **WeatherNext Cyclones Mini `<2024`**, run with **WeatherNext software v0.3.0**, completed all **1,473 daily starts / 270 storms** on an **NVIDIA GeForce RTX 3070 using CUDA**. This is the 1° Mini checkpoint trained through 2023, not the full-sized WeatherNext model. Mini uses one seeded member; TrackFormer 1.2 uses a 50-member mean. Mini's report values are **498.37 km** mean track error, **1031.91 km** at +120 h, **39.76°** direction error and **10.20 hPa** JMA central-pressure MAE on the **134 starts / 40 storms / 2,637 common valid records**. The combined cohort favours 1.2 for position and heading, but Mini has lower pressure MAE. Mini also has lower recent-only track error: **258.7 versus 469.4 km** on the strict 2025–2026 subset (61 starts / 18 storms). Different input/member policies and prior case inspection prevent general superiority, equal-compute or untouched-holdout claims. [Completed results and model identity](../../docs/REFERENCE.md#docs-deepmind-daily-benchmark-md) · [CUDA completion receipt](../../evaluation/deepmind_daily/verification.json) · [Independent publication audit](../../evaluation/deepmind_daily/publication_audit.json). No older benchmark's DeepMind scores were substituted.
88
 
89
- **Rainfall and radius scope:** ongoing Taiwan rainfall work is separate from these weights. Released 1.2 has no rainfall head or humidity input. The report's three R34 diagrams are **observed IBTrACS quadrant radii**, not native 1.2 radius forecasts. Experimental pressure-derived radius outputs described above remain separately labelled diagnostics.
 
 
 
 
 
 
 
 
90
 
91
- **Pressure-display coverage:** `regional_mslp_hpa` remains the original fixed issue-relative composite. Use the separately exported `core_mslp_hpa` and its per-lead coordinates/mask when the storm moves away from that fixed patch. Do not extend it by inventing a vortex or moving it onto a route. If the moving core leaves supported basin geography, the corresponding masked cells remain unavailable. For an ensemble, register each physical member field onto a common geographic grid **before** averaging; do not average moving-frame array indices. The Mangkhut film uses that separate 50-member policy. Older fixed-patch films retain their original data in [the showcase archive](../../docs/REFERENCE.md#docs-showcase-archive-md). The automatic History archive and its separate core recovery expose geography and coverage through [the public API](https://trackformer-weatherlab.rudin-euler-8253.chatgpt.site/history-api).
 
1
+ # TrackFormer 1.2 · model input and output guide
2
 
3
+ [Project overview](../../README.md) · [Complete training manual (PDF)](../../docs/TrackFormer_1.2_Training_and_Reproducibility.pdf) · [Protocols and reference](../../docs/REFERENCE.md)
4
 
5
+ This guide covers **one clean forecast from the released pressure-field model**. It explains how to supply a prepared input packet, export the predicted pressure/track arrays and render them. The model does not download or construct raw-weather inputs for you. The training process is documented in the single PDF above.
6
 
7
+ ## 1. Set up and identify the weights
8
 
9
+ From the repository root:
10
 
11
  ```bash
12
+ python -m pip install -r requirements.txt
13
+ curl --fail --location \
14
+ "https://huggingface.co/euler314/typhoon-predict/resolve/main/models/trackformer_1_2_field/weights.pt" \
15
+ --output models/trackformer_1_2_field/weights.pt
16
  ```
17
 
18
+ Use a compatible PyTorch environment with CPU, Apple MPS or NVIDIA CUDA. Matplotlib is needed only for PNG rendering. The original training environment is not fully recorded; minimum dependency versions do not establish a bitwise reproduction environment.
19
 
20
+ | Identity | Value |
21
+ | --- | --- |
22
+ | Public model | TrackFormer 1.2 |
23
+ | Internal source checkpoint | 1.2.73, completed epoch 4 |
24
+ | Architecture | `v173-moving-core-multiscale-attention` |
25
+ | Inference-weight SHA-256 | `db49f36e85a3766defc4c172746897a1f783705d1ce8e6f9dfb8e87ae1d902cb` |
26
+ | Forecast horizon | Twenty six-hour steps, +6 through +120 h |
27
 
28
+ `predict.py` verifies the weights against [manifest.json](manifest.json) and loads the state strictly. The three neural source modules are identical to the released training implementation. A changed checkpoint is a new candidate, not the released model.
29
+
30
+ ## 2. Prepare one causal issue packet
31
+
32
+ Save an `.npz` containing **exactly** the following eleven keys, with no pickle/object arrays. Numeric model inputs must be finite and have the unbatched shapes shown; the wrapper adds a batch dimension. Issue/history times are Unix nanoseconds represented as integers.
33
+
34
+ | Key | Shape | Value / units |
 
 
 
 
 
 
 
 
 
 
35
  | --- | --- | --- |
36
+ | `global_history` | `(9,8,25,33)` | Normalized eight-channel basin analyses at −48, −42, …, 0 h. |
37
+ | `regional_history` | `(9,1,121,121)` | Normalized native MSLP history when available; the training loader uses zeros plus a false availability flag otherwise. |
38
+ | `global_static` | `(4,25,33)` | Latitude/90, longitude/180−1, land fraction, elevation metres/8000. |
39
+ | `regional_static` | `(4,121,121)` | The same geographic features on the fixed issue-centred regional grid. |
40
+ | `detail_available` | `(1,)` | 1 for native history, 0 if absent. The model samples the basin history when this flag is false. |
41
+ | `center` | `(2,)` | Issue-time latitude, longitude in degrees N/E. |
42
+ | `motion` | `(2,)` | Previous six-hour displacement: east, north, in km. |
43
+ | `issue_intensity` | `(2,)` | Issue-time maximum wind in knots; central pressure in hPa. |
44
+ | `issue_mask` | `(2,)` | Independent validity flags for the two intensity values. Use finite storage values with explicit masks for missing intensity. |
45
+ | `issue_time_ns` | scalar | Forecast initialization time, UTC Unix nanoseconds. |
46
+ | `history_time_ns` | `(9,)` | Exact six-hour sequence ending at `issue_time_ns`. |
47
+
48
+ **Channel order:** MSLP, HGT500, U850, V850, U500, V500, U200, V200. The u/v pairs carry wind direction and speed. Use `(physical_value − mean) / std` with the channel statistics in `manifest.json`; do not normalize a second time. Fit years for these statistics are 2000–2021.
49
 
50
+ **Geography:** the basin is 25 north-to-south latitudes from 60°N to 0°N and 33 longitudes from 100°E to 180°E at 2.5° spacing. The fixed 121×121 regional grid uses the manifest's 0.25° offsets around the issue-centred patch. Static coordinates must match the actual arrays, not just their shape. The moving 65×65 core is reconstructed by the model at approximately 20 km spacing.
51
 
52
+ The wrapper checks exact keys, finite shapes and consecutive causal timestamps. It cannot authenticate the upstream archive or detect a mislabeled future field. Future analyses/observations and agency forecast fields/routes must never be substituted into inputs. Missing native history is not a claim of newly resolved pressure detail.
53
 
54
+ ## 3. Export a numerical forecast
55
 
56
  ```bash
57
+ python models/trackformer_1_2_field/predict.py \
58
+ causal_issue_packet.npz forecast.npz --device cpu
59
  ```
60
 
61
+ Use `--device mps` or `--device cuda` for an available accelerator. This command runs **one clean member**, with frozen weights and no optimizer updates. It does not reproduce the separately published 50-member input-perturbation mean.
62
 
63
+ | Output | Shape | Interpretation |
64
+ | --- | --- | --- |
65
+ | `lead_hours` | `(20,)` | 6, 12, …, 120 h. |
66
+ | `track_lat_lon` | `(20,2)` | Pressure-associated forecast centre, latitude/longitude. |
67
+ | `central_pressure_hpa` | `(20,)` | Bilinear pressure from the same moving field at that centre. |
68
+ | `track_valid` | `(20,)` | Track support mask. |
69
+ | `basin_mslp_hpa` | `(20,25,33)` | Predicted basin pressure in physical hPa. |
70
+ | `basin_latitude_deg`, `basin_longitude_deg` | `(25,33)` each | Basin coordinates. |
71
+ | `regional_mslp_hpa` | `(20,121,121)` | Predicted fixed issue-relative composite; detail coverage changes as the core moves. |
72
+ | `regional_latitude_deg`, `regional_longitude_deg` | `(121,121)` each | Fixed regional coordinates. |
73
+ | `regional_valid` | `(20,121,121)` | Geometric support; does not guarantee native-core detail across the whole patch. |
74
+ | `core_mslp_hpa` | `(20,65,65)` | Actual predicted moving-core pressure. |
75
+ | `core_latitude_deg`, `core_longitude_deg` | `(20,65,65)` each | Per-lead coordinates of the moving core. |
76
+ | `core_valid` | `(20,65,65)` | Moving-core support mask. |
77
+ | `issue_time_ns`, `valid_time_ns` | scalar, `(20,)` | Issue and exact forecast-valid timestamps. |
78
+ | `issue_center_lat_lon`, `member_count` | `(2,)`, scalar | Initialization centre; member count is 1. |
79
+ | `core_information_spacing_km` | scalar | Approximately 20 km computational reconstruction. |
80
+ | `pressure_export_json` | string scalar | Schema, units, weight/checkpoint hashes, coverage and ensemble policies. |
81
+
82
+ Pressure and coordinates must travel with their masks. Finite values outside a false support mask are not valid forecasts; zero padding is not zero physical pressure. The associated central pressure need not equal the discrete grid minimum or a drawn contour level. No forecast field is moved onto the observed route or replaced by a display vortex.
83
+
84
+ ### Read the saved arrays
85
+
86
+ ```python
87
+ import numpy as np
88
+
89
+ with np.load("forecast.npz", allow_pickle=False) as forecast:
90
+ lead_index = int(np.flatnonzero(forecast["lead_hours"] == 24)[0])
91
+ pressure = np.where(
92
+ forecast["core_valid"][lead_index],
93
+ forecast["core_mslp_hpa"][lead_index],
94
+ np.nan,
95
+ )
96
+ latitude = forecast["core_latitude_deg"][lead_index]
97
+ longitude = forecast["core_longitude_deg"][lead_index]
98
  ```
99
 
100
+ ## Render a pressure map directly
101
+
102
+ With Matplotlib installed in your own environment:
103
+
104
+ ```bash
105
+ python models/trackformer_1_2_field/predict.py \
106
+ causal_issue_packet.npz forecast.npz --device cpu \
107
+ --pressure-map pressure_120h.png --map-lead 120 --isobar-interval 4
108
+
109
+ # Render another saved lead without rerunning the network:
110
+ python models/trackformer_1_2_field/plot_pressure.py \
111
+ forecast.npz pressure_24h.png --lead 24 --interval 2
112
+ ```
113
 
114
+ The renderer shows the basin and actual moving core using one scale: blue low pressure, red high pressure. Apply per-lead geographic coordinates and masks. When the cyclone leaves the fixed regional patch, use the moving-core fields rather than extending the old patch by hand. For an ensemble, register physical member fields onto a common geographic grid before averaging; never average unaligned moving-core indices.
 
 
 
 
 
 
 
 
 
 
 
115
 
116
+ ## Wind and radius diagnostics
117
 
118
+ `maximum_wind_auxiliary_kt` is an existing supervised scalar, accompanied by a numerical/domain `_valid` mask. That mask is not a demonstration of calibrated surface-wind skill.
119
 
120
+ Experimental `pressure_wind_estimate_kt`, `rmw_estimate_km`, and `r34_estimate_km` / `r50_estimate_km` / `r64_estimate_km` are pressure-derived, circular-equivalent diagnostics, not a trained radius head or observed quadrant radii. Each has a matching `_valid` mask. If it is false, stored zero is padding. `wind_estimation_json` records assumptions and unavailable reasons. [Diagnostic method and validation limits](../../docs/REFERENCE.md#models-trackformer-1-2-field-wind-estimation-md).
121
 
122
+ ## Common problems
123
 
124
+ | Symptom | Check |
125
+ | --- | --- |
126
+ | Weight identity error | Use the exact 1.2 inference weight file, not a full optimizer checkpoint or later rainfall model. |
127
+ | Packet-key or shape error | Supply the eleven keys above with unbatched shapes and integer timestamps. |
128
+ | History-time error | All nine times must be six hours apart and end exactly at issue time. |
129
+ | Native detail unavailable | Keep the explicit false flag; do not insert future pressure or claim interpolated detail as observations. |
130
+ | Finite field looks wrong outside the basin | Apply `core_valid`, `regional_valid` and `track_valid`; inspect geography and normalization. |
131
+ | Different from the website mean | Match checkpoint, issue time, data source and one-member versus 50-member policy first. |
132
+ | Need rainfall | Released 1.2 has no rainfall head or humidity input. Later rainfall experiments are separate. |
133
 
134
+ For measured development results use the [main scorecard](../../README.md#results-in-the-research-report), [common-support benchmark](../../evaluation/deepmind_daily/benchmark.json) and [reference](../../docs/REFERENCE.md). For fitting cutoffs, batch-size evidence, losses and reproduction use the single training PDF. Research results do not establish operational warning reliability or newly resolved 20 km observations.