Skip to content

Tempest Extreme wrapper script#1337

Draft
AnnaKwa wants to merge 12 commits into
mainfrom
scripts/tempest-extreme-wrapper
Draft

Tempest Extreme wrapper script#1337
AnnaKwa wants to merge 12 commits into
mainfrom
scripts/tempest-extreme-wrapper

Conversation

@AnnaKwa

@AnnaKwa AnnaKwa commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

Wrapper for tempest extreme code. Can be pointed to a zarr dataset, will stream and convert to temporary netcdfs to input to TE.

AnnaKwa added 12 commits June 30, 2026 14:05
downscale_events.py locates tropical cyclones in an ACE global output
zarr via a PRMSL + 10m wind-speed filter, tracks centroids across
snapshots, and emits a fme.downscaling.predict config with a moving 4x4
degree box per snapshot, named <event_name>_<snapshot_date>.

stitch_event_movie.py groups the predict.py event .nc outputs by event
name and animates each cyclone's track: the high-res downscaled patch
moves with the storm over upsampled coarse background, with the full
frame spanning the union of all snapshot boxes.
Scan the ACE zarr chunk-by-chunk, writing each time chunk to a temporary
NetCDF that DetectNodes reads and that is deleted before the next chunk, so
only one chunk lives on disk at a time. Candidate nodes are concatenated
across chunks (valid for StitchNodes since DetectNodes scores each timestep
independently). Adds --tmp-dir, fails fast if the TempestExtremes binaries
are missing, and drops the persistent-NetCDF conversion path.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant