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

API open-data/msc-datamart/ missing city pages #30

Open
radzhome opened this issue Apr 2, 2022 · 3 comments
Open

API open-data/msc-datamart/ missing city pages #30

radzhome opened this issue Apr 2, 2022 · 3 comments

Comments

@radzhome
Copy link

radzhome commented Apr 2, 2022

So these cities appear in the siteMap but do not have an actual page -

[['BC', 's0000846'], ['BC', 's0000847'], ['BC', 's0000849'], ['BC', 's0000850'], ['BC', 's0000851'], ['BC', 's0000852'], ['BC', 's0000853'], ['BC', 's0000854'], ['BC', 's0000856'], ['BC', 's0000867'], ['BC', 's0000868']]

So here for example - https://dd.weather.gc.ca/citypage_weather/xml/siteList.xml

You will notice the record is there

<site code="s0000846">
<nameEn>Coquihalla Highway - Hope to Merritt</nameEn>
<nameFr>route de Coquihalla - de Hope à Merritt</nameFr>
<provinceCode>BC</provinceCode>
</site>

but pages
https://dd.weather.gc.ca/citypage_weather/xml/BC/s0000846_e.xml
https://dd.weather.gc.ca/citypage_weather/xml/BC/s0000846_f.xml

are missing .. the page just before it 845 is there so url pattern seems right -

https://dd.weather.gc.ca/citypage_weather/xml/BC/s0000845_f.xml

@edouardsandrine
Copy link
Collaborator

Thanks for your message.

The high elevation forecasts, (the citypage you mentioned above) for seasonal text bulletin forecasts issued only for British Columbia, are available at the following address :

https://dd.weather.gc.ca/citypage_weather/xml/HEF

See the list:

https://dd.meteo.gc.ca/citypage_weather/docs/site_list_towns_en.csv

Hope it helps

Ref: https://eccc-msc.github.io/open-data/msc-data/citypage-weather/readme_citypageweather-datamart_en/

@radzhome
Copy link
Author

radzhome commented Dec 2, 2022

it does. Thanks! Is there any way to indicate to use HEF for these on the siteList page? If you parse the provinceCode you will not get to HEF ever. Maybe another data point is required here?

@edouardsandrine
Copy link
Collaborator

This will be fixed in a next release, somewhere in spring 2023...

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