data-gc-ca-api icon indicating copy to clipboard operation
data-gc-ca-api copied to clipboard

Quit working on Nov 26th

Open shme14 opened this issue 5 years ago • 1 comments

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"

shme14 avatar Dec 27 '20 02:12 shme14

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.

igable avatar Jan 01 '21 01:01 igable