Four pinned remote data sources have moved or died
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 38/100
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
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
- Vorherrschende Sprache
- Jupyter Notebook
- Sterne
- 478
- Forks
- 166
- Ø Merge
- 1 T. 20 Std.
- Gemergte PRs (30 T.)
- 2
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Hat eine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus CLIMADA-project/climada_python
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
CLIMADA-project/climada_python#1337 ·
-
bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 85/100
CLIMADA-project/climada_python#1336 ·
-
CartoDB basemaps now need an API key (somewhat urgent)Evtl. vergeben Ein verknüpfter Pull Request ist offen oder bereits gemergt. Offenbug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
CLIMADA-project/climada_python#1332 · 4 Kommentare · 1 Reaktion ·
-
warnings
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 65/100
CLIMADA-project/climada_python#1241 ·
-
ResourceWarningOffenwarnings
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 62/100
CLIMADA-project/climada_python#1239 ·
Alle Issues in CLIMADA-project/climada_python
Ähnliche Issues
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
Azure-Samples/azure-search-openai-demo#3249 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 67/100
Maintainer antworten meist innerhalb von 1 Tag
-
Type: Bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 65/100
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
espresso3389/pdfrx#776 ·
Maintainer antworten meist innerhalb von 1 Tag