Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
54 commits
Select commit Hold shift + click to select a range
c170f72
feat(models): faithful WildfireSpreadTS baselines with oracle tests
Oct 7, 2026
0e17c7d
feat(models): rebuild CNN-ASPP from the Marjani et al. (GRSL 2024) paper
Oct 7, 2026
b1c3806
feat(models): faithful Kondylatos et al. (2022) wildfire danger LSTM …
Oct 7, 2026
5f14a79
feat(benchmarks): report pixel average precision for wildfire spread
Oct 7, 2026
d8ecf6f
Merge port/wildfire_forecasting: Kondylatos et al. (2022) LSTM / Conv…
Oct 7, 2026
07e6832
feat(models): SegFormer (MiT-B0..B5) ported from transformers with or…
Oct 7, 2026
82da077
feat(models): faithful Swin-Unet and ASUFM with oracle tests
Oct 7, 2026
3235ba5
feat(models): faithful Attention U-Net and TCN with oracle tests
Oct 7, 2026
779b616
fix(benchmarks): score models in eval mode under no_grad
Oct 7, 2026
be6e179
Merge port/segformer: SegFormer (MiT-B0..B5) from transformers with o…
Oct 7, 2026
47f0ad7
feat(models): faithful FireCastNet port with official weights and ora…
Oct 7, 2026
398eeb1
feat(models): faithful Prithvi-EO-2.0 BurnScars and TL ports with ora…
Oct 7, 2026
d2f6617
Merge port/swin: faithful Swin-Unet and ASUFM with oracle tests
Oct 7, 2026
bb6cb39
Merge port/attn_tcn: MONAI/TS-SatFire Attention U-Net and Bai et al. …
Oct 7, 2026
edc8476
Merge port/firecastnet: FireCastNet (Michail et al. 2025) graph model…
Oct 7, 2026
e263628
Merge port/prithvi: Prithvi-EO-2.0 BurnScars and TL with TerraTorch o…
Oct 7, 2026
6a2d45d
feat(models): WildfireSpreadTS U-Net drops duplicate static features;…
Oct 7, 2026
b5c55bb
docs(asufm): add the paper's reported scores and training setup; note…
Oct 7, 2026
8fb211f
docs(segformer): quote checkpoint globs so RST does not read them as …
Oct 7, 2026
9c6b526
feat(models): faithful Earthformer port with official-weight oracle t…
Oct 7, 2026
c0f361a
feat(models): original U-Net from the paper and smp DeepLabV3 with or…
Oct 7, 2026
04bd99c
feat(models): Earthfarseer and Rainformer, written from the papers, w…
Oct 7, 2026
47ebc4f
Merge port/earthformer: Earthformer (Gao et al. 2022) with official S…
Oct 7, 2026
b8d0a19
feat(models): TS-SatFire prediction baselines (MONAI U-Net, UNETR, Sw…
Oct 7, 2026
1f02279
Merge port/unet_deeplab: original U-Net (Caffe release oracle) and sm…
Oct 7, 2026
815b4d1
feat(models): Kondylatos random forest, XGBoost and a deep-ensemble w…
Oct 7, 2026
40b6657
Merge port/farseer_rainformer: Earthfarseer and Rainformer written fr…
Oct 7, 2026
9832f50
Merge port/tssatfire: TS-SatFire U-Net-3D, UNETR, SwinUNETR and ts_sa…
Oct 7, 2026
228d659
feat(models): SwinLSTM, FireCastNet ConvGRU and HKO-7 TrajGRU with or…
Oct 7, 2026
0b86789
Merge port/classical_ensemble: Kondylatos random forest, XGBoost, dee…
Oct 7, 2026
1cca6eb
Merge port/swinlstm_gru: SwinLSTM, FireCastNet ConvGRU, TrajGRU (HKO-…
Oct 7, 2026
90486ff
feat(simulators): run official ForeFire and read WRF-SFIRE outputs; d…
Oct 7, 2026
ad95c1a
Merge port/simulators: real ForeFire adapter and WRF-SFIRE output rea…
Oct 7, 2026
a754f58
feat(datasets): Track-O wildfire occurrence datasets, cache builder a…
Oct 7, 2026
78be109
docs(datasets): reference cards for nine external sources from PR #33
Oct 7, 2026
2a67d3a
Merge port/pr33_salvage: Track-O real-data wildfire pipeline and sour…
Oct 7, 2026
f407237
feat(prompted): SmokeBench prompted multimodal-LLM baselines and the …
Oct 8, 2026
68b18d2
feat(prompted): record the Qwen2.5-VL-7B SmokeBench classification ch…
Oct 8, 2026
91e4f42
Merge port/smokebench: SmokeBench prompted multimodal-LLM baselines (…
Oct 8, 2026
d20d814
feat(models): faithful tropical cyclone MLP, SAF-Net and TropiCyclone…
Oct 8, 2026
eb7e246
feat(flood): NeuralHydrology-style streamflow task, real CAMELS-US / …
Oct 8, 2026
5969eab
feat(models): faithful PhaseNet, EQTransformer and GPD; real picking …
Oct 8, 2026
13e6878
Merge port/tc_lead: real IBTrACS/TCND/SHIPS readers, km track error, …
Oct 8, 2026
da5b2a5
Merge port/flood_lead: per-basin NSE/KGE streamflow task, real CAMELS…
Oct 8, 2026
9c90d79
Merge port/eq_lead: real picking task and metrics, SeisBench-format r…
Oct 8, 2026
aea3fcf
fix(catalog): PR review skips model cards the change deletes
Oct 8, 2026
333ed38
feat(models): faithful WaveCastNet with wavefield-forecasting task; E…
Oct 8, 2026
18b1acc
Merge port/eq_round2: faithful WaveCastNet (official weights) and EQN…
Oct 8, 2026
561cef7
feat(models): faithful Hurricast and TCIF-fusion; Hurricast IBTrACS +…
Oct 8, 2026
ce81955
Merge port/tc_round2: Hurricast (encoder + XGBoost) and TCIF-fusion w…
Oct 8, 2026
1aa780d
feat(models): faithful HydroGraphNet (PhysicsNeMo MeshGraphKAN) and U…
Oct 8, 2026
b3778cd
Merge port/flood_round2: faithful HydroGraphNet (PhysicsNeMo) and Urb…
Oct 8, 2026
4efaa55
feat(forecasts): weather-model cyclone pipelines replace the FourCast…
Oct 8, 2026
1363c35
Merge port/tc_weather: FourCastNet/GraphCast/Pangu as forecast -> tra…
Oct 8, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
25 changes: 10 additions & 15 deletions .github/ROADMAP_EXECUTION.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,14 @@ Key corrections from the audit:
- Earthquake has the main model adapters (`PhaseNet`, `EQTransformer`, `GPD`,
`EQNet`), but the SeisBench / pick-benchmark / pyCSEP / AEFA benchmark-data
stack is still missing.
- Flood has the main model adapters (`NeuralHydrology`, `FloodCast`,
`UrbanFloodCast`), but the Caravan / WaterBench / FloodCastBench /
HydroBench benchmark-data stack is still missing.
- Flood: the NeuralHydrology LSTM / EA-LSTM and Google's released FloodHub
model are faithful ports, with real CAMELS-US and Caravan readers and per-basin
NSE / KGE evaluation. `HydroGraphNet` (PhysicsNeMo MeshGraphKAN, with a real
White River mesh reader and rollout evaluation) and `UrbanFloodCast` (the DNO,
written from the paper and checked against the unlicensed official code) are
faithful too. `FloodCast` stays an experimental stand-in (flood-model code never
released, widths not in the paper), and WaterBench / FloodCastBench / HydroBench
have no readers (their former adapters generated random numbers and were removed).
- Storm has the main model adapters, but `TCBench`, `IBTrACS`, and
`TropiCycloneNet-Dataset` are still missing. `GraphCast`, `Pangu`, and
`FourCastNet` remain experimental wrappers and must not be counted as
Expand Down Expand Up @@ -251,17 +256,12 @@ Own:
- `pyhazards/models/tropicyclonenet.py`
- `pyhazards/models/saf_net.py`
- `pyhazards/models/tcif_fusion.py`
- `pyhazards/models/graphcast_tc.py`
- `pyhazards/models/pangu_tc.py`
- `pyhazards/models/fourcastnet_tc.py`
- `pyhazards/forecasts/**` (FourCastNet / GraphCast / Pangu-Weather cyclone pipelines; the former graphcast_tc, pangu_tc and fourcastnet_tc placeholders were removed)
- `pyhazards/model_cards/hurricast.yaml`
- `pyhazards/model_cards/tropicalcyclone_mlp.yaml`
- `pyhazards/model_cards/tropicyclonenet.yaml`
- `pyhazards/model_cards/saf_net.yaml`
- `pyhazards/model_cards/tcif_fusion.yaml`
- `pyhazards/model_cards/graphcast_tc.yaml`
- `pyhazards/model_cards/pangu_tc.yaml`
- `pyhazards/model_cards/fourcastnet_tc.yaml`
- `tests/test_tc_*.py`

Do not edit:
Expand Down Expand Up @@ -537,17 +537,12 @@ You own:
- pyhazards/models/tropicyclonenet.py
- pyhazards/models/saf_net.py
- pyhazards/models/tcif_fusion.py
- pyhazards/models/graphcast_tc.py
- pyhazards/models/pangu_tc.py
- pyhazards/models/fourcastnet_tc.py
- pyhazards/forecasts/** (FourCastNet / GraphCast / Pangu-Weather cyclone pipelines; the former graphcast_tc, pangu_tc and fourcastnet_tc placeholders were removed)
- pyhazards/model_cards/hurricast.yaml
- pyhazards/model_cards/tropicalcyclone_mlp.yaml
- pyhazards/model_cards/tropicyclonenet.yaml
- pyhazards/model_cards/saf_net.yaml
- pyhazards/model_cards/tcif_fusion.yaml
- pyhazards/model_cards/graphcast_tc.yaml
- pyhazards/model_cards/pangu_tc.yaml
- pyhazards/model_cards/fourcastnet_tc.yaml
- tests/test_tc_*.py

Do not edit:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,8 @@ jobs:
- name: Generated coverage audit docs check
run: python scripts/render_appendix_a_docs.py --check

- name: Generated prompted-baseline docs check
run: python scripts/render_prompted_docs.py --check

- name: Catalog smoke test
run: python scripts/verify_table_entries.py
4 changes: 4 additions & 0 deletions .github/workflows/model-docs-sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,13 @@ on:
- "pyhazards/dataset_catalog.py"
- "pyhazards/benchmark_catalog.py"
- "pyhazards/appendix_a_catalog.py"
- "pyhazards/prompted/cards/**"
- "pyhazards/prompted/catalog.py"
- "scripts/render_model_docs.py"
- "scripts/render_dataset_docs.py"
- "scripts/render_benchmark_docs.py"
- "scripts/render_appendix_a_docs.py"
- "scripts/render_prompted_docs.py"

permissions:
contents: write
Expand Down Expand Up @@ -44,6 +47,7 @@ jobs:
python scripts/render_model_docs.py
python scripts/render_benchmark_docs.py
python scripts/render_appendix_a_docs.py
python scripts/render_prompted_docs.py
cd docs
sphinx-build -b html source build/html
cp -r build/html/* .
Expand Down
274 changes: 274 additions & 0 deletions .github/workflows/oracle.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,274 @@
name: Oracle

# Compares PyHazards models with their pinned reference implementations (tests/oracle).
# Reference stacks that cannot share one environment run as separate matrix entries; every
# tests/oracle/test_*.py file must be listed in exactly one entry (checked by the CI test suite).

on:
push:
branches: [main, master]
paths:
- "pyhazards/models/**"
- "pyhazards/simulators/**"
- "pyhazards/prompted/**"
- "pyhazards/datasets/figlib_smokebench/**"
- "pyhazards/datasets/tc/**"
- "pyhazards/benchmarks/tc.py"
- "pyhazards/forecasts/**"
- "pyhazards/datasets/flood/**"
- "pyhazards/metrics/**"
- "pyhazards/benchmarks/flood.py"
- "tests/oracle/**"
- "scripts/fetch_oracles.py"
- ".github/workflows/oracle.yml"
pull_request:
branches: [main, master]
paths:
- "pyhazards/models/**"
- "pyhazards/simulators/**"
- "pyhazards/prompted/**"
- "pyhazards/datasets/figlib_smokebench/**"
- "pyhazards/datasets/tc/**"
- "pyhazards/benchmarks/tc.py"
- "pyhazards/forecasts/**"
- "pyhazards/datasets/flood/**"
- "pyhazards/metrics/**"
- "pyhazards/benchmarks/flood.py"
- "tests/oracle/**"
- "scripts/fetch_oracles.py"
- ".github/workflows/oracle.yml"
workflow_dispatch:

jobs:
oracle:
name: oracle (${{ matrix.suite }})
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- suite: default
python: "3.10"
torch: torch torchvision
requirements: tests/oracle/requirements.txt
references: >-
utae-paps WildfireSpreadTS utae_pastis_weights wildfire_forecasting
segformer_mit_b0 segformer_b0_ade TS-SatFire TCN uncertainty-wildfires firecastnet
tests: >-
tests/oracle/test_wildfirespreadts_oracle.py
tests/oracle/test_wildfire_forecasting_oracle.py
tests/oracle/test_classical_oracle.py
tests/oracle/test_deep_ensemble_oracle.py
tests/oracle/test_segformer_oracle.py
tests/oracle/test_attention_unet_oracle.py
tests/oracle/test_tcn_oracle.py
tests/oracle/test_deeplabv3_oracle.py
tests/oracle/test_convgru_oracle.py
# The original U-Net release is Caffe; OpenCV 4.x's Caffe importer runs it (OpenCV 5 dropped it).
- suite: unet
python: "3.10"
torch: torch
requirements: tests/oracle/requirements-unet.txt
references: unet_release
tests: tests/oracle/test_unet_oracle.py
# timm 0.4.12 (fire-asufm) conflicts with the timm 0.6.12 pin of smp 0.3.2.
- suite: swin
python: "3.10"
torch: torch torchvision
requirements: tests/oracle/requirements-swin.txt
references: Swin-Unet fire-asufm swin_tiny_imagenet SwinLSTM
tests: tests/oracle/test_swin_oracle.py tests/oracle/test_swinlstm_oracle.py
# EarthFarseer pins timm 0.9.16 (smp 0.3.2 needs 0.6.12, fire-asufm 0.4.12); Rainformer needs
# einops. Default-size models and the 751 MB Rainformer KNMI checkpoint are compared locally
# (PYHAZARDS_ORACLE_LARGE=1); CI compares reduced models.
- suite: farseer-rainformer
python: "3.10"
torch: torch torchvision
requirements: tests/oracle/requirements-farseer-rainformer.txt
references: EarthFarseer Rainformer
tests: >-
tests/oracle/test_earthfarseer_oracle.py
tests/oracle/test_rainformer_oracle.py
# MONAI's UNETR / SwinUNETR need einops, and TS-SatFire's SwinUNETR copy imports torchinfo.
- suite: tssatfire
python: "3.10"
torch: torch
requirements: tests/oracle/requirements-tssatfire.txt
references: TS-SatFire
tests: >-
tests/oracle/test_unet3d_oracle.py
tests/oracle/test_unetr_oracle.py
tests/oracle/test_swin_unetr_oracle.py
tests/oracle/test_ts_satfire_oracle.py
# The official FireCastNet code runs on DGL, whose CPU wheels need torch 2.4 (pinned in the
# requirements file). The comparison on the full global grid peaks at about 8 GB of RAM.
- suite: firecastnet
python: "3.10"
torch: ""
requirements: tests/oracle/requirements-firecastnet.txt
references: >-
firecastnet firecastnet_global_cls_ts24_h1 firecastnet_global_regr_ts24_h1
firecastnet_lam_aust_cls_ts24_h1
tests: tests/oracle/test_firecastnet_oracle.py
# The official Earthformer model file needs einops, which no other suite installs. The SEVIR
# and ICAR-ENSO checkpoints (35 MB and 6 MB) are fetched and compared in CI.
- suite: earthformer
python: "3.10"
torch: torch
requirements: tests/oracle/requirements-earthformer.txt
references: earth-forecasting-transformer earthformer_sevir earthformer_icarenso2021
tests: tests/oracle/test_earthformer_oracle.py
# The official TrajGRU code (HKO-7) is MXNet; MXNet 1.9.1 runs it and needs numpy < 1.24.
- suite: trajgru
python: "3.10"
torch: torch
requirements: tests/oracle/requirements-trajgru.txt
references: HKO-7 hko7_movingmnist_weights hko7_hko_weights
tests: tests/oracle/test_trajgru_oracle.py
# ForeFire (GPL-3.0) is installed from its official 2.5.0 wheel in this job only; the pinned
# repository and its Git LFS test files provide the official inputs and reference output.
- suite: forefire
python: "3.10"
torch: torch
requirements: tests/oracle/requirements-forefire.txt
references: forefire forefire_runff_data forefire_runff_reference
tests: tests/oracle/test_forefire_oracle.py
# SmokeBench authors' evaluation scripts (prompted VLM baselines): OpenCV + torchvision.
# The check over all 5,046 SmokeBench images needs the 11.4 GB download and runs locally.
- suite: smokebench
python: "3.10"
torch: torch torchvision
requirements: tests/oracle/requirements-smokebench.txt
references: SoraLink-MLLM smokeynet_metadata
tests: tests/oracle/test_smokebench_oracle.py
# Tropical cyclone models: the official tropicalcyclone_MLP Keras model and the TCIF-fusion notebook graph
# (about 300 M parameters, ~3 GB RAM) run on Keras 3 with the PyTorch backend; SAF-Net's notebook network,
# TropiCycloneNet's generator and Hurricast's encoder-decoders are plain PyTorch, Hurricast's second stage
# is XGBoost. The TropiCycloneNet checkpoint (56 MB, Zenodo, CC BY 4.0) is fetched and compared in CI.
- suite: tc
python: "3.10"
torch: torch
requirements: tests/oracle/requirements-tc.txt
references: tropicalcyclone_MLP TI_Prediction TropiCycloneNet tropicyclonenet_checkpoint hurricast TCIF-fusion
tests: >-
tests/oracle/test_tropicalcyclone_mlp_oracle.py
tests/oracle/test_saf_net_oracle.py
tests/oracle/test_tropicyclonenet_oracle.py
tests/oracle/test_hurricast_oracle.py
tests/oracle/test_tcif_fusion_oracle.py
# Cyclone trackers and TCBench scoring: TempestExtremes v2.4.2 is built from its pinned source
# (needs cmake and the netCDF C library) and compared with pyhazards.forecasts.tempest on synthetic
# fields; TCBench's own metric functions score its released 2023 tracks. The check on TCBench's
# raw Pangu-Weather fields reads ~200 MB over HTTP and runs locally (PYHAZARDS_ORACLE_LARGE=1).
- suite: tc-tracking
python: "3.10"
torch: torch
apt: cmake libnetcdf-dev
requirements: tests/oracle/requirements-tc-tracking.txt
references: >-
tempestextremes TCBench_Alpha tcbench_matched_pangu tcbench_matched_fcnet tcbench_ibtracs_2023
tcbench_pangu_unmatched_20230716_12
tests: tests/oracle/test_tempest_oracle.py tests/oracle/test_tcbench_evaluation_oracle.py
# Weather-model sources: earth2studio 0.19.0 (Python >= 3.11) drives its Persistence model through
# the PyHazards runner; zarr + gcsfs read small slices of the public WeatherBench 2 stores.
- suite: weather
python: "3.12"
torch: torch
requirements: tests/oracle/requirements-weather.txt
references: ""
tests: tests/oracle/test_forecasts_weather_oracle.py
# NeuralHydrology and googlehydrology (Google's flood-forecasting fork) are imported from their pinned
# checkouts; googlehydrology targets Python 3.12. Both repositories provide real test data (4 CAMELS-US
# basins, Caravan netCDF files) and the released FloodHub weights; the 939 MB HydroShare archive of the
# Kratzert et al. (2019) runs is not fetched in CI (those tests run locally with PYHAZARDS_ORACLE_LARGE=1).
# The official UrbanFloodCast DNO (no licence; test oracle only) needs torch, numpy, scipy and matplotlib,
# which this suite has.
- suite: flood
python: "3.12"
torch: torch
requirements: tests/oracle/requirements-flood.txt
references: neuralhydrology ealstm_regional_modeling flood-forecasting floodhub_weights UrbanFloodCast
tests: >-
tests/oracle/test_neuralhydrology_oracle.py
tests/oracle/test_google_flood_forecasting_oracle.py
tests/oracle/test_urbanfloodcast_oracle.py
# HydroGraphNet: NVIDIA PhysicsNeMo's MeshGraphKAN, physics loss, rollout and HydroGraphDataset, imported
# from the pinned checkout. PyTorch Geometric + torch_scatter (CPU wheels up to torch 2.12) and the
# packages `import physicsnemo` needs; see requirements-physicsnemo.txt.
- suite: physicsnemo
python: "3.12"
torch: torch==2.12.0 torchvision==0.27.0
requirements: tests/oracle/requirements-physicsnemo.txt
references: physicsnemo
tests: tests/oracle/test_hydrographnet_oracle.py
# TerraTorch 0.99.8 (the Prithvi-EO-2.0 BurnScars training stack) needs Python >= 3.12 and
# torch 2.6. The 1.3 GB checkpoints are not fetched in CI; those tests run locally.
- suite: prithvi
python: "3.12"
torch: torch==2.6.0 torchvision==0.21.0
requirements: tests/oracle/requirements-prithvi.txt
references: prithvi_eo2_tl_model_code prithvi_burnscars_config prithvi_burnscars_example
tests: tests/oracle/test_prithvi_oracle.py
# Earthquake phase pickers: the official PhaseNet (TF1 graph), EQTransformer and GPD (Keras) run on
# TensorFlow 2.11 with their released weights; SeisBench 0.12.6 (GPL-3.0) is a second oracle.
# WaveCastNet's official PyTorch code and both released checkpoints (40 MB, 66 MB, Google Drive),
# and EQNet's backbone / heads (AI4EPS/EQNet, non-commercial: oracle only) need only torch and numpy.
- suite: earthquake
python: "3.10"
torch: torch
requirements: tests/oracle/requirements-earthquake.txt
references: >-
PhaseNet EQTransformer generalized-phase-detection seisbench_phasenet_original
seisbench_eqtransformer_original seisbench_eqtransformer_original_nonconservative
seisbench_gpd_original WaveCastNet wavecastnet_dense_checkpoint wavecastnet_sparse_checkpoint
EQNet EQNet-2022
tests: >-
tests/oracle/test_picking_metrics_oracle.py
tests/oracle/test_phasenet_oracle.py
tests/oracle/test_eqtransformer_oracle.py
tests/oracle/test_gpd_oracle.py
tests/oracle/test_seisbench_reader_oracle.py
tests/oracle/test_wavecastnet_oracle.py
tests/oracle/test_eqnet_oracle.py
steps:
- uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}

- name: Cache reference implementations and weights
uses: actions/cache@v4
with:
path: |
~/.cache/pyhazards-oracles
~/.cache/torch/hub
key: oracles-${{ matrix.suite }}-${{ hashFiles('tests/oracle/repos.yaml') }}

- name: Install system packages
if: matrix.apt != ''
run: sudo apt-get update && sudo apt-get install -y ${{ matrix.apt }}

- name: Install dependencies (CPU Torch + reference packages)
run: |
python -m pip install --upgrade pip
if [ -n "${{ matrix.torch }}" ]; then
python -m pip install ${{ matrix.torch }} --index-url https://download.pytorch.org/whl/cpu
fi
python -m pip install pytest
python -m pip install -r ${{ matrix.requirements }}
python -m pip install -e .

- name: Fetch pinned reference implementations
if: matrix.references != ''
run: python scripts/fetch_oracles.py --dest ~/.cache/pyhazards-oracles ${{ matrix.references }}

- name: Oracle tests
run: |
export PYHAZARDS_ORACLE_DIR="$HOME/.cache/pyhazards-oracles"
mkdir -p "$PYHAZARDS_ORACLE_DIR"
export PYHAZARDS_ORACLE_REQUIRED=1
export DGLBACKEND=pytorch
export KERAS_BACKEND=torch
python -m pytest ${{ matrix.tests }} -v -rs
12 changes: 3 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ Intended users:
- **Wildfire**: danger forecasting, weekly forecasting, spread baselines, fuels, burn products, and active-fire sources.
- **Earthquake**: waveform picking, dense-grid forecasting adapters, and linked benchmark ecosystems for picking and forecasting.
- **Flood**: streamflow and inundation baselines with benchmark-backed evaluation paths.
- **Tropical Cyclone**: track-and-intensity forecasting baselines plus shared benchmark ecosystems and adapters.
- **Tropical Cyclone**: track-and-intensity forecasting baselines, IBTrACS / TCND / SHIPS readers, and cyclone tracks from global weather models (FourCastNet, GraphCast, Pangu-Weather) via trackers and published forecasts (`pyhazards.forecasts`).

## Installation

Expand Down Expand Up @@ -90,14 +90,8 @@ python -c "import pyhazards; print(pyhazards.__version__)"
```python
from pyhazards.models import build_model

model = build_model(
name="hydrographnet",
task="regression",
node_in_dim=2,
edge_in_dim=3,
out_dim=1,
)
print(type(model).__name__)
model = build_model(name="hydrographnet", task="regression") # PhysicsNeMo's MeshGraphKAN
print(type(model).__name__, sum(p.numel() for p in model.parameters())) # HydroGraphNet 2318722
```

3. Run a benchmark-aligned smoke configuration:
Expand Down
Loading
Loading