Skip to content

Commit

Permalink
update CPW loader to include 7day/hourly forecasts, warnings, sunrise…
Browse files Browse the repository at this point in the history
…/sunset
  • Loading branch information
Dukestep committed Sep 26, 2024
1 parent 3fe7424 commit 42ca71f
Show file tree
Hide file tree
Showing 4 changed files with 3,306 additions and 410 deletions.
80 changes: 39 additions & 41 deletions deploy/default/msc-pygeoapi-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -679,47 +679,45 @@ resources:
- DAYS_WITH_VALID_SUNSHINE
- COOLING_DEGREE_DAYS
- HEATING_DEGREE_DAYS

# current-conditions:
# type: collection
# title:
# en: Current Weather Conditions - City Page Weather [experimental]
# fr: Conditions météorologiques actuelles - Prévisions météorologiques par ville [experimentale]
# description:
# en: Current conditions for select Canadian cities
# fr: Conditions actuelles pour une sélection de villes canadiennes
# keywords:
# en: [Meteorology, Weather]
# fr: [Météorologie, Temps]
# crs:
# - CRS84
# links:
# - type: text/html
# rel: canonical
# title:
# en: Weather forecast files by city
# fr: Prévisions météorologiques par ville
# href:
# en: https://eccc-msc.github.io/open-data/msc-data/citypage-weather/readme_citypageweather_en/
# fr: https://eccc-msc.github.io/open-data/msc-data/citypage-weather/readme_citypageweather_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
# temporal:
# begin: null
# end: null # or empty
# providers:
# - type: feature
# default: true
# name: Elasticsearch
# data: ${MSC_PYGEOAPI_ES_URL}/current_conditions
# id_field: identifier
# time_field: timestamp

citypageweather:
type: collection
title:
en: City Page Weather [experimental]
fr: Prévisions météorologiques par ville [experimentale]
description:
en: Provides current conditions, forecasts, warnings and regional normals for a selection of Canadian cities.
fr: Fournit les conditions actuelles, les prévisions, les avertissements et les normales régionales pour une sélection de villes canadiennes.
keywords:
en: [Meteorology, Weather]
fr: [Météorologie, Temps]
crs:
- CRS84
links:
- type: text/html
rel: canonical
title:
en: Weather forecast files by city
fr: Prévisions météorologiques par ville
href:
en: https://eccc-msc.github.io/open-data/msc-data/citypage-weather/readme_citypageweather_en/
fr: https://eccc-msc.github.io/open-data/msc-data/citypage-weather/readme_citypageweather_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
temporal:
begin: null
end: null # or empty
providers:
- type: feature
default: true
name: msc_pygeoapi.provider.cpw_elasticsearch.CPWElasticsearchProvider
data: ${MSC_PYGEOAPI_ES_URL}/citypageweather_realtime
id_field: identifier
time_field: lastUpdated
climate-daily:
type: collection
title:
Expand Down
Loading

0 comments on commit 42ca71f

Please sign in to comment.