Skip to content

Commit

Permalink
try to find well working wetterdienst version
Browse files Browse the repository at this point in the history
  • Loading branch information
k-rieck committed Dec 18, 2024
1 parent ab8d15d commit 35fa4b5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions hisim/components/weather_data_import.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ def dwd_10min_request(
ts_interpolation_use_nearby_station_distance=40,
)

parameters = [DwdObservationParameter.MINUTE_10.TEMPERATURE_AIR_MEAN_2M,
parameters = [DwdObservationParameter.MINUTE_10.TEMPERATURE_AIR_MEAN_200,
DwdObservationParameter.MINUTE_10.PRESSURE_AIR_SITE,
DwdObservationParameter.MINUTE_10.WIND_DIRECTION,
DwdObservationParameter.MINUTE_10.WIND_SPEED,
Expand Down Expand Up @@ -240,7 +240,7 @@ def dwd_10min_request(
)
print("Write Weather Data into Dataframe.")
temperature_dwd_df = (
values[values["parameter"] == "temperature_air_mean_2m"]
values[values["parameter"] == "temperature_air_mean_200"]
.groupby("date")["value"]
.apply(lambda x: ", ".join(map(str, x)))
.reset_index()
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@ ordered_set
typing_extensions
python-dotenv
windpowerlib # ==0.2.1
wetterdienst==0.97.0
wetterdienst==0.63.0
cdsapi
xarray

0 comments on commit 35fa4b5

Please sign in to comment.