Skip to content

Commit

Permalink
Merge pull request #107 from eurodatacube/cv-geodb-integrate
Browse files Browse the repository at this point in the history
feat: add CV indicator from geodb
  • Loading branch information
lubojr authored Mar 7, 2024
2 parents b47407c + 1de8fc5 commit 3481220
Show file tree
Hide file tree
Showing 6 changed files with 28 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Here are preloaded preview links for the catalogs available through gh-pages:

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.
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).
Expand Down
2 changes: 1 addition & 1 deletion catalogs/race.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,4 +78,4 @@ collections:
- OX_EU_Crude_Oil_Storage_Index
# - OW_Covid_19_vaccinations
- GG_Google_Mobility_Data_RACE
# - CV_Covid_19_cases
- CV_Covid_19_cases
1 change: 1 addition & 0 deletions catalogs/trilateral.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -94,3 +94,4 @@ collections:
- GG_Google_Mobility_Data_trilateral
- E13c_shipping_activity
- E13b_parked_airplanes
- CV_Covid_19_cases_trilateral
6 changes: 4 additions & 2 deletions collections/CV_Covid_19_cases.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Title: Covid-19 Cases
EodashIdentifier: CV
Description: CV_Covid_19_cases/CV.md
Themes:
- economy
- health
Tags:
- placeholder
Satellite:
Expand All @@ -16,4 +16,6 @@ Resources:
- EndPoint: https://xcube-geodb.brockmann-consult.de/eodash/6bf15325-f6a0-4b6a-bf80-a2491753f8f2/
Name: GeoDB
Database: eodash
CollectionId: Covid_cases # TODO
CollectionId: Global_COVID_data
AdditionalQueryString: 'aoi_id=in.("AL","AT","BA","BE","BG","CH","CZ","DE","DK","EE","ES","FI","FR","GB","GR","HR","HU","IE","IT","LT","LU","LV","MK","MT","NL","NO","PL","PT","RO","RS","SE","SI","SK","TR","XK")'
IdKey: 'aoi_id'
20 changes: 20 additions & 0 deletions collections/CV_Covid_19_cases_trilateral.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
Name: CV_Covid_19_cases_trilateral
Title: Covid-19 Cases
EodashIdentifier: CV
Description: CV_Covid_19_cases/CV.md
Themes:
- covid-19
Tags:
- placeholder
Satellite:
- placeholder
Sensor:
- placeholder
Agency:
- ESA
Resources:
- EndPoint: https://xcube-geodb.brockmann-consult.de/eodash/6bf15325-f6a0-4b6a-bf80-a2491753f8f2/
Name: GeoDB
Database: eodash
CollectionId: Global_COVID_data
IdKey: 'aoi_id'
2 changes: 1 addition & 1 deletion collections/GG_Google_Mobility_Data_RACE.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ Resources:
Name: GeoDB
Database: eodash
CollectionId: Mobility_data
AdditionalQueryString: 'aoi_id=in.("AT","BA","BE","BG","CH","CZ","DE","DK","EE","EG","ES","FI","FR","GB","GR","HR","HU","IE","IT","LT","LU","LV","MK","MT","NL","NO","PL","PT","RO","RS","RU","SE","SI","SK","TR")'
AdditionalQueryString: 'aoi_id=in.("AL","AT","BA","BE","BG","CH","CZ","DE","DK","EE","ES","FI","FR","GB","GR","HR","HU","IE","IT","LT","LU","LV","MK","MT","NL","NO","PL","PT","RO","RS","SE","SI","SK","TR","XK")'
IdKey: 'aoi_id'

0 comments on commit 3481220

Please sign in to comment.