Live data from Hacker News

Show HN: Weather API for non-commercial use

open-meteo.com

131–140 of 154 posts

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

#131

Earlier quoted context omitted.

The app hit the DarkSky API free tier limit, so it's displaying mock data. There is a little message at the bottom. (Probably didn't snow two days ago, either...) This API still works: https://uw.leftium.com/?api=openweather

Wasn't DarkSky scheduled for closure by the end of the year?

Yes, I thought my project would die with the DarkSky API, but then I found some other free API's:

- https://uw.leftium.com/?api=openweather

- https://uw.leftium.com/?api=visualcrossing

I kept DarkSky the default API because it tends to be the fastest. (And it used to be the most accurate? These days openweather seems to predict the rain better.)

However, soon Open-Meteo will be the default API!

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

#132

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.

UltraWeather uses the openweather geocoding API[1]:

https://openweathermap.org/api/geocoding-api

Pretty generous free tier, and paid options seem pretty reasonable.

[1]: https://github.com/Leftium/ultra-weather#specify-a-location

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

#133

Earlier quoted context omitted.

Hi Geoff, I currently build ensemble based modelling solutions for bushfire/wildfire. Weather is a significant component in how fire behaves and is forecast. Whilst I have access commercially to several models and meteorologists through work I'd be keen on chatting with you a little further about the possibility of including fire weather metrics in your forecasts, or at least using the data in bulk if possible to inc…

Sure, what kind of fire weather metrics could be added? Can they be derived from soil moisture, temperature, wind, humidity? Or are you referring to gridded fire indices from a different source? For now I would refrain to include data that is non-date or has restrictive licences. You can find my email on the open-meteo site and drop me some information

Just to give you a quick reply here, because its late here:

Yes, the basic fire weather metrics are derived from the factors you mentioned. Different places globally have some different measures, but I can speak to Australia, Greece, Portugal, California style setups. Northern US and Canadian pine forests are a little more outside my area of knowledge, but could locate more info easily enough.

I wouldn't wish to pursue a project using commercial IP or introduce additional costs where none should exist.

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

#134
Thank you, this project looks really great. I was taken aback to see how many free or freemium weather APIs have been closed or made paid-only over the years (mainly after being bought up by huge companies). For my open-source dashboard project [1], I've chosen one of the few remaining APIs: OpenWeatherMap. It offers a generous free tier, but the results are not as accurate (at least for Germany). I'll definitely consider switching over to your API in the future.

[1] https://dashboard.darekkay.com/

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

#135

Earlier quoted context omitted.

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

I was thinking to use the geonames location database and build a simple fuzzy search engine around it. What wikidata objects are you referring to?

Maybe human settlement (Q486972) or city/town (Q7930989)? I haven't checked, but I would guess most of them have some coordinate location (P625), especially the bigger ones.

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

#136
post #101

Earlier quoted context omitted.

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/

That worked very well for my very rural Cornwall location too, impressive. As with most of these services was completely mislead by the VPN on my work machine.

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

#137

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.

I recently contributed to https://github.com/tomayac/local-reverse-geocoder - while it's a reverse geocoder, it a ready template for downloading OSM cities data and searching through it.

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

#138
post #81

Earlier quoted context omitted.

Thanks for your suggestions! I will add precipitation probability as soon as I include 14-day ensemble weather models. Deterministic whether models usually do not offer this directly. I also really like the 2 days historical access :) At some point I would like to add more, but the storage requirements skyrocket quickly. Not only in space, but also disk IO to perform in-place updates. For air quality data I want to a…

I wrote my top-level comment about missing ensemble forecasts[1] before I saw this answer of yours. Is the German weather service offering the public access to ensemble forecasts? And, more critically, since I like your API: will you offer public access to ensemble forecasts? That would make my life better. [1]: https://news.ycombinator.com/item?id=28520616

German weather service does offer ensemble weather forecast. You can find it here - https://opendata.dwd.de/weather/nwp/icon-eps/grib/. DWD also has excellent documentation.

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

#139
post #95

Earlier quoted context omitted.

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?

I run a service (https://oikolab.com) that has hourly data going back 70 years.

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

#140

You weather guys on here might also want to talk to the oikolab dude who posted on HN 9 months ago - I was thinking of incorporating weather data into my trading models so he graciously granted an API key but haven't had time much to use it viably as you kind of have to know what you're doing/how you intend to map trading outcomes and causal first-order effects on the climate grid to actual events that can be traded…

Thanks for the hint. I did not know them yet

Hello. Fantastic project! My focus is on providing historical data (I do have forecasts but is more secondary focus). Would be happy to chat.
Post reply on HN