Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 35 additions & 0 deletions deploy/default/msc-pygeoapi-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4530,6 +4530,41 @@ resources:
data: ${MSC_PYGEOAPI_ES_URL}/coastal_flood_risk_index
id_field: id

weather-alerts:
type: collection
title:
en: Weather alerts
fr: Alertes météo
description:
en: "Environment Canada issues weather alerts about weather related hazards in order to notify those in affected areas so that they can take steps to protect themselves and their property from harm. Alerts are classified depending on the severity and timing of the subject event and include: warnings, watches, advisories and statements. Warnings are usually issued six to 24 hours in advance, although some severe weather (such as thunderstorms and tornadoes) can occur rapidly, with less than a half hours' notice."
fr: "Environnement Canada publie des alertes météo lorsque le temps est menaçant pour informer les personnes se trouvant dans les zones touchées afin qu'elles puissent prendre des mesures pour se protéger et protéger leurs biens. Le type d'alerte utilisé dépend de la gravité et du moment de l'événement et inclut : les avertissements, les veilles, les avis et les bulletins. Les avertissements sont habituellement émis entre 6 et 24 heures à l'avance, même si certains phénomènes violents (par exemple les orages et les tornades) peuvent se produire rapidement, avec un avis de moins d'une demi-heure."
keywords:
en: [Weather warnings, Precipitation, Snow, Wind, Storms, Floods]
fr: [Alerte météorologique, Précipitation, Neige, Vent, Tempête, Inondation]
crs:
- CRS84
links:
- type: text/html
rel: canonical
title:
en: Meteorological Service of Canada open data
fr: Données ouvertes du Service météorologique du Canada
href:
en: https://eccc-msc.github.io/open-data/msc-data/readme_en
fr: https://eccc-msc.github.io/open-data/msc-data/readme_fr
hreflang:
en: en-CA
fr: fr-CA
extents:
spatial:
bbox: [-145.27, 37.3, -48.11, 87.61]
crs: http://www.opengis.net/def/crs/OGC/1.3/CRS84
providers:
- type: feature
name: Elasticsearch
data: ${MSC_PYGEOAPI_ES_URL}/alerts-realtime
id_field: id

raster-drill:
type: process
processor:
Expand Down
6 changes: 5 additions & 1 deletion msc_pygeoapi/loader/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,12 @@
#
# Author: Tom Kralidis <[email protected]>
# Felix Laframboise <[email protected]>
# Louis-Philippe Rousseau-Lambert
# <[email protected]>
#
# Copyright (c) 2023 Tom Kralidis
# Copyright (c) 2021 Felix Laframboise
# Copyright (c) 2023 Tom Kralidis
# Copyright (c) 2025 Louis-Philippe Rousseau-Lambert
#
# Permission is hereby granted, free of charge, to any person
# obtaining a copy of this software and associated documentation
Expand Down Expand Up @@ -61,6 +64,7 @@ def metadata():
('msc_pygeoapi.loader.forecast_polygons', 'forecast_polygons'),
('msc_pygeoapi.loader.marine_weather_realtime', 'marine_weather'),
('msc_pygeoapi.loader.cap_alerts_realtime', 'cap_alerts'),
('msc_pygeoapi.loader.alerts_realtime', 'alerts_realtime'),
('msc_pygeoapi.loader.swob_realtime', 'swob_realtime'),
('msc_pygeoapi.loader.aqhi_realtime', 'aqhi_realtime'),
('msc_pygeoapi.loader.aqhi_stations', 'aqhi_stations'),
Expand Down
Loading