Hacker News new | ask | show | jobs
by jszymborski 1374 days ago
I usually used Darksky for the hourly percipitation forecast. It helped me time things out.

For fellow Canadians who used it similarly, the Canadian Gov't has a pretty handy hourly forecast[0].

The radar is also nice [1].

[0] https://www.weather.gc.ca/forecast/hourly/qc-147_metric_e.ht...

[1] https://www.weather.gc.ca/map_e.html?layers=radar&zoom=-1&ce...

1 comments

Agree. I have trusted the Environment Canada forecasts for years. Web and basic app. The government-issued stuff isn't as featureful or pretty as some apps, but I go back to it every time because its track record here (Vancouver) has been good to me.

I wish there was an API or non-scraping approach to retrieve the daily & hourly forecasts. With the popularity of open data policies on tax-funded public data... it seems there should be.

I'm pretty sure this - https://api.weather.gc.ca/ - is what you're looking for. It looks like they expose lots of data via an API, including the 7 day forecast.

For example this should be the Vancouver forecast - https://dd.weather.gc.ca/citypage_weather/xml/BC/s0000141_e....

I think this is the hourly data - though in a slightly odd format - https://dd.weather.gc.ca/nowcasting/matrices/

Edit: Aha found the nowcast docs - https://eccc-msc.github.io/open-data/msc-data/nwp_nowcasting...

Nice! That hourly data link ("*matrices") looks easy enough to parse. Thank you!