Skip to content

BUG: raise a clear error for the discontinued NAM forecast shortcut - #1246

Merged
MateusStano merged 3 commits into
developfrom
doc/nam-discontinued
Nov 30, 2026
Merged

MateusStano merged 3 commits into
developfrom
doc/nam-discontinued

Conversation

@Gui-FernandesBR

Copy link
Copy Markdown
Member

Every Read the Docs build of develop fails since 2026-11-06 (latest build): forecast.rst runs set_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 a ValueError pointing 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

Gui-FernandesBR and others added 2 commits November 29, 2026 19:02
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
@Gui-FernandesBR
Gui-FernandesBR requested a review from a team as a code owner November 29, 2026 22:02
@codecov

codecov Bot commented Nov 29, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 87.03%. Comparing base (488e086) to head (6c4b16a).

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.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@MateusStano
MateusStano merged commit d3cf83a into develop Nov 30, 2026
9 checks passed
@MateusStano
MateusStano deleted the doc/nam-discontinued branch November 30, 2026 17:36
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.

2 participants