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

Adding Observation Zones to MWAC #889

Open
rustynwac opened this issue Jan 22, 2025 · 1 comment · May be fixed by #904
Open

Adding Observation Zones to MWAC #889

rustynwac opened this issue Jan 22, 2025 · 1 comment · May be fixed by #904
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@rustynwac
Copy link

MWAC had some zones added midseason to their Obs only. They are hoping the app can be updated to reflect what's happening on their website.

Image
@stevekuznetsov
Copy link
Collaborator

These get exposed as alternate_zones in the widget config, we need to download the KML, parse it and use those zones.

$ curl -s https://api.avalanche.org/v2/public/avalanche-center/BTAC | jq --raw-output .widget_config.observation_viewer.alternate_zones
https://nac-web-platforms.s3.us-west-1.amazonaws.com/assets/kml/BTAC_AlternateZones_241202.kml
$ curl -s https://api.avalanche.org/v2/public/avalanche-center/MWAC | jq --raw-output .widget_config.observation_viewer.alternate_zones
https://www.mountwashingtonavalanchecenter.org/wp-content/uploads/obs-kml/MWAC_observation_zones011825.kml

xref #724

@stevekuznetsov stevekuznetsov added enhancement New feature or request good first issue Good for newcomers labels Jan 31, 2025
@wheninseattle wheninseattle linked a pull request Feb 26, 2025 that will close this issue
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants