Skip to content

Fix GEFS chem.5 URL and FastHerbie warning denominator - #530

Merged
blaylockbk merged 1 commit into
blaylockbk:mainfrom
jacob1299:fix/issues-523-516
Apr 20, 2026
Merged

Fix GEFS chem.5 URL and FastHerbie warning denominator#530
blaylockbk merged 1 commit into
blaylockbk:mainfrom
jacob1299:fix/issues-523-516

Conversation

@jacob1299

@jacob1299 jacob1299 commented Apr 17, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Fix GEFS chem.5 resolving to the 0.25° bucket path — now points to chem/pgrb2ap5/... a3d_0p50.f{fxx}.grib2
  • Fix FastHerbie "Could not find X/Y GRIB files" warning: denominator was len(file_exists) instead of total
  • Add regression test for GEFS chem.5 URL construction

Fixes #516
Fixes #523

Test plan

  • pytest tests/test_gefs.py — passes (incl. new test_gefs_chem5_uses_half_degree_path)
  • Verified chem.5 URL resolves to a real file on S3 (HEAD 200)
  • Confirmed chem.25 path is unchanged

@jacob1299
jacob1299 marked this pull request as ready for review April 17, 2026 23:12
@blaylockbk
blaylockbk merged commit 81b7f59 into blaylockbk:main Apr 20, 2026
11 checks passed
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.

Confusing warning message in FastHerbie? GEFS chem .25 data downloaded when requesting chem.5

2 participants