This workshop was given twice as part of the EUMETNET project RODEO, in the context of Work Package 5 (Climate data). The workshop was first given on 2024-06-13 and 2024-06-14 in Helsinki, Finland. The second time took place in Vienna, on 2025-04-08 and 2025-04-09. The third in Zagreb, on 2025-10-07 and 2025-10-08.
See the slides of the workshop if you would like to follow along.
Clone this repository
git clone https://github.com/EURODEO/ogc-edr-workshop.git
cd ogc-edr-workshopGo to branch step_0 if you would like to follow the workshop steps. The main branch contains the full example.
git checkout step_0It is recommended to use a Python virtual environment.
python3 -m venv venv/You can install dependencies using pip3 or pip-sync (from the pip-tools package)
pip3 install -r requirements.txtor
pip3 install pip-tools
pip-syncRun the API in debug mode using
uvicorn main:app --reloadThis automatically reloads the API if you make any changes to the source. It is also possible to start uvicorn directly using:
python3 main.pyIn Pycharm or Visual Studio Code, add main.py Python3 run configuration. This
will start uvicorn while still allowing to do step debugging inside the IDE.
A good place to visualize GeoSJON is here. For CoverageJSON you can use the Playground.
To update the dependencies you can change requirements.in and run pip-compile from the pip-tools package.
pip3 install pip-tools
pip-compile --upgrade --no-emit-index-url