Add iotools reader for DWD 10-minute station data (Germany)
Les mainteneurs répondent en général sous 1 jour
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Accessibilité débutants
- 55/100
Piste de recherche
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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
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.
- Langage dominant
- Python
- Étoiles
- 1.7k
- Forks
- 1.2k
- Merge moyen
- 3 j 18 h
- PR mergées (30 j)
- 13
Préparer son environnement
- Aucun Dockerfile ni fichier Docker Compose
- Propose un modèle de pull request
- Lire le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de pvlib/pvlib-python
-
bug
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
pvlib/pvlib-python#2903 · 5 commentaires · 2 réactions ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 1/5 Moins d'une heure Accessibilité débutants 92/100
pvlib/pvlib-python#2902 ·
Les mainteneurs répondent en général sous 1 jour
-
Add an example or documentation on using 'bhi' from ERA5Peut-être à nouveau libre @anshurajbisoyi98-ctrl l’a pris il y a 14 jours, et aucune pull request n’est ouverte. Ouverte
Difficulté 2/5 1-3 heures Accessibilité débutants 66/100
pvlib/pvlib-python#2880 · 2 commentaires ·
Les mainteneurs répondent en général sous 1 jour
-
Use "long-wave" rather than "infra-red" to refer to thermal radiation.Peut-être à nouveau libre @Rahi-padwal l’a pris il y a 252 jours, et aucune pull request n’est ouverte. Ouverteapi easy
Difficulté 2/5 1-3 heures Accessibilité débutants 62/100
pvlib/pvlib-python#2653 · 6 commentaires ·
Les mainteneurs répondent en général sous 1 jour
-
question
Difficulté 1/5 1-3 heures Accessibilité débutants 72/100
pvlib/pvlib-python#2637 · 10 commentaires ·
Les mainteneurs répondent en général sous 1 jour
Toutes les issues de pvlib/pvlib-python
Issues similaires
-
Difficulté 2/5 1-3 heures Accessibilité débutants 77/100
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 76/100
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 67/100
webrecorder/warcio#209 ·
-
bug
Difficulté 2/5 1-3 heures Accessibilité débutants 76/100
Jeffy123-zhu/logspecter#20 ·
-
Difficulté 1/5 Moins d'une heure Accessibilité débutants 85/100
Les mainteneurs répondent en général sous 1 jour