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.
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-workshop
Go to branch step_0
if you would like to follow the workshop steps. The main
branch contains the full example.
git checkout step_0
It 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.txt
or
pip3 install pip-tools
pip-sync
Run the API in debug mode using
uvicorn main:app --reload
This automatically reloads the API if you make any changes to the source. It is also possible to start uvicorn directly using:
python3 main.py
In 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