Add iotools reader for DWD 10-minute station data (Germany)
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 55/100
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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.
- Lenguaje dominante
- Python
- Estrellas
- 1.7k
- Forks
- 1.2k
- Merge medio
- 3 d 18 h
- PR fusionados (30 d)
- 13
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de pvlib/pvlib-python
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
pvlib/pvlib-python#2903 · 2 comentarios · 2 reacciones ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 92/100
pvlib/pvlib-python#2902 ·
Los mantenedores suelen responder en 1 día
-
Add an example or documentation on using 'bhi' from ERA5Quizá libre de nuevo @anshurajbisoyi98-ctrl la tomó hace 13 días y no hay ningún pull request abierto. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
pvlib/pvlib-python#2880 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
Use "long-wave" rather than "infra-red" to refer to thermal radiation.Quizá libre de nuevo @Rahi-padwal la tomó hace 251 días y no hay ningún pull request abierto. Abiertoapi easy
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
pvlib/pvlib-python#2653 · 6 comentarios ·
Los mantenedores suelen responder en 1 día
-
question
Dificultad 1/5 1-3 horas Aptitud para principiantes 72/100
pvlib/pvlib-python#2637 · 10 comentarios ·
Los mantenedores suelen responder en 1 día
Todos los issues de pvlib/pvlib-python
Issues similares
-
`lvm_compact` has no self-hosted twin, and `docs/158` §5 says every language-face component mustAbiertobug sev-3 vm
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
sierra-research/tau2-bench#635 ·
Los mantenedores suelen responder en 1 día
-
The add-ssm-model skill requires a Cython simulator; the contributing guide allows Python onesPosiblemente ocupada @fmuia la tomó hoy. Abiertodocumentation skill
Dificultad 2/5 1-3 horas Aptitud para principiantes 83/100
lnccbrown/ssm-simulators#406 ·
Los mantenedores suelen responder en 4 días
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 95/100
btclib-org/btclib-ecc#309 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
autowarefoundation/autoware_carla_scenario#281 ·
Los mantenedores suelen responder en 1 día