Add iotools reader for DWD 10-minute station data (Germany)
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 55/100
Direzione di ricerca
Start by reviewing existing readers in pvlib.iotools and the DWD dataset descriptions linked in the issue. Implement the reader for the SOLAR and TU products, handling timestamps, units, missing values, quality levels, and station metadata as specified; add synthetic test files for both formats. Done when the requested data and metadata are returned correctly and the tests cover these behaviors.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Is your feature request related to a problem? Please describe.
The German Weather Service (DWD) publishes 10-minute measurements from about 200 stations through its Climate Data Center as open data (CC BY 4.0): global, diffuse and long-wave irradiance, sunshine duration, air temperature, humidity, pressure and dew point, with records back to 1989. Reading them correctly takes a few non-obvious steps: irradiance is given in J/cm² summed over the preceding 10 minutes, time stamps are MEZ (UTC+1) before 2000 and UTC afterwards, missing values are −999, and data and station metadata come in per-station zip files. pvlib has readers for several US networks and BSRN, but none for a European national network.
Describe the solution you'd like
A pvlib.iotools.read_dwd_10min(filename, map_variables=True) that reads a CDC zip (or the extracted produkt_zehn_min_*.txt) for the solar (SOLAR) and air temperature (TU) products and returns (data, metadata):
- a UTC
DatetimeIndex, labelled at the end of each 10-minute interval as in the source, documented in the docstring; - irradiance converted to W/m² and mapped to
ghi,dhi,lwd;temp_air,relative_humidity,pressure(Pa),temp_dew; −999 as NaN; the quality levelQNkept; - station id, name, latitude, longitude and elevation in
metadata.
Optionally a get_dwd_10min(station_id, product, period) that downloads from opendata.dwd.de (historical, recent or now). I would be glad to implement this with small synthetic test files if it fits the scope of iotools.
Describe alternatives you've considered
Users write their own parsers; existing third-party packages that wrap the DWD open data are general-purpose download clients and do not return pvlib variable names, units or interval conventions.
Additional context
Format and units are described in DWD's dataset descriptions, e.g. opendata.dwd.de/climate_environment/CDC/observations_germany/climate/10_minutes/solar/DESCRIPTION_obsgermany_climate_10min_solar_en.pdf (and the same for air_temperature).
Prepared with AI assistance (Claude); I reviewed it.
- Lingua principale
- Python
- Stelle
- 1.7k
- Fork
- 1.2k
- Merge medio
- 3g 18h
- PR unite (30g)
- 13
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di pvlib/pvlib-python
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
pvlib/pvlib-python#2903 · 5 commenti · 2 reazioni ·
I maintainer di solito rispondono entro 1 giorno
-
use offset parameter instead of calculating bday in cdromForse già presa @chenyi6758-source l’ha presa 1 giorno fa. Aperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 92/100
pvlib/pvlib-python#2902 ·
I maintainer di solito rispondono entro 1 giorno
-
Add an example or documentation on using 'bhi' from ERA5Forse di nuovo libera @anshurajbisoyi98-ctrl l’ha presa 16 giorni fa e non c’è nessuna pull request aperta. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
pvlib/pvlib-python#2880 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Use "long-wave" rather than "infra-red" to refer to thermal radiation.Forse di nuovo libera @Rahi-padwal l’ha presa 254 giorni fa e non c’è nessuna pull request aperta. Apertaapi easy
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
pvlib/pvlib-python#2653 · 6 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
question
Difficoltà 1/5 1-3 ore Idoneità per principianti 72/100
pvlib/pvlib-python#2637 · 10 commenti ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di pvlib/pvlib-python
Issue simili
-
Edit tool converts CRLF files to LFForse già presa @RaphaelFakhri l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
huggingface/tau#774 ·
I maintainer di solito rispondono entro 1 giorno
-
show ignores the row limit when a column or table name contains "limit"Forse già presa @RaphaelFakhri l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
I maintainer di solito rispondono entro 2 giorni
-
documentation good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
eclipse-score/inc_someip_gateway#356 ·
I maintainer di solito rispondono entro 2 giorni