Add iotools reader for DWD 10-minute station data (Germany)
維護者通常 1 天內回覆
還沒有人認領這個 Issue。
評估
研究方向
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.
由索引模型根據 Issue 內容生成。
描述
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.
- 主要語言
- Python
- 星號
- 1.7k
- 分支
- 1.2k
- 平均合併
- 3 天 18 小時
- 30 天內合併 PR
- 13
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
pvlib/pvlib-python 的其他 Issue
-
bug
難度 2/5 1-3 小時 新手友好度 78/100
pvlib/pvlib-python#2903 · 5 則留言 · 2 個 reaction ·
維護者通常 1 天內回覆
-
難度 1/5 1 小時以內 新手友好度 92/100
pvlib/pvlib-python#2902 ·
維護者通常 1 天內回覆
-
Add an example or documentation on using 'bhi' from ERA5可能重新可做 @anshurajbisoyi98-ctrl 於 14 天前認領,目前沒有進行中的 PR。 未關閉
難度 2/5 1-3 小時 新手友好度 66/100
pvlib/pvlib-python#2880 · 2 則留言 ·
維護者通常 1 天內回覆
-
Use "long-wave" rather than "infra-red" to refer to thermal radiation.可能重新可做 @Rahi-padwal 於 252 天前認領,目前沒有進行中的 PR。 未關閉api easy
難度 2/5 1-3 小時 新手友好度 62/100
pvlib/pvlib-python#2653 · 6 則留言 ·
維護者通常 1 天內回覆
-
question
難度 1/5 1-3 小時 新手友好度 72/100
pvlib/pvlib-python#2637 · 10 則留言 ·
維護者通常 1 天內回覆
查看 pvlib/pvlib-python 的全部 Issue
相似的 Issue
-
documentation good first issue help wanted
難度 2/5 1-3 小時 新手友好度 72/100
drevendev/HungryCrab#273 ·
維護者通常 1 天內回覆
-
good first issue help wanted
難度 2/5 1-3 小時 新手友好度 76/100
drevendev/BeautifulRepo#19 ·
維護者通常 2 天內回覆
-
Moonshot: Kimi K3 always sends `reasoning_effort="max"`, though the API now accepts `low` and `high`未關閉accepted
難度 2/5 1-3 小時 新手友好度 78/100
UKGovernmentBEIS/inspect_ai#5939 ·
維護者通常 1 天內回覆
-
bug linux
難度 2/5 1-3 小時 新手友好度 75/100
維護者通常 1 天內回覆
-
area:data data-quality
難度 2/5 1-3 小時 新手友好度 68/100
reacher-z/Awesome-CUA#1468 ·
維護者通常 1 天內回覆