Queries the Sensor Information System of the Alfred-Wegener-Institut, Helmholtz-Zentrum für Polar- und Meeresforschung (AWI).
This is an example optionset plugin, to show how to gather information from other systems.
It was created during the RDMO Hackathon 2023.
Install the plugins in your RDMO virtual environment using pip (directly from GitHub):
pip install git+https://github.com/hafu/rdmo-sensor-awiOr when editing the code you can put the code a folder beneath your RDMO installation and install it with:
pip install -e ../rdmo-sensor-awiAdd the plugin to the OPTIONSET_PROVIDERS in config/settings/local.py:
OPTIONSET_PROVIDERS = [
('awisensors', _('AWI Sensors'), 'sensor_awi.providers.SensorAWIProvider'),
]Add the plugin to the INSTALLED_APPS in config/settings/local.py, so that Django Signals get loaded:
INSTALLED_APPS = ['sensor_awi'] + INSTALLED_APPSAfter restarting RDMO, the Sensor AWI should be selectable as a provider option for option sets.