tomas40 emulators: bintf_d384, bintf_d256, cs_b
Browse files- README.md +53 -0
- tomas40/bintf_d256/model.pt +3 -0
- tomas40/bintf_d384/model.pt +3 -0
- tomas40/cs_b/model.pt +3 -0
- tomas40/norm_stats.npz +3 -0
README.md
ADDED
|
@@ -0,0 +1,53 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
library_name: pytorch
|
| 4 |
+
tags:
|
| 5 |
+
- climate
|
| 6 |
+
- aerosol
|
| 7 |
+
- microphysics
|
| 8 |
+
- emulator
|
| 9 |
+
- stratospheric-aerosol-injection
|
| 10 |
+
---
|
| 11 |
+
|
| 12 |
+
# AIDE-Microphysics weights
|
| 13 |
+
|
| 14 |
+
Learned 6-hour operators for **TOMAS** sectional sulfate aerosol microphysics (40 mass-doubling
|
| 15 |
+
bins, 1.7 nm – ~10 µm), used by the AIDE climate-intervention emulator stack. Code, interface and
|
| 16 |
+
documentation: **https://github.com/reflective-org/AIDE-Microphysics**.
|
| 17 |
+
|
| 18 |
+
```python
|
| 19 |
+
from aide_micro.schemes.tomas40 import emulator
|
| 20 |
+
emu = emulator.load("bintf_d384") # downloads tomas40/bintf_d384/model.pt from this repo, checks sha256
|
| 21 |
+
Nk2, Mk2, H2SO4_2, SO2_2 = emu.step(Nk, Mk, H2SO4, SO2, T, P, RH, OH13)
|
| 22 |
+
```
|
| 23 |
+
|
| 24 |
+
| file | model | params | use it for |
|
| 25 |
+
|---|---|---|---|
|
| 26 |
+
| `tomas40/bintf_d384/model.pt` | bin-token transformer d384 x 6 | 7.16 M | **default standalone**: 6 h total N / M error 3.1 % / 2.6 % (median), stable over 14-day chains, 2.9 µs/cell (fp16, H200) |
|
| 27 |
+
| `tomas40/bintf_d256/model.pt` | bin-token transformer d256 x 4 | 2.15 M | standalone when speed matters: 1.1 µs/cell, ~1.5–2 points worse at 6 h |
|
| 28 |
+
| `tomas40/cs_b/model.pt` | PackTF student d256 x 4 | 2.1 M | the coupled AIDE-SAI model **with TOMAS physics on the top 0.3 % of cells** (15 days vs full physics: N −0.8 %, AOD +0.2 %, H2SO4 +1.4 %); not validated standalone |
|
| 29 |
+
| `tomas40/norm_stats.npz` | input / output normalization shared by all three | | |
|
| 30 |
+
|
| 31 |
+
Each `model.pt` is `{"model": state_dict}`; the architecture is in `aide_micro/schemes/tomas40/models.py`.
|
| 32 |
+
Inputs: per-box log-state (40 bins number + mass, H2SO4, SO2; 1 m³ box) and the 6 h forcing on a
|
| 33 |
+
30-min grid (P, T, RH, OH). Always apply the shipped output projection (`project="chem"`), which
|
| 34 |
+
enforces two-moment consistency and sulfur conservation. Use fp16 or fp32 (bf16 widens the 14-day
|
| 35 |
+
error tails). Full guidance: `docs/MODELS.md` in the code repository.
|
| 36 |
+
|
| 37 |
+
## Training data
|
| 38 |
+
|
| 39 |
+
TOMAS-JAX box-model runs (6 h – 14 days). Most start from real grid cells of a CESM2.2 WACCM-CARMA
|
| 40 |
+
simulation of June 1991, which includes the **Pinatubo eruption** (SO2 injected 1991-06-15) with
|
| 41 |
+
plume cells oversampled. Stratospheric-injection runs add sampled SO2 pulses (1 ppbv – 1000 ppmv) or
|
| 42 |
+
continuous injection on those states. A separate set uses synthetic lognormal size distributions and
|
| 43 |
+
environments, so the models do not depend on CARMA's size-distribution shapes or June-1991
|
| 44 |
+
conditions. `cs_b` was further trained on states captured from the coupled AIDE-SAI model.
|
| 45 |
+
Accuracy outside these conditions (other seasons, tropospheric pollution, non-sulfate aerosol) has
|
| 46 |
+
not been tested.
|
| 47 |
+
|
| 48 |
+
## Limitations
|
| 49 |
+
|
| 50 |
+
- Sulfate only; 6 h steps only; trained for the stratosphere and upper troposphere.
|
| 51 |
+
- Error grows in multi-day chains (day-14 N error p90 ~70 %); for long coupled runs the AIDE-SAI
|
| 52 |
+
model runs TOMAS physics on the cells with the largest expected change.
|
| 53 |
+
- Reported numbers come from each model's own evaluation protocol and are not comparable across rows.
|
tomas40/bintf_d256/model.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:df9416edbe4165a29035f4d17254035292c753718d60d1eaafc409ddf1254bb9
|
| 3 |
+
size 8597764
|
tomas40/bintf_d384/model.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:aecf892783dbcba3c9129d918840307e4e6b6cb2c431bc28dfffba0f3e1c46dc
|
| 3 |
+
size 28657868
|
tomas40/cs_b/model.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:43603ad2c70ecb66f1c6a75d8dc809678955e999df0c5541084779cb79ae8de0
|
| 3 |
+
size 8521520
|
tomas40/norm_stats.npz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c7bd095b1fc02438782e5dcbcfff74d7cb853e15996c6bdd930c4ab105ee199d
|
| 3 |
+
size 1670
|