You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I love using the Python Meteostat API for getting access to meteo data through Daily() function. Unfortunately, Daily() doesn't include Min, average and Max humidity but Hourly() have humidity data.
Today, if i want to get the min, avg and max humidity data, i have to use Hourly() in order to have the 24 hours data for extract the min, avg and the max data of humidity of the day.
It's true - there's a lack of humidity data in the daily dumps. Same for dew point and weather conditions. While we could certainly add the suggested aggregations, it would come at the cost of performance regression. It's similar to this issue: meteostat/jasper#5
With aggregated data we have to decide which parameters matter most. When I built the bulk data interface & the Python lib, I choose the ones which seemed obvious to me. However, I'm aware that this is heavily use case-dependent.
I created an issue #62 for parameter requests/discussion.
Hi everyone,
I love using the Python Meteostat API for getting access to meteo data through Daily() function. Unfortunately, Daily() doesn't include Min, average and Max humidity but Hourly() have humidity data.
Today, if i want to get the min, avg and max humidity data, i have to use Hourly() in order to have the 24 hours data for extract the min, avg and the max data of humidity of the day.
Python code:
hourly_data = Hourly(location, start_date, end_date)
min_humidity = hourly_data.dict['_data']['rhum'].min()
avg_humidity = hourly_data.dict['_data']['rhum'].avg()
max_humidity = hourly_data.dict['_data']['rhum'].max()
Daily() documentation: https://dev.meteostat.net/python/daily.html#api
Hourly() documentation: https://dev.meteostat.net/python/hourly.html#api
Is it possible to add min, avg and max humidity directly in Hourly() result ?
Thank you
The text was updated successfully, but these errors were encountered: