Skip to content

Latest commit

 

History

History
38 lines (25 loc) · 1.17 KB

README.md

File metadata and controls

38 lines (25 loc) · 1.17 KB

RDMO Sensor AWI optionset plugin

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.

Setup

Install the plugins in your RDMO virtual environment using pip (directly from GitHub):

pip install git+https://github.com/hafu/rdmo-sensor-awi

Or when editing the code you can put the code a folder beneath your RDMO installation and install it with:

pip install -e ../rdmo-sensor-awi

Add 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_APPS

After restarting RDMO, the Sensor AWI should be selectable as a provider option for option sets.