VIPS logo

VIPSCoreManager

The VIPS Core Manager is a REST service for executing forecast models for acricultural pests and diseases. It is being developed by NIBIO. If you came here by accident, but still is interested in knowing more, then we suggest you contact us for information.

Usage instructions

Meta data resources

Translations exist for most resources (currently Norwegian only). Add language code after the resource, e.g. "/nb". Default is always English.

Execute a model

The model expects a POST request to [SERVERNAME]/models/{modelId}/run. The POST request must send the JSON (see sampleconfig for what to send), and will in return receive results in JSON format back. See sample below.

Sample result from the Nærstad model

[
{"resultValidTime":"2012-08-20T22:00:00.000+0000","keys":["RISK"],"allValues":{"RISK":"7.83"}},
{"resultValidTime":"2012-08-20T23:00:00.000+0000","keys":["RISK"],"allValues":{"RISK":"5.1"}},
{"resultValidTime":"2012-08-21T00:00:00.000+0000","keys":["RISK"],"allValues":{"RISK":"3.75"}},
{"resultValidTime":"2012-08-21T01:00:00.000+0000","keys":["RISK"],"allValues":{"RISK":"2.91"}},
{"resultValidTime":"2012-08-21T02:00:00.000+0000","keys":["RISK"],"allValues":{"RISK":"2.47"}},
{"resultValidTime":"2012-08-21T03:00:00.000+0000","keys":["RISK"],"allValues":{"RISK":"2.72"}},
{"resultValidTime":"2012-08-21T04:00:00.000+0000","keys":["RISK"],"allValues":{"RISK":"2.57"}},
{"resultValidTime":"2012-08-21T05:00:00.000+0000","keys":["RISK"],"allValues":{"RISK":"0"}},
{"resultValidTime":"2012-08-21T06:00:00.000+0000","keys":["RISK"],"allValues":{"RISK":"0"}},
{"resultValidTime":"2012-08-21T07:00:00.000+0000","keys":["RISK"],"allValues":{"RISK":"0"}},
{"resultValidTime":"2012-08-21T08:00:00.000+0000","keys":["RISK"],"allValues":{"RISK":"0"}},
{"resultValidTime":"2012-08-21T09:00:00.000+0000","keys":["RISK"],"allValues":{"RISK":"0"}},
{"resultValidTime":"2012-08-21T10:00:00.000+0000","keys":["RISK"],"allValues":{"RISK":"0"}},
{"resultValidTime":"2012-08-21T11:00:00.000+0000","keys":["RISK"],"allValues":{"RISK":"0"}},
{"resultValidTime":"2012-08-21T12:00:00.000+0000","keys":["RISK"],"allValues":{"RISK":"0"}},
{"resultValidTime":"2012-08-21T13:00:00.000+0000","keys":["RISK"],"allValues":{"RISK":"0"}}
]