From 4542ab9e72661dcf5bf49a23a46b912ee47bf178 Mon Sep 17 00:00:00 2001 From: Tom Kralidis Date: Sun, 30 Jun 2024 15:45:28 -0400 Subject: [PATCH] updates following #162 --- .../docs/publishing/ogcapi-coverages.md | 34 ++++++----- workshop/exercises/data/README.md | 7 +++ workshop/exercises/pygeoapi.config.yml | 58 ++++++++++--------- 3 files changed, 55 insertions(+), 44 deletions(-) diff --git a/workshop/content/docs/publishing/ogcapi-coverages.md b/workshop/content/docs/publishing/ogcapi-coverages.md index a2250fc..7b4b77f 100644 --- a/workshop/content/docs/publishing/ogcapi-coverages.md +++ b/workshop/content/docs/publishing/ogcapi-coverages.md @@ -31,27 +31,29 @@ In the previous exercises we have demonstrated the steps involved to publish vec ``` {.yaml linenums="1"} tartu-ntl: type: collection - title: Night Time Light Data - description: Night Time Light Data averaged for 2023 in Tartu region. + title: NASA Blue Marble Night Lights Data sample over Estonia + description: NASA Blue Marble Night Lights Data sample over Estonia keywords: - - Night Time Light + - Blue Marble + - Night Lights + - NTL links: - - type: text/html - rel: canonical - title: Nasa's Black Marble - href: https://blackmarble.gsfc.nasa.gov/ - hreflang: it + - type: text/html + rel: about + title: NASA Blue Marble Night Lights Data + href: https://appliedsciences.nasa.gov/get-involved/training/english/arset-introduction-nasas-black-marble-night-lights-data + hreflang: en extents: spatial: - bbox: [26.6264,58.32569,26.82632,58.433989] - crs: http://www.opengis.net/def/crs/OGC/1.3/CRS84 + bbox: [26.6264,58.32569,26.82632,58.433989] + crs: http://www.opengis.net/def/crs/OGC/1.3/CRS84 providers: - - type: coverage - name: rasterio - data: /data/tartu/estonia_light.tif # place correct path here - format: - name: GTiff - mimetype: application/tiff + - type: coverage + name: rasterio + data: /data/tartu/estonia_light.tif # place correct path here + format: + name: GTiff + mimetype: application/tiff ``` !!! tip diff --git a/workshop/exercises/data/README.md b/workshop/exercises/data/README.md index c694864..f8c2ace 100644 --- a/workshop/exercises/data/README.md +++ b/workshop/exercises/data/README.md @@ -76,3 +76,10 @@ This directory provides sample data to demonstrate functionality. - description: Ruumiandmekogum "Eesti topograafia andmekogu - transport" hõlmab Eesti topograafia andmekogu (ETAK) reaalsusmudeli transpordi gruppi koondatud reaalse maailma nähtuseid, mis on klassifitseeritud nähtusklassideks - copyright: Keskkonnaagentuur - license: CC BY-SA 3.0 + +### NASA Blue Marble Night Lights Data sample over Estonia +- title: [./tartu/estonia_light.tif](./tartu/estonia_light.tif) +- url: https://blackmarble.gsfc.nasa.gov/ +- description: At night, satellite images of Earth capture a uniquely human signal--artificial lighting. Remotely-sensed lights at night provide a new data source for improving our understanding of interactions between human systems and the environment. NASA has developed the Black Marble, a daily calibrated, corrected, and validated product suite, so nightlight data can be used effectively for scientific observations. Black Marble is playing a vital role in research on light pollution, illegal fishing, fires, disaster impacts and recovery, and human settlements and associated energy infrastructures. +- copyright: NASA +- license: CC0 diff --git a/workshop/exercises/pygeoapi.config.yml b/workshop/exercises/pygeoapi.config.yml index 4b54d48..49b0a26 100644 --- a/workshop/exercises/pygeoapi.config.yml +++ b/workshop/exercises/pygeoapi.config.yml @@ -254,30 +254,33 @@ resources: ## END - EXERCISE 2 - cadastral parcels Tartu ## START - EXERCISE 3 - Coverages - # tartu-ntl: - # type: collection - # title: Night Time Light Data - # description: Night Time Light Data averaged for 2023 in Tartu region. - # keywords: - # - Night Time Light - # links: - # - type: text/html - # rel: canonical - # title: Nasa's Black Marble - # href: https://blackmarble.gsfc.nasa.gov/ - # hreflang: it - # extents: - # spatial: - # bbox: [26.6264,58.32569,26.82632,58.433989] - # crs: http://www.opengis.net/def/crs/OGC/1.3/CRS84 - # providers: - # - type: coverage - # name: rasterio - # data: /data/tartu/estonia_light.tif # place correct path here - # format: - # name: GTiff - # mimetype: application/tiff +# tartu-ntl: +# type: collection +# title: NASA Blue Marble Night Lights Data sample over Estonia +# description: NASA Blue Marble Night Lights Data sample over Estonia +# keywords: +# - Blue Marble +# - Night Lights +# - NTL +# links: +# - type: text/html +# rel: about +# title: NASA Blue Marble Night Lights Data +# href: https://appliedsciences.nasa.gov/get-involved/training/english/arset-introduction-nasas-black-marble-night-lights-data +# hreflang: en +# extents: +# spatial: +# bbox: [26.6264,58.32569,26.82632,58.433989] +# crs: http://www.opengis.net/def/crs/OGC/1.3/CRS84 +# providers: +# - type: coverage +# name: rasterio +# data: /data/tartu/estonia_light.tif # place correct path here +# format: +# name: GTiff +# mimetype: application/tiff ## END - EXERCISE 3 - Coverages + ## START - EXERCISE 4 - Tiles # bathingwater-estonia: # type: collection @@ -420,13 +423,12 @@ resources: name: HelloWorld ## START EXERCISE 8 - Functions via OGC API - Processes - # squared: - # type: process - # processor: - # name: pygeoapi.process.squared.SquaredProcessor +# squared: +# type: process +# processor: +# name: pygeoapi.process.squared.SquaredProcessor ## END EXERCISE 8 - Functions via OGC API - Processes - ## START - EXERCISE 9 - WFS Proxy # suol_epicentri_storici: # type: collection