Repository navigation
BUG: raise a clear error for the discontinued NAM forecast shortcut - #1246
Merged
Merged
Conversation
UCAR THREDDS stopped publishing NAM on 2026-11-03, so file="NAM" loaded a stale dataset and failed with "Chosen launch time is not available". It now raises a ValueError that points to HRRR, RAP or GFS, like HIRESW and GEFS. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01XDW574tsj2yzaQ2JFZusEw
The forecast page ran file="NAM" at build time, which has failed every Read the Docs build of develop since UCAR stopped publishing NAM. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01XDW574tsj2yzaQ2JFZusEw
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01XDW574tsj2yzaQ2JFZusEw
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #1246 +/- ##
========================================
Coverage 87.03% 87.03%
========================================
Files 130 130
Lines 18096 18098 +2
========================================
+ Hits 15750 15752 +2
Misses 2346 2346 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
2 tasks done
MateusStano
approved these changes
Nov 30, 2026
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.
Every Read the Docs build of
developfails since 2026-11-06 (latest build):forecast.rstrunsset_atmospheric_model(type="forecast", file="NAM"), and UCAR THREDDS stopped publishing NAM on 2026-11-03 12Z, so the last file ends on 2026-11-06 18Z and any later launch date raises "Chosen launch time is not available".file="NAM"now raises aValueErrorpointing to HRRR, RAP or GFS, the same way HIRESW and GEFS are blocked, and the forecast page shows that notice instead of executing the example. A NAM file given by path/URL still loads with the"NAM"or"NAM_LEGACY"mapping. This unblocks the docs of #1194.🤖 Generated with Claude Code
https://claude.ai/code/session_01XDW574tsj2yzaQ2JFZusEw