Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Four pinned remote data sources have moved or died

未关闭
#1,321 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
38/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
冷清
技术栈
python
领域
backend, data

调研方向

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 内容生成。

描述

bug

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

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

CLIMADA-project/climada_python 的其他 Issue

查看 CLIMADA-project/climada_python 的全部 Issue

相似的 Issue

更多 Backend & API Design Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。