MNT: replace or retire the NAM, HIRESW, NOMADS ensemble and Windy forecast sources
维护者通常 3 天内回复
还没有人认领这个 Issue。
评估
调研方向
Start with Environment.set_atmospheric_model and the Windy request path in fetch_atmospheric_data_from_windy; the issue says failed requests currently end in UnboundLocalError. Decide whether to deprecate Windy or support its official API, and make failures report a clear error. The remaining work includes evaluating RRFS projection and pressure levels, finding replacement ensemble sources, and deciding which fetchers and mappings to remove, so done requires resolving those open questions and updating the affected shortcuts.
由索引模型根据 Issue 内容生成。
描述
Problem
Several forecast sources in Environment.set_atmospheric_model no longer work,
because the services behind them were retired or changed:
- NAM was retired by NOAA on 2026-11-03 12Z and replaced by RRFS
(SCN 26-47,
SCN 26-48).
The last NAM file on UCAR THREDDS ends on 2026-11-06 18:00. - HIRESW was retired by the same notices, also replaced by RRFS.
- NOMADS no longer serves OPeNDAP at all. Every
https://nomads.ncep.noaa.gov/dods/...URL now returns "OpenDAP format has
been retired" (Service Change Notice 25-81). Every fetcher that reads from
NOMADS is dead: HIRESW (fetch_hiresw_file_return_dataset), the GEFS ensemble
(fetch_gefs_ensemble,gens_bc) and the CMC ensemble (fetch_cmc_ensemble,
cmcens). - Windy:
type="Windy"callsnode.windy.com/forecast/meteogram/..., an
undocumented internal endpoint. It returns 404 for every model, and so do the
othernode.windy.compaths tried. Windy's official
Point Forecast API v2 works, but
it takes a POST request with an API key.
What is already handled
file="HIRESW"andtype="ensemble", file="GEFS"already raise a clear
ValueErrorondevelop, and CMC is no longer offered as a shortcut.- #1246 does the same for
file="NAM"(pointing to RAP, HRRR or GFS) and fixes
the docs build, which broke on the live NAM example. A NAM file given by path
or URL still loads with the"NAM"or"NAM_LEGACY"mapping.
What is left
-
Windy is not handled. A failed request ends, after five retries (about
60 s), inUnboundLocalError: ... 'response', because
fetch_atmospheric_data_from_windyswallows the request error. Either move
type="Windy"to the official API with a user-supplied key, or deprecate it;
until then, raise a clear error when the request fails. -
Replacements for the blocked shortcuts. RRFS is on UCAR THREDDS, in the
"Rapid Refresh Forecast System (RRFS)" section of the
forecast model catalog:grib/NCEP/RRFS/NA_13km/Bestuses the same variable names as RocketPy's
NAMmapping (Temperature_isobaric,Geopotential_height_isobaric,
u-component_of_wind_isobaric,v-component_of_wind_isobaric), but its
grid uses a polar stereographic projection (NAM used a Lambert conformal
one), and it has only 9 pressure levels, from 1000 to 200 hPa, so the
profile stops near 12 km and is coarse;grib/NCEP/RRFS/NA_3km/Bestis also there, with a different variable
layout;- RRFS runs every hour; the 00, 06, 12 and 18 UTC cycles forecast out to
84 h.
A
file="RRFS"shortcut could replace NAM and HIRESW, after checking the
projection handling and whether 9 levels are enough. GEFS and CMC need
another ensemble source; THREDDS may serve one, not checked yet. -
Dead code. The blocked shortcuts still have their fetchers, exported
fromrocketpy.environment.fetchers, and theirWeatherModelMapping
entries. Decide which to deprecate and remove (keeping the mappings that
still read files given by path).
Open questions
- Does Windy's free API tier return usable data, or is a paid key needed?
- The retry decorator (
exponential_backoff) also retries client errors such as
a 404, so a dead service takes about a minute to report. Should it stop on
those?
- 主要语言
- Python
- 星标
- 1.1k
- 派生
- 280
- 平均合并
- 3 天 2 小时
- 30 天内合并 PR
- 24
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
RocketPy-Team/RocketPy 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 76/100
RocketPy-Team/RocketPy#1255 ·
维护者通常 3 天内回复
-
难度 1/5 1 小时以内 新手友好度 92/100
RocketPy-Team/RocketPy#1241 ·
维护者通常 3 天内回复
-
难度 2/5 1-3 小时 新手友好度 84/100
RocketPy-Team/RocketPy#1202 ·
维护者通常 3 天内回复
-
Monte Carlo test fixtures write their logs into the working directory可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 2/5 1-3 小时 新手友好度 72/100
RocketPy-Team/RocketPy#1189 ·
维护者通常 3 天内回复
-
难度 2/5 1-3 小时 新手友好度 74/100
RocketPy-Team/RocketPy#1171 · 1 条评论 ·
维护者通常 3 天内回复
查看 RocketPy-Team/RocketPy 的全部 Issue
相似的 Issue
-
docs(contributing): the two things that silently block a PR可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭available documentation good first issue
难度 1/5 1-3 小时 新手友好度 95/100
Nixitov/Riptide-Native#944 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 88/100
JTHCode/secretguard#24 ·
维护者通常 1 天内回复
-
area: middleware documentation good first issue
难度 2/5 1-3 小时 新手友好度 88/100
-
enhancement good first issue
难度 2/5 1-3 小时 新手友好度 88/100
维护者通常 1 天内回复
-
good first issue
难度 1/5 1 小时以内 新手友好度 95/100
omarelshamy25x/shamy-hijri#63 ·
维护者通常 1 天内回复