1. IPM DSS

1.1. import modules

[1]:
#from openalea.dss.ipm_DSS import DSSHub,DSSdata
from openalea.dss.ipm_DSS import Hub
import pandas

1.2. Access to DSS catalog

[2]:
hub = Hub()
hub.list_dss(ViewDataFrame=True)
[2]:
Modelid DSSid name description endpoint
0 no.nibio.vips PSILARTEMP Carrot rust fly temperature model {'other': 'The warning system model «Carrot ru... https://coremanager.vips.nibio.no/models/PSILA...
1 no.nibio.vips DELIARADIC Cabbage fly flight period temperature model {'other': 'The model determines the flight per... https://coremanager.vips.nibio.no/models/DELIA...
2 no.nibio.vips MAMESTRABR Cabbage moth model {'other': 'The model for the warning system fo... https://coremanager.vips.nibio.no/models/MAMES...
3 no.nibio.vips PSILAROBSE Carrot rust fly observation model {'other': 'The warning system model is based o... https://coremanager.vips.nibio.no/models/PSILA...
4 no.nibio.vips DELIARFOBS Cabbage root fly and turnip fly observation model {'other': 'The warning system model is based o... https://coremanager.vips.nibio.no/models/DELIA...
5 no.nibio.vips NAERSTADMO Nærstad model {'other': 'The model is based on several years... https://coremanager.vips.nibio.no/models/NAERS...
6 no.nibio.vips ALTERNARIA Alternaria TOMCAST {'other': 'TOMCAST is based on a model that wa... https://coremanager.vips.nibio.no/models/ALTER...
7 no.nibio.vips NEGPROGMOD Negative prognosis {'other': 'From a specific date (50% germinati... https://coremanager.vips.nibio.no/models/NEGPR...
8 no.nibio.vips SEPAPIICOL Septoria apiicola model {'other': 'This model is based on a calculatio... https://coremanager.vips.nibio.no/models/SEPAP...
9 no.nibio.vips BREMIALACT Bremia lactucae (Downy mildew of lettuce) model {'other': 'TODO ', 'created_by': '', 'age': ''... https://coremanager.vips.nibio.no/models/run/ipmd
10 adas.datamanipulation CIBSEsingleday CIBSE hourly temperature for a single day {'other': 'This model calculates hourly temper... http://web1.adas.co.uk/adas_datamanipulation/a...
11 adas.datamanipulation CIBSEmultipledays CIBSE hourly temperature for multiple days {'other': 'This model calculates hourly temper... http://web1.adas.co.uk/adas_datamanipulation/a...
12 adas.datamanipulation Sin14R-1singleday Sin14R-1 hourly temperature for a single day {'other': 'This model calculates hourly temper... http://web1.adas.co.uk/adas_datamanipulation/a...
13 adas.datamanipulation Sin14R-1multipledays Sin14R-1 hourly temperature for multiple days {'other': 'This model calculates hourly temper... http://web1.adas.co.uk/adas_datamanipulation/a...
14 adas.datamanipulation Hourly_RH Hourly Relative Humidiy {'other': 'This model simulates hourly realtiv... http://web1.adas.co.uk/adas_datamanipulation/a...
15 adas.datamanipulation LeafWetnessDuration_RH Leaf Wetness Duration_RH {'other': 'This is a simple relative humidity ... http://web1.adas.co.uk/adas_datamanipulation/a...
16 adas.datamanipulation LeafWetnessDuration Leaf Wetness Duration {'other': ' This is a simple relative humidity... http://web1.adas.co.uk/adas_datamanipulation/a...
17 gr.gaiasense.ipm PLASVI Downy mildew of grapevine {'other': 'The warning system model «Downy mil... https://gaiasense.neuropublic.gr/np_dws/ws/dis...
18 adas.dss DASGPA Cutworm Model {'other': 'This model assesses Cutworm risk in... https://app-rsk-adas-dss-dev-001.azurewebsites...
19 adas.dss SITDMO Orange Wheat Blossom Midge Model {'other': 'This is a simple Phase Indication D... https://app-rsk-adas-dss-dev-001.azurewebsites...
20 adas.dss MELIAE Pollen Beetle Model {'other': 'This model is based on the work of ... https://app-rsk-adas-dss-dev-001.azurewebsites...
21 adas.dss HAPDMA Saddle Gall Midge Model {'other': 'A simple DSS which predicts the dat... https://app-rsk-adas-dss-dev-001.azurewebsites...
22 adas.dss CARPPO Codling Moth Model {'other': 'This is a simple risk based DSS for... https://app-rsk-adas-dss-dev-001.azurewebsites...
23 adas.dss RHOPPA TSUM Model {'other': 'This is a simple risk DSS for predi... https://app-rsk-adas-dss-dev-001.azurewebsites...
24 com.ipmwise ipmwise.dk IPMwise Denmark {'other': 'Dansk: Tilpas ukrudtsbekæmpelsen ti... http://www.ipmwise.dk/
25 com.ipmwise ipmwise.no VIPS-ugras Norway {'other': 'VIPS-Ugras 2.0 er en ny versjon av ... http://vipsugras.ipmwise.com
26 com.ipmwise ipmwise.es IPMwise Spain {'other': 'Adapta tu manejo de malas hierbas a... http://www.ipmwise.es
27 com.ipmwise ipmwise.demo IPMwise demo version {'other': 'Adapt weed management to your needs... http://demo.ipmwise.com/
28 dk.seges SEPTORIAHU Septoria Humidity Model {'other': 'The humidity model is a decision su... https://coremanager.vips.nibio.no/models/SEPTO...
29 dk.seges CPO CPO model (diseases and pest) {'other': 'The system has been developed by Aa... https://devtest-plantevaernonline.vfltest.dk/c...

1.3. Access to one DSS

[3]:
PSI=hub.get_dss(ModelId='no.nibio.vips', DSSId='PSILARTEMP')
[ ]:
PSI.input_DSS_weather_model_json(TimeStart="2021-01-01",
                                 TimeEnd="2021-12-31",
                                 weatherDataService='Finnish Meteorological Institute measured data',
                                 parameters=[1002],
                                 stationId=[101104])
[6]:
PSI.ipm_hub.services.url
[6]:
'https://ipmdecisions.nibio.no'
[ ]:
ds=PSI.get_data_model(modelInput=r"C:/Users/mlabadie/Documents/GitHub/dss/example/model_input_weatherdata.json")
ds
[ ]:
ds.to_dataframe().plot.line()
[ ]:
PSILAROBS= hub.get_dss(DSSId='PSILAROBSE')

[ ]:
PSILAROBS.input_DSS_fieldobservation_model_json(fieldobservation=r"C:\Users\mlabadie\Documents\GitHub\dss\src\openalea\dss\fieldobservation.json")
[ ]:
PSILAROBS.get_data_model(modelInput=r"C:\Users\mlabadie\Documents\GitHub\dss\src\openalea\dss\model_input_fieldobservation.json")
[ ]: