-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Integration of new endpoint type and additional instance (#41)
* feat: implementing gtif indicator collections; adding xyz visualization for vectortiles * fix: wrong identifier * chore: changing title * feat: adding extra fields needed for client visualization of data to xyz vector link * Update README.md
- Loading branch information
1 parent
1d38b5d
commit a65c25c
Showing
5 changed files
with
165 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,25 @@ | ||
# eodash-catalog | ||
# eodash-catalog | ||
|
||
This repository allows generation of STAC catalogs based on the configuration yaml files provided in the repository. | ||
The configuration options are described in the [Wiki](../../wiki). | ||
|
||
The generation of the catalog runs automatically through github actions when pushing/merging to main branch. | ||
The generated STAC catalogs are deployed through github pages. | ||
|
||
A preview of the catalogs can be seen using the [Stac Browser](https://radiantearth.github.io/stac-browser/#/) | ||
|
||
Here are preloaded preview links for the catalogs available through gh-pages: | ||
* [RACE Instance](https://radiantearth.github.io/stac-browser/#/external/eurodatacube.github.io/eodash-catalog/RACE/catalog.json) | ||
* [Trilateral Instance](https://radiantearth.github.io/stac-browser/#/external/eurodatacube.github.io/eodash-catalog/trilateral/catalog.json) | ||
* [GTIF Instance](https://radiantearth.github.io/stac-browser/#/external/eurodatacube.github.io/eodash-catalog/GTIF/catalog.json) | ||
|
||
In order to run the catalog generation locally you can clone the repository and ideally setup a virtual environment or similar using the requirements.txt contained in the `generators` folder. | ||
If you are using Visual Studio Code you can use the `Python: Create environment...` tool (when pressing Ctrl+Shift+P). | ||
Use of python >=3.10 is recommended. | ||
|
||
Once venv is setup, make sure it is active and run the generator with `python generate_indicators.py`. | ||
Currently there is only one optional flag `-vd` that can be used to activate validation of the catalog (Still WIP). | ||
|
||
The catalogs are saved in the `build` folder. If you want to test the generated catalog locally (either in the Stac Browser or with the eodash client) we recommend using npm [http-server](https://www.npmjs.com/package/http-server), especially to avoid possible CORS issues you can run it for example with following command: | ||
`npx http-server -p 8000 --cors` | ||
when located in the build folder. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
id: "GTIF" | ||
title: "GTIF" | ||
description: "Green Transition Information Factory" | ||
endpoint: "https://eurodatacube.github.io/eodash-catalog/GTIF/" | ||
assets_endpoint: "https://raw.githubusercontent.com/eurodatacube/eodash-assets/main/collections" | ||
collections: | ||
# - E12c_truck_detections_motorways | ||
# - E12c_truck_detections_primary_roads | ||
# - AQ1_aggregated_mobility_data | ||
- AQA_health_risk_index | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
Name: aggregated_mobility_data | ||
Title: Correlation explorer | ||
EodashIdentifier: AQ1 | ||
Subtitle: Aggregated mobility data | ||
Description: AQ1_aggregated_mobility_data/AQ1.md | ||
Themes: | ||
- economy | ||
Tags: | ||
- placeholder | ||
Satellite: | ||
- placeholder | ||
Sensor: | ||
- MODIS | ||
Agency: | ||
- ESA | ||
Provider: | ||
- SISTEMA | ||
Dates: AQ1_aggregated_mobility_data/dates.json # Allows to bypass retrieval of dates | ||
Resources: | ||
- EndPoint: https://xcube-geodb.brockmann-consult.de/geoserver/geodb_debd884d-92f9-4979-87b6-eadef1139394/gwc/service/tms/1.0.0/ | ||
DBEndpoint: https://xcube-geodb.brockmann-consult.de/gtif/f0ad1e25-98fa-4b82-9228-815ab24f5dd1/ | ||
Source: aggregated_trajs_model_satellite_v1 | ||
Name: GeoDB Vector Tiles | ||
Instance: geodb_debd884d-92f9-4979-87b6-eadef1139394 | ||
Database: GTIF | ||
CollectionId: grid_gtif_aggregated_data | ||
TimeKey: timestamp | ||
AdminZoneKey: satellite_id | ||
Parameters: | ||
- satellite_id | ||
- satellite_values | ||
- mean_value | ||
- speed | ||
- congestion_index | ||
- n_trajectories | ||
- motorized_count | ||
- motorized_share |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
Name: health_risk_index | ||
Title: Health Risk Index (ARI) | ||
EodashIdentifier: AQA | ||
Subtitle: Health Risk Index (ARI) | ||
Description: AQ1_health_risk_index/AQA.md | ||
Themes: | ||
- economy | ||
Tags: | ||
- placeholder | ||
Satellite: | ||
- placeholder | ||
Sensor: | ||
- MODIS | ||
Agency: | ||
- ESA | ||
Provider: | ||
- SISTEMA | ||
Resources: | ||
- EndPoint: https://xcube-geodb.brockmann-consult.de/geoserver/geodb_debd884d-92f9-4979-87b6-eadef1139394/gwc/service/tms/1.0.0/ | ||
DBEndpoint: https://xcube-geodb.brockmann-consult.de/gtif/f0ad1e25-98fa-4b82-9228-815ab24f5dd1/ | ||
Source: air_quality_new_id | ||
Name: GeoDB Vector Tiles | ||
Instance: geodb_debd884d-92f9-4979-87b6-eadef1139394 | ||
Database: GTIF | ||
CollectionId: AT_Gemeinden_3857 | ||
TimeKey: time | ||
MatchKey: id_3 | ||
Parameters: | ||
- pm10 | ||
- pm25 | ||
- ihr | ||
- id_3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters