This is how we can use this function:
get_data_from_wetterdienst(dataset="temperature_air", year=2021, coords=(49.0, 8))
--> Loading temperature_air data from German Weather Service station: Bergzabern, Bad (Rheinland-Pfalz), distance: 11.9 km.
0 3.2
...
8758 10.5
Name: value, Length: 8760, dtype: float64
get_data_from_wetterdienst(dataset="solar", year=2021, coords=sample_coords)
--> Loading solar data from German Weather Service station: Mannheim (Baden-Württemberg), distance: 83.8 km.
0 0.0
...
8759 0.0
Name: radiation_global, Length: 8760, dtype: float64