Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Four pinned remote data sources have moved or died

Aperta
#1,321 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 3 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
38/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Tranquilla
Stack tecnologico
python
Ambito
backend, data

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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

Lingua principale
Jupyter Notebook
Stelle
478
Fork
166
Merge medio
2g 31m
PR unite (30g)
4

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di CLIMADA-project/climada_python

Tutte le issue di CLIMADA-project/climada_python

Issue simili

Altre issue su Backend & API Design

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.