yotkadata / meteo_hist

A web app to create interactive temperature and precipitation graphs for places around the world
https://yotka.org/meteo-hist/
Other
42 stars 3 forks source link

Feature request - all available data as reference period #4

Open pcontrerasnun opened 1 year ago

pcontrerasnun commented 1 year ago

This is not to report an issue, just a feature request

I know WMO sets 30 years period for reference periods but I always find it interesting to compare current year with all available periods. So I was thinking that adding a new option to the Reference Period drop down list to select "all available years/periods" would be interesting if doesn't need too many resources to plot the graphs with 50+ years of data

Great work, I love the app!

btw: how often does data get updated? I'm checking data for Madrid and last available data is 24th August 2023

yotkadata commented 1 year ago

Thanks for the feedback. I'll look into this as soon as I can. Actually the very first version was using all the data - then I switched to periods as recommended by WMO. But I suppose it's possible to add the option.

The data is always fetched directly from open-meteo.com, but they have a delay of multiple days. You can see it on their website, too. This query with Sep 1st as end date currently gives values to Aug 25th:

https://open-meteo.com/en/docs/historical-weather-api#latitude=40.4165&longitude=-3.7026&end_date=2023-09-01&hourly=&daily=temperature_2m_mean&timezone=Europe%2FBerlin

pcontrerasnun commented 1 year ago

Just leaving another idea here :) Be to be able to compare not just one year but multiple years against a Reference Period.

yotkadata commented 1 year ago

That one would need some more changes, but I'll try to look into it if I find the time. Thanks for reporting.