Skip to content

Commit

Permalink
serve swob station for surface, partner and marine
Browse files Browse the repository at this point in the history
  • Loading branch information
BrunoFang committed Oct 4, 2024
1 parent ab4615b commit a55acf7
Show file tree
Hide file tree
Showing 3 changed files with 578 additions and 0 deletions.
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

0 comments on commit a55acf7

Please sign in to comment.