Live data from Hacker News

Show HN: Weather API for non-commercial use

open-meteo.com

101–110 of 154 posts

Re: Show HN: Weather API for non-commercial use

#101
post #3

I've investigated and tried several (free) weather API's for my web app: https://uw.leftium.com . Open-Meteo looks pretty good! The only thing that seems to be missing for me is precipitation probability. The weathercode is sort of a proxy for this... I'm also interested in sunrise/sunset times; direct_radiation is kind of a proxy for this. Kudos for providing optional historical data with the same API call for the f…

Mind sharing what location service you are using ? You nailed both my wired and 4g location, and I live in a small village here in Spain.

Re: Show HN: Weather API for non-commercial use

#102
post #101
post #3

I've investigated and tried several (free) weather API's for my web app: https://uw.leftium.com . Open-Meteo looks pretty good! The only thing that seems to be missing for me is precipitation probability. The weathercode is sort of a proxy for this... I'm also interested in sunrise/sunset times; direct_radiation is kind of a proxy for this. Kudos for providing optional historical data with the same API call for the f…

Mind sharing what location service you are using ? You nailed both my wired and 4g location, and I live in a small village here in Spain.

https://ip-api.com/

Re: Show HN: Weather API for non-commercial use

#103

I like the UI generating the URL to send to the API vs just a PDF of all of the possible key/value pairs to generate manually. A little above&beyond for most APIs I've used personally. Its effort not lost on me.

Glad you like it! Bootstrap v5 helped a lot :)

I hope to improve the UX a bit further with a city-search for example. Unfortunately I am lacking a good geocoding API for that.

Re: Show HN: Weather API for non-commercial use

#104
post #95

Does anyone know where I can get accurate weather data from remote locations (in India)? I've been meaning to do some analysis on historical weather data to try and understand the impact of climate change, and all the open APIs I have tried have inaccurate data. Data for Manali in India: https://api.open-meteo.com/v1/forecast?latitude=32.2432&long... When the actual low is 12 celsius and high is 20 celsius, this show…

You can check the Norwegian service Yr.no. https://www.yr.no/en/details/table/2-1263968/India/Tamil%20N... https://hjelp.yr.no/hc/en-us/articles/360001940793-Free-weat...

Thanks, this is one of the more accurate ones I've seen, it's still a bit off (3-4 degrees). Do you know where I can get historical data going back at least 10 years?

Re: Show HN: Weather API for non-commercial use

#105
post #80

One thing I'm missing from virtually every weather service is access to ensemble forecasts. Meteorologists internally deal in ensemble forecasts, but never, as far as I know, publish them. All public data has been condensed down to a single forecast. The ensemble forecast would -- I imagine -- give me an idea of the internal variability of the forecast for a single hour/day, which I could feed into my personal loss f…

The ECMWF provide meteograms which show the ensemble spread for their global forecasts: https://www.ecmwf.int/en/forecasts/charts/web/classical_mete... . That webpage has a lot is great visualisations

Ooh, thats pretty much exactly what I've been looking for. Cheers!

Re: Show HN: Weather API for non-commercial use

#106
post #80

One thing I'm missing from virtually every weather service is access to ensemble forecasts. Meteorologists internally deal in ensemble forecasts, but never, as far as I know, publish them. All public data has been condensed down to a single forecast. The ensemble forecast would -- I imagine -- give me an idea of the internal variability of the forecast for a single hour/day, which I could feed into my personal loss f…

Including ensemble forecasts into Open-Meteo is already on my backlog. And yes, this will return those 90% confidence intervals. Forecast variability is difficult to express. For example precipitation probability describes how likely rain is given the forecasted atmospheric conditions. Instead some people assume it is raining in 10% of an area. Making use of probabilities it also tricky. If you run an ice cream shop,…

Based just on the probability of rain, yes, that would be hard. But if I ran an ice cream shop, I would keep a simple record of the relationship between rain amounts and customers, pad it with a fat safety margin and the rest is just plugging in the numbers from the forecast.

Re: Show HN: Weather API for non-commercial use

#107
post #70

Earlier quoted context omitted.

Currently only the past 2 days are available. To add more historical data is in the backlog [0]. Do you have an application in mind? Which weather variables over which timeframe? [0] https://github.com/open-meteo/open-meteo/issues/27

I don't have an application per se, but I'd like to see the historical temps and rainfall for my town of the past... 20 years? :) I've seen pages like Weather Spark that give you historical averages, but I would like to see how the weather has (or not) changed over a long period.

As linked from elsewhere in the thread: https://oikolab.com/

Re: Show HN: Weather API for non-commercial use

#108

Earlier quoted context omitted.

Can you share who your vendor/host is? In another comment you mentioned that you're mmap'ing files on SSDs... on vendors like GCP that sort of hardware (especially the storage volume you'd need to have access to a handful of the local/global models, as you reference on your website) isn't particularly cheap if you want to have 100% uptime. A cheaper/scalable approach instead would be to re-process your data into an a…

The host is netcup in Germany. I use regular KVMs. Yes, the amount of storage can be an issue, but I want to stay below 500GB of hot-data. One bottleneck is network traffic to copy updated files after each weather model update. My binary files are just plain Float16 files without an meta data. Logically they similar to 3D Zarr files. I know exactly which bytes I have to read and the kernel cache helps a look to keep…

Curious how much this would cost you to do from Google cloud storage or aws. Historical data access can be quite valuable (and something that might be a premium paid feature even).

Re: Show HN: Weather API for non-commercial use

#109
post #39

Earlier quoted context omitted.

Nice app! Could you please include Celsius as option?

If you're referring to https://uw.leftium.com/ , tap the temperature in landscape mode ;) The app defaults to F because it gives the more "human" temperature range.

> The app defaults to F because it gives the more "human" temperature range.

It because you are american. For europeans using celsius this is more like hieroglyphs (but I understand it works same other way around).

Re: Show HN: Weather API for non-commercial use

#110

I like the UI generating the URL to send to the API vs just a PDF of all of the possible key/value pairs to generate manually. A little above&beyond for most APIs I've used personally. Its effort not lost on me.

Glad you like it! Bootstrap v5 helped a lot :) I hope to improve the UX a bit further with a city-search for example. Unfortunately I am lacking a good geocoding API for that.

You could export Wikidata objects if it is good enough for you to cover 99% of all places.
Post reply on HN