euler314 commited on
Commit
22bd16c
·
verified ·
1 Parent(s): 4a43e04

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +61 -0
README.md ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Typhoon Predict
2
+
3
+ Typhoon Predict is an ERA5-conditioned tropical-cyclone track research model. It predicts future cyclone center positions from recent track history and a local atmospheric-state patch. The project is intended for research, experimentation, and reproducible model development.
4
+
5
+ ## Model Architecture
6
+
7
+ The model combines:
8
+
9
+ - A convolutional encoder for storm-centered ERA5 atmospheric patches.
10
+ - A bidirectional GRU for recent cyclone track history.
11
+ - A fusion multilayer perceptron that combines the atmospheric and track representations.
12
+ - Probabilistic output heads that predict the mean and log-scale of future latitude and longitude offsets.
13
+ - A latent projection used to create correlated ensemble members for uncertainty-aware forecasts.
14
+
15
+ The forecast is generated recursively for multiple lead times. The ensemble represents sampled plausible tracks; the mean track is a summary and should not be treated as a guaranteed path.
16
+
17
+ ## Training Configuration
18
+
19
+ The released experiment uses:
20
+
21
+ - ERA5 reanalysis data beginning in 1979.
22
+ - Western Pacific basin samples.
23
+ - Four historical track steps as input.
24
+ - Forecast lead times of 6, 12, 24, 48, 72, 96, and 120 hours.
25
+ - Storm-centered patches with an 8 degree half-width at 0.5 degree resolution.
26
+ - Chronological split: training through 2015 and validation through 2019.
27
+ - Batch size 64, learning rate 2e-4, weight decay 1e-4.
28
+ - Up to 80 epochs with early stopping patience of 12 epochs.
29
+ - 50 ensemble members for uncertainty sampling.
30
+
31
+ The training pipeline normalizes atmospheric variables, extracts storm-centered windows, aligns ERA5 with track timestamps, and uses chronological validation to reduce temporal leakage.
32
+
33
+ ## Data Pipeline
34
+
35
+ Training examples require:
36
+
37
+ 1. Quality-controlled tropical-cyclone track fixes with timestamp, latitude, and longitude.
38
+ 2. ERA5 atmospheric fields covering the same time range.
39
+ 3. Storm-centered spatial extraction around each observed cyclone position.
40
+ 4. Historical track sequences paired with future positions at the configured lead times.
41
+ 5. Chronological train and validation splits.
42
+
43
+ Cached patches can be reused to reduce repeated preprocessing and storage overhead during experiments.
44
+
45
+ ## Inference
46
+
47
+ The local inference script loads a PyTorch checkpoint, prepares the configured input sequence, runs ensemble sampling, and writes forecast points plus an optional HTML map. See run_inference.py and the GitHub repository for the current command-line workflow.
48
+
49
+ When live ERA5 data is unavailable, the example inference path uses normalized atmospheric inputs as a software smoke test. Operational or scientific use requires real, correctly aligned atmospheric analysis data.
50
+
51
+ ## Model Formats
52
+
53
+ The native release format is PyTorch. GGUF is designed primarily for transformer-style language models and is not a suitable interchange format for this custom CNN-GRU probabilistic model. ONNX or TorchScript conversion may be possible, but any converted model must be validated against the native checkpoint for numerical and forecast consistency.
54
+
55
+ ## Limitations
56
+
57
+ This is a research model, not an operational warning system. Forecast quality depends on the training data, basin coverage, input alignment, preprocessing, and model calibration. It should not replace official meteorological agencies or emergency-management guidance.
58
+
59
+ ## License and Attribution
60
+
61
+ Review the repository license and source-data terms before redistribution or commercial use. ERA5 data is provided by the Copernicus Climate Change Service and follows its applicable terms.