Tutorials
On this page are a set of tutorials, provided by the many contributing initiatives. If you see something here that requires updating or would like to add to this documentation, please consult the page on contributing to this documentation.
Calling a OGC API Processes service with Python
Below is an example of how to call a OGC API Process services within Python code. Birdhouse provides the test suite nandu, compliant with the OGC API Processes.
from owslib.ogcapi.processes import Processes
nandu = Processes(url="http://localhost:5000")
nandu.api()
Clients and services are currently under development and will be provided by the upcoming releases.
Calling a WPS service with Python
To call a WPS service from Python, birdy is provided as an interaction client.
from birdy import WPSClient
emu = WPSClient(url="http://localhost:5000/wps")
emu_i = WPSClient(url="http://localhost:5000/wps", progress=True)
emu.hello(name="Birdy").get()[0]
# Run a long running process
result = emu_i.sleep(delay="1.0")
result.get()[0]
Further tutorials on how to run the birdy client can be found at birdy documentation
For more information on PyWPS, please have a look on WPS Tutorials
Calculating Climate Indices
Finch is providing services to calculate climate indices widely used in climate change adaptation planing processes. Have a look on the examples of the finch documentation, where executable jupyter notebooks are provided on how to calculate climate indices.
Running hydrological models
raven is providing hydrological models for e.g. hydro-power controlling and sustainable planing. Have a look on the examples of the raven documentation: Hydrological Model
Artificial Intelligence enhanced climate services
Extreme event detection and prediction methods for cyclone activity, droughts, heatwaves or floods, using artificial intelligence have been developed in the CLINT Project. Juypter Notebooks on how to handle and run these processes are provided in the Climate Intelligence CLINT Project