Skip to content
Snippets Groups Projects
Commit e6ff658e authored by Jussi Nikander's avatar Jussi Nikander
Browse files

Option values should now be the same as the corresponding values in model...

Option values should now be the same as the corresponding values in model configuration. Should fix problems with having oats or legumes as preceding crop. 
parent d8c067a2
No related branches found
No related tags found
1 merge request!3Luke
{ {
"_licensenbte": [ "_licensenbte": [
"Copyright (c) 2014 NIBIO <http://www.nibio.nb/>. ", "Copyright (c) 2014 NIBIO <http://www.nibio.nb/>. ",
"", "",
"This file is part of VIPSLogic. ", "This file is part of VIPSLogic. ",
"VIPSLogic is free software: you can redistribute it and/or modify ", "VIPSLogic is free software: you can redistribute it and/or modify ",
"it under the terms of the NIBIO Open Source License as published by ", "it under the terms of the NIBIO Open Source License as published by ",
"NIBIO, either version 1 of the License, or (at your option) any ", "NIBIO, either version 1 of the License, or (at your option) any ",
"later version. ", "later version. ",
"", "",
"VIPSLogic is distributed in the hope that it will be useful, ", "VIPSLogic is distributed in the hope that it will be useful, ",
"but WITHOUT ANY WARRANTY; without even the implied warranty of ", "but WITHOUT ANY WARRANTY; without even the implied warranty of ",
"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ", "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ",
"NIBIO Open Source License for more details. ", "NIBIO Open Source License for more details. ",
"", "",
"You should have received a copy of the NIBIO Open Source License ", "You should have received a copy of the NIBIO Open Source License ",
"along with VIPSLogic. If nbt, see <http://www.nibio.nb/licenses/>. " "along with VIPSLogic. If nbt, see <http://www.nibio.nb/licenses/>. "
], ],
"_comment" : "Sowing date, previous crop, tillage method, and current crop disease susceptibility for the specific field", "_comment" : "Sowing date, previous crop, tillage method, and current crop disease susceptibility for the specific field",
"fields": [ "fields": [
{ {
"name" : "modelName", "name" : "modelName",
"dataType" : "STRING", "dataType" : "STRING",
"fieldType" : "SELECT_SINGLE", "fieldType" : "SELECT_SINGLE",
"required" : true, "required" : true,
"options": [ "options": [
{"value":"PyrenophoraTeres", "label":{"en":"Net Blotch","nb":"?","fi":"Verkkolaikku"}, "selected":"true"}, {"value":"PyrenophoraTeres", "label":{"en":"Net Blotch","nb":"?","fi":"Verkkolaikku"}, "selected":"true"},
{"value":"DrechsleraTriticiRepentis", "label":{"en":"Tan Spot","nb":"","fi":"Ruskolaikku"}}, {"value":"DrechsleraTriticiRepentis", "label":{"en":"Tan Spot","nb":"","fi":"Ruskolaikku"}},
{"value":"StagonosporaNodorum", "label":{"en" : "Stagonspora spot", "nb":"?", "fi":"Pistelaikku"}} {"value":"StagonosporaNodorum", "label":{"en" : "Stagonspora spot", "nb":"?", "fi":"Pistelaikku"}}
] ]
}, },
{ {
"name" : "fieldSowingDate", "name" : "fieldSowingDate",
"dataType" : "DATE", "dataType" : "DATE",
"dateFormat" : "yyyy-MM-dd", "dateFormat" : "yyyy-MM-dd",
"required" : true "required" : true
}, },
{ {
"name" : "previousCrop", "name" : "previousCrop",
"dataType" : "STRING", "dataType" : "STRING",
"fieldType" : "SELECT_SINGLE", "fieldType" : "SELECT_SINGLE",
"required" : true, "required" : true,
"options": [ "options": [
{"value":"Wheat", "label":{"en":"Wheat","nb":"Hvete","fi":"Vehn"}, "selected":"true"}, {"value":"Wheat", "label":{"en":"Wheat","nb":"Hvete","fi":"Vehn"}, "selected":"true"},
{"value":"Barley", "label":{"en":"Barley","nb":"Barley","fi":"Kaura"}}, {"value":"Barley", "label":{"en":"Barley","nb":"Barley","fi":"Kaura"}},
{"value":"Oats", "label":{"en" : "Oats", "nb":"?", "fi":"Ohra"}}, {"value":"Oat", "label":{"en" : "Oats", "nb":"?", "fi":"Ohra"}},
{"value":"Grass", "label":{"en" : "Grass", "nb":"?","fi":"Hein"}}, {"value":"Grass", "label":{"en" : "Grass", "nb":"?","fi":"Hein"}},
{"value":"Rapeseed", "label":{"en" : "Turnip rape", "nb":"?","fi":"Rypsi"}}, {"value":"Rapeseed", "label":{"en" : "Turnip rape", "nb":"?","fi":"Rypsi"}},
{"value":"SugarBeet", "label":{"en" : "Sugar beet", "nb":"?","fi":"Sokerijuurikas"}}, {"value":"SugarBeet", "label":{"en" : "Sugar beet", "nb":"?","fi":"Sokerijuurikas"}},
{"value":"Legumes", "label":{"en" : "Legumes", "nb":"?","fi":"Herneet"}} {"value":"Pulse", "label":{"en" : "Legumes", "nb":"?","fi":"Herneet"}}
] ]
}, },
{ {
"name" : "tillageMethod", "name" : "tillageMethod",
"dataType" : "STRING", "dataType" : "STRING",
"fieldType" : "SELECT_SINGLE", "fieldType" : "SELECT_SINGLE",
"required" : true, "required" : true,
"options": [ "options": [
{"value":"Intensive", "label":{"en":"Ploughing","nb":"?","fi":"Kynt"}, "selected":"true"}, {"value":"Intensive", "label":{"en":"Ploughing","nb":"?","fi":"Kynt"}, "selected":"true"},
{"value":"Reduced", "label":{"en":"Reduced tillage","nb":"?","fi":"Kevytmuokkaus"}}, {"value":"Reduced", "label":{"en":"Reduced tillage","nb":"?","fi":"Kevytmuokkaus"}},
{"value":"None", "label":{"en" : "Direct seeding", "nb":"?","fi":"Suorakylv"}} {"value":"None", "label":{"en" : "Direct seeding", "nb":"?","fi":"Suorakylv"}}
] ]
}, },
{ {
"name" : "cropSusceptibility", "name" : "cropSusceptibility",
"dataType" : "STRING", "dataType" : "STRING",
"fieldType" : "SELECT_SINGLE", "fieldType" : "SELECT_SINGLE",
"required" : true, "required" : true,
"options": [ "options": [
{"value":"Normal", "label":{"en":"Normal","nb":"?", "fi":"normaali"}, "selected":"true"}, {"value":"Normal", "label":{"en":"Normal","nb":"?", "fi":"normaali"}, "selected":"true"},
{"value":"Resistant", "label":{"en":"Resistant","nb":"?","fi":"Resistentti"}}, {"value":"Resistant", "label":{"en":"Resistant","nb":"?","fi":"Resistentti"}},
{"value":"Sensitive", "label":{"en" : "Susceptible", "nb":"?", "fi":"Haavoittuva"}} {"value":"Sensitive", "label":{"en" : "Susceptible", "nb":"?", "fi":"Haavoittuva"}}
] ]
} }
] ]
} }
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment