Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Quit working on Nov 26th #11

Open
shme14 opened this issue Dec 27, 2020 · 1 comment
Open

Quit working on Nov 26th #11

shme14 opened this issue Dec 27, 2020 · 1 comment

Comments

@shme14
Copy link

shme14 commented Dec 27, 2020

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"

@igable
Copy link
Owner

igable commented Jan 1, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants