Add IBTrACS USA wind buffers pipeline#14
Closed
t-downing wants to merge 5 commits into
Closed
Conversation
Reads USA quadrant wind radii from PROD ibtracs_tracks_geo, computes per-storm wind buffer polygons using ocha-lens, and writes to DEV storms.ibtracs_wind_buffers. Supports --basin and --start-year filters for partial runs.
- New storms.nhc_wind_buffers table: one row per (atcf_id, issued_time, wind_speed_kt)
- nhc-wind-buffers subcommand reads NHC forecast tracks from PROD and writes buffers to DEV
- Refactored both pipelines to write in batches of 50 as calculation proceeds, keeping the DB connection alive and making runs crash-safe
- Fixed expand_quad_col in ocha-lens to handle JSON [] format (NHC) alongside PostgreSQL {} format (IBTrACS)
Contributor
Author
|
Superseded by #15. All commits on this branch ( Closing — please review there. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
storms.ibtracs_wind_bufferstable (one row per storm per wind speed threshold: 34/50/64 kt)src/pipelines/wind_buffers.pyreads USA quadrant wind radii from PRODibtracs_tracks_geo, callsocha-lensbuffer calculation functions, and writes to DEVwind-bufferssubcommand inrun_pipeline.pywith optional--basinand--start-yearfiltersDepends on the
usa-wind-buffersPR in ocha-lens being merged first (forcalculate_wind_buffers_gdfandexpand_quad_col).Usage
Test plan