data-gc-ca-api
data-gc-ca-api copied to clipboard
Quit working on Nov 26th
Hey, whenever I try retrieving temperature now I get "Unable to open the data url: http://dd.weatheroffice.ec.gc.ca/citypage_weather/xml/siteList.xml"
Thanks for reporting this. It looks like like the domain was moved. There is a notice on the data portal webpage: https://open.canada.ca/data/en/dataset/1f864766-7f7f-4be7-8292-295065c65c78
Looks like the new domain is:
dd.weatheroffice.ec.gc.ca
has changed to:
dd.weather.gc.ca
You can fix this temporarily by replacing these two lines: https://github.com/igable/data-gc-ca-api/blob/master/data_gc_ca_api/cityweather.py#L26
I'll look at a new release that fixes this early in the new year.