Four pinned remote data sources have moved or died
还没有人认领这个 Issue。
评估
调研方向
Start with the four named locations: climada/util/dwd_icon_loader.py:299, climada/entity/exposures/litpop/gpw_population.py:164, and climada/conf/climada.conf:33,36,39; inspect their callers and existing tests. The report gives verified alternatives for some sources, but NOAA requires a decision because the replacement redirects to login. Done means the grid matches the GRIB, user guidance points to reachable data, and no config entry is unreachable by construction.
由索引模型根据 Issue 内容生成。
描述
Describe the bug
| # | Where | Now |
|---|---|---|
| 1 | climada/util/dwd_icon_loader.py:299 |
Pinned grid icon_grid_0028_R02B07_N02.nc.bz2 has 75,948 cells; a current icon-eu-eps GRIB has 342,428 points |
| 2 | climada/entity/exposures/litpop/gpw_population.py:164 |
sedac.ciesin.columbia.edu does not connect (tested from one network) |
| 3 | climada/conf/climada.conf:33 (noaa_url) |
404 |
| 4 | climada/conf/climada.conf:36, :39 |
URLs contain a literal *, and nightlight.py:372 uses them as is |
For 1, the pinned file is still served (HTTP 200). For 2, the URL appears only in a FileNotFoundError message, but it is the only instruction users get for that input.
To Reproduce
import urllib.request
for url in ["http://sedac.ciesin.columbia.edu",
"https://ngdc.noaa.gov/eog/data/web_data/v4composites/"]:
try:
urllib.request.urlopen(url, timeout=30)
except Exception as e:
print(url, type(e).__name__, e)
# sedac: URLError (connection attempt failed)
# ngdc: HTTPError 404
For 1: read numberOfDataPoints of a GRIB from https://opendata.dwd.de/weather/nwp/icon-eu-eps/grib/ with eccodes, and the cell dimension of the pinned grid from https://opendata.dwd.de/weather/lib/cdo/.
Expected behavior
Each pinned source resolves to the data the code expects, or the error message says what to do.
Screenshots
n/a
Climada Version: develop @ 399120f5 (6.1.1-dev)
System Information (please complete the following information):
- Operating system and version: Windows 11 (10.0.26200)
- Python version: 3.12.13
Additional context
n/a
- 主要语言
- Jupyter Notebook
- 星标
- 478
- 派生
- 166
- 平均合并
- 1 天 20 小时
- 30 天内合并 PR
- 2
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
CLIMADA-project/climada_python 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 72/100
CLIMADA-project/climada_python#1337 ·
-
bug
难度 2/5 1-3 小时 新手友好度 85/100
CLIMADA-project/climada_python#1336 ·
-
CartoDB basemaps now need an API key (somewhat urgent)可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭bug
难度 2/5 1-3 小时 新手友好度 72/100
CLIMADA-project/climada_python#1332 · 4 条评论 · 1 个 reaction ·
-
warnings
难度 2/5 1-3 小时 新手友好度 65/100
CLIMADA-project/climada_python#1241 ·
-
ResourceWarning未关闭warnings
难度 2/5 1-3 小时 新手友好度 62/100
CLIMADA-project/climada_python#1239 ·
查看 CLIMADA-project/climada_python 的全部 Issue
相似的 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 77/100
AstrBotDevs/AstrBot#10720 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 83/100
维护者通常 1 天内回复
-
bug: author create/update with an unknown avatarId returns 404 instead of 400 UNKNOWN_REFERENCE可能已有人在做 @Vinu2111 今天认领。 未关闭bug
难度 2/5 1-3 小时 新手友好度 74/100
atomityhq/blog-cms#59 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 70/100
-
area: core
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复