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

Serve SWOB station for surface, partner and marine #355

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
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
114 changes: 114 additions & 0 deletions deploy/default/msc-pygeoapi-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1197,6 +1197,120 @@ resources:
id_field: id
time_field: date_tm-value

swob-station:
type: collection
title:
en: Surface Weather Observations Stations
fr: Stations d'observations météorologiques à la surface
description:
en: Surface Observations measured at the automatic and manual stations of the Environment and Climate Change Canada and partners networks, either for a single station, or for the stations of specific provinces and territories (last 30 days).
fr: Observations de surface mesurées aux stations automatiques et manuelles des réseaux d'Environnement et Changement climatique Canada et de ses partenaires soit pour une seule station, soit pour les stations de provinces et territoires spécifiques (30 derniers jours).
keywords:
en: [surface, observations, weather, station]
fr: [surface, observations, météo, station]
crs:
- CRS84
links:
- type: text/html
rel: canonical
title:
en: Stations of in situ observations
fr: Stations d'observations
href:
en: https://eccc-msc.github.io/open-data/msc-data/obs_station/readme_obs_insitu_swobdatamart_en
fr: https://eccc-msc.github.io/open-data/msc-data/obs_station/readme_obs_insitu_swobdatamart_fr
hreflang:
en: en-CA
fr: fr-CA
extents:
spatial:
bbox: [-142, 42, -52, 84]
crs: http://www.opengis.net/def/crs/OGC/1.3/CRS84
temporal:
begin: null
end: null # or empty
providers:
- type: feature
name: Elasticsearch
data: ${MSC_PYGEOAPI_ES_URL}/swob-surface-stations
id_field: id

swob-partner-station:
type: collection
title:
en: Surface Weather Observations Stations - Partners
fr: Stations d'observations météorologiques à la surface - Partenaires
description:
en: Surface Observations measured at the automatic and manual stations of the Environment and Climate Change Canada and partners networks, either for a single station, or for the stations of specific provinces and territories (last 30 days).
fr: Observations de surface mesurées aux stations automatiques et manuelles des réseaux d'Environnement et Changement climatique Canada et de ses partenaires soit pour une seule station, soit pour les stations de provinces et territoires spécifiques (30 derniers jours).
keywords:
en: [surface, observations, weather, station]
fr: [surface, observations, météo, station]
crs:
- CRS84
links:
- type: text/html
rel: canonical
title:
en: Stations of in situ observations
fr: Stations d'observations
href:
en: https://eccc-msc.github.io/open-data/msc-data/obs_station/readme_obs_insitu_swobdatamart_en
fr: https://eccc-msc.github.io/open-data/msc-data/obs_station/readme_obs_insitu_swobdatamart_fr
hreflang:
en: en-CA
fr: fr-CA
extents:
spatial:
bbox: [-142, 42, -52, 84]
crs: http://www.opengis.net/def/crs/OGC/1.3/CRS84
temporal:
begin: null
end: null # or empty
providers:
- type: feature
name: Elasticsearch
data: ${MSC_PYGEOAPI_ES_URL}/swob-partner-stations
id_field: id

swob-marine-station:
type: collection
title:
en: Surface Weather Observations Stations - Marine
fr: Stations d'observations météorologiques à la surface - Marine
description:
en: Surface Observations measured at the automatic and manual stations of the Environment and Climate Change Canada and partners networks, either for a single station, or for the stations of specific provinces and territories (last 30 days).
fr: Observations de surface mesurées aux stations automatiques et manuelles des réseaux d'Environnement et Changement climatique Canada et de ses partenaires soit pour une seule station, soit pour les stations de provinces et territoires spécifiques (30 derniers jours).
keywords:
en: [surface, observations, weather, station]
fr: [surface, observations, météo, station]
crs:
- CRS84
links:
- type: text/html
rel: canonical
title:
en: Stations of in situ observations
fr: Stations d'observations
href:
en: https://eccc-msc.github.io/open-data/msc-data/obs_station/readme_obs_insitu_swobdatamart_en
fr: https://eccc-msc.github.io/open-data/msc-data/obs_station/readme_obs_insitu_swobdatamart_fr
hreflang:
en: en-CA
fr: fr-CA
extents:
spatial:
bbox: [-142, 42, -52, 84]
crs: http://www.opengis.net/def/crs/OGC/1.3/CRS84
temporal:
begin: null
end: null # or empty
providers:
- type: feature
name: Elasticsearch
data: ${MSC_PYGEOAPI_ES_URL}/swob-marine-stations
id_field: id

ltce-stations:
type: collection
title:
Expand Down
1 change: 1 addition & 0 deletions msc_pygeoapi/loader/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ def metadata():
('msc_pygeoapi.loader.swob_realtime', 'swob_realtime'),
('msc_pygeoapi.loader.aqhi_realtime', 'aqhi_realtime'),
('msc_pygeoapi.loader.aqhi_stations', 'aqhi_stations'),
('msc_pygeoapi.loader.swob_stations', 'swob_stations'),
('msc_pygeoapi.loader.ltce', 'ltce'),
('msc_pygeoapi.loader.climate_archive', 'climate_archive'),
('msc_pygeoapi.loader.metnotes', 'metnotes'),
Expand Down
Loading
Loading