Skip to content

hafu/rdmo-sensor-awi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages