From aa18393102789e9a497a4d88eefd0e7619129375 Mon Sep 17 00:00:00 2001 From: Pepijn van Oort Date: Wed, 8 Nov 2023 13:51:30 +0100 Subject: [PATCH] two example inputs for testing garden pea (doperwt) for whole year of part of growing period --- FarmmapsKPI/KPIInput.json | 198 +++++++++++++++++++++++++++++--------- 1 file changed, 150 insertions(+), 48 deletions(-) diff --git a/FarmmapsKPI/KPIInput.json b/FarmmapsKPI/KPIInput.json index d37b87b..a891c5a 100644 --- a/FarmmapsKPI/KPIInput.json +++ b/FarmmapsKPI/KPIInput.json @@ -2,6 +2,7 @@ { "useExistingCropfieldWithChildren": false, "deleteNewlyCreatedAfterCalc": true, + "fieldName": "test_Potato_ZeroFertilizer_Consumption_Sand", //Note when you run the FarmmapsKPI project, somewhere to your C:\git\FarmMapsApiClient_KB34_MAST\FarmmapsKPI\bin\Debug\netcoreapp3.1\ directory, files named like this are written: //'Settings_aardappelveld_test_Potato_ZeroFertilizer.json', where 'aardappelveld_test_Potato_ZeroFertilizer.json' is your fieldName (see below) //1 useExistingCropfieldWithChildren = false -> create new @@ -31,7 +32,6 @@ }, //"DownloadFolder": "Downloads", //"C:\\hugoschrererdir\\kpidir\\", // "Downloads", -> if you just put "Downloads" the program will download to somewhere in ..\FarmMapsApiClient_KB34_MAST\FarmmapsKPI\bin\Debug\netcoreapp3.1\Downloads\ "CropYear": 2022, - "fieldName": "test_Potato_ZeroFertilizer_Consumption_Sand", //geometryJson = polygon of location of the cropfield, coordinates in LON,LAT (LON: decimal degrees East, LAT: decimal degrees North) "geometryJson": { "type": "Polygon", @@ -64,6 +64,7 @@ { "useExistingCropfieldWithChildren": false, "deleteNewlyCreatedAfterCalc": true, + "fieldName": "test_Potato_ZeroFertilizer_Consumption_Clay", //Note when you run the FarmmapsKPI project, somewhere to your C:\git\FarmMapsApiClient_KB34_MAST\FarmmapsKPI\bin\Debug\netcoreapp3.1\ directory, files named like this are written: //'Settings_aardappelveld_test_Potato_ZeroFertilizer.json', where 'aardappelveld_test_Potato_ZeroFertilizer.json' is your fieldName (see below) //1 useExistingCropfieldWithChildren = false -> create new @@ -93,7 +94,6 @@ }, //"DownloadFolder": "Downloads", //"C:\\hugoschrererdir\\kpidir\\", // "Downloads", -> if you just put "Downloads" the program will download to somewhere in ..\FarmMapsApiClient_KB34_MAST\FarmmapsKPI\bin\Debug\netcoreapp3.1\Downloads\ "CropYear": 2022, - "fieldName": "test_Potato_ZeroFertilizer_Consumption_Clay", //geometryJson = polygon of location of the cropfield, coordinates in LON,LAT (LON: decimal degrees East, LAT: decimal degrees North) "geometryJson": { "type": "Polygon", @@ -126,6 +126,7 @@ { "useExistingCropfieldWithChildren": false, "deleteNewlyCreatedAfterCalc": true, + "fieldName": "test_Potato_ZeroFertilizer_Starch_Sand", //Note when you run the FarmmapsKPI project, somewhere to your C:\git\FarmMapsApiClient_KB34_MAST\FarmmapsKPI\bin\Debug\netcoreapp3.1\ directory, files named like this are written: //'Settings_aardappelveld_test_Potato_ZeroFertilizer.json', where 'aardappelveld_test_Potato_ZeroFertilizer.json' is your fieldName (see below) //1 useExistingCropfieldWithChildren = false -> create new @@ -155,7 +156,6 @@ }, //"DownloadFolder": "Downloads", //"C:\\hugoschrererdir\\kpidir\\", // "Downloads", -> if you just put "Downloads" the program will download to somewhere in ..\FarmMapsApiClient_KB34_MAST\FarmmapsKPI\bin\Debug\netcoreapp3.1\Downloads\ "CropYear": 2022, - "fieldName": "test_Potato_ZeroFertilizer_Starch_Sand", //geometryJson = polygon of location of the cropfield, coordinates in LON,LAT (LON: decimal degrees East, LAT: decimal degrees North) "geometryJson": { "type": "Polygon", @@ -188,6 +188,7 @@ { "useExistingCropfieldWithChildren": false, "deleteNewlyCreatedAfterCalc": true, + "fieldName": "aardappelveld_test_Potato_cattlemanure144kgnha_plusUrea92kgNha", "CropfieldItemCode": "", "dataCropfield": { //"area": 4.22, //Leave empty, KPI app will calculate it from geometry @@ -247,7 +248,6 @@ }, //"DownloadFolder": "Downloads", //"C:\\hugoschrererdir\\kpidir\\", // "Downloads", -> if you just put "Downloads" the program will download to somewhere in ..\FarmMapsApiClient_WURtest\FarmmapsDataDownload\bin\Debug\netcoreapp3.1\Downloads\ "CropYear": 2022, - "fieldName": "aardappelveld_test_Potato_cattlemanure144kgnha_plusUrea92kgNha", "geometryJson": { "type": "Polygon", "coordinates": [ @@ -279,48 +279,48 @@ { "useExistingCropfieldWithChildren": false, "deleteNewlyCreatedAfterCalc": true, - "CropfieldItemCode": "", - "dataCropfield": { - //"area": 4.22, //Leave empty, KPI app will calculate it from geometry - "final": true, //always true - //"soilCode": "5", //From codelist CL405. Can be omitted if unknown - //"soilName": "Loam", //From codelist CL405. - "cropTypeCode": "1010101", //From codelist CL263 - "cropTypeName": "Potato", //From codelist CL263 - //"rootDepthMax": 45, //not needed for KPI calculation, but shown here to know this is a possible property - //"emergenceDate": "2022-05-16T00:00:00", //not needed for KPI calculation, but shown here to know this is a possible property - "productionPurposeCode": "003", //From codelist CL251. Can be omitted if unknown - "productionPurposeName": "consumption" //From codelist CL251. Can be omitted if unknown - }, - "CropRecordingItemCode": "", - "OperationItemCodes": [], - "dataOperations": [ - { - //"area": "0.08", //if leave empty then write code to fill in value from geometry (operation applied to whole field). Fill in different value if operation applied to part of the field (e.g. in case of variable rate application, VRA) - "contractor": false, - "designator": "Kunstmest strooien", //refers to codelist CL127 with operation methods - "from": "2022-05-23T11:34:00", - "method": "70400", //refers to codelist CL127 with operation methods - "n": "92", - "name": "Kunstmest strooien", //refers to codelist CL127 with operation methods - "product": "7360", //refers to codelist CL022 with fertilizer types - "quantity": "200", - "status": "3", // Which code list? What does it mean? Is it needed? In any case works if set to 3 - "operationCode": "7", // Which code list? What does it mean? Is it needed? In any case works if set to 7 - "to": "2022-05-23T12:34:00", - "unit": "kg/ha", - "unitCode": "KGMHAR" - } - ], - "CropfieldCharacteristicItemCode": "", - "DataCropfieldCharacteristic": { - "code": "860619", //PO20231004: so what does this code mean? Can we see the code list somewhere? - "label": "cropyield", - "value": "48.01" - }, - //"DownloadFolder": "Downloads", //"C:\\hugoschrererdir\\kpidir\\", // "Downloads", -> if you just put "Downloads" the program will download to somewhere in ..\FarmMapsApiClient_WURtest\FarmmapsDataDownload\bin\Debug\netcoreapp3.1\Downloads\ - "CropYear": 2022, "fieldName": "aardappelveld_test_Potato_Urea92kgNha", + "CropfieldItemCode": "", + "dataCropfield": { + //"area": 4.22, //Leave empty, KPI app will calculate it from geometry + "final": true, //always true + //"soilCode": "5", //From codelist CL405. Can be omitted if unknown + //"soilName": "Loam", //From codelist CL405. + "cropTypeCode": "1010101", //From codelist CL263 + "cropTypeName": "Potato", //From codelist CL263 + //"rootDepthMax": 45, //not needed for KPI calculation, but shown here to know this is a possible property + //"emergenceDate": "2022-05-16T00:00:00", //not needed for KPI calculation, but shown here to know this is a possible property + "productionPurposeCode": "003", //From codelist CL251. Can be omitted if unknown + "productionPurposeName": "consumption" //From codelist CL251. Can be omitted if unknown + }, + "CropRecordingItemCode": "", + "OperationItemCodes": [], + "dataOperations": [ + { + //"area": "0.08", //if leave empty then write code to fill in value from geometry (operation applied to whole field). Fill in different value if operation applied to part of the field (e.g. in case of variable rate application, VRA) + "contractor": false, + "designator": "Kunstmest strooien", //refers to codelist CL127 with operation methods + "from": "2022-05-23T11:34:00", + "method": "70400", //refers to codelist CL127 with operation methods + "n": "92", + "name": "Kunstmest strooien", //refers to codelist CL127 with operation methods + "product": "7360", //refers to codelist CL022 with fertilizer types + "quantity": "200", + "status": "3", // Which code list? What does it mean? Is it needed? In any case works if set to 3 + "operationCode": "7", // Which code list? What does it mean? Is it needed? In any case works if set to 7 + "to": "2022-05-23T12:34:00", + "unit": "kg/ha", + "unitCode": "KGMHAR" + } + ], + "CropfieldCharacteristicItemCode": "", + "DataCropfieldCharacteristic": { + "code": "860619", //PO20231004: so what does this code mean? Can we see the code list somewhere? + "label": "cropyield", + "value": "48.01" + }, + //"DownloadFolder": "Downloads", //"C:\\hugoschrererdir\\kpidir\\", // "Downloads", -> if you just put "Downloads" the program will download to somewhere in ..\FarmMapsApiClient_WURtest\FarmmapsDataDownload\bin\Debug\netcoreapp3.1\Downloads\ + "CropYear": 2022, "geometryJson": { "type": "Polygon", "coordinates": [ @@ -352,6 +352,7 @@ { "useExistingCropfieldWithChildren": false, "deleteNewlyCreatedAfterCalc": true, + "fieldName": "aardappelveld_test_Potato_Urea92kgNha_ZuidLimburg", "CropfieldItemCode": "", "dataCropfield": { //"area": 4.22, //Leave empty, KPI app will calculate it from geometry @@ -393,7 +394,6 @@ }, //"DownloadFolder": "Downloads", //"C:\\hugoschrererdir\\kpidir\\", // "Downloads", -> if you just put "Downloads" the program will download to somewhere in ..\FarmMapsApiClient_WURtest\FarmmapsDataDownload\bin\Debug\netcoreapp3.1\Downloads\ "CropYear": 2022, - "fieldName": "aardappelveld_test_Potato_Urea92kgNha_ZuidLimburg", "geometryJson": { "type": "Polygon", "coordinates": [ @@ -425,6 +425,7 @@ { "useExistingCropfieldWithChildren": false, "deleteNewlyCreatedAfterCalc": true, + "fieldName": "caseQuoteNnotProvidedInDataOperations", "CropfieldItemCode": "", "dataCropfield": { //"area": 4.22, //Leave empty, KPI app will calculate it from geometry @@ -466,7 +467,6 @@ }, //"DownloadFolder": "Downloads", //"C:\\hugoschrererdir\\kpidir\\", // "Downloads", -> if you just put "Downloads" the program will download to somewhere in ..\FarmMapsApiClient_WURtest\FarmmapsDataDownload\bin\Debug\netcoreapp3.1\Downloads\ "CropYear": 2022, - "fieldName": "caseQuoteNnotProvidedInDataOperations", "geometryJson": { "type": "Polygon", "coordinates": [ @@ -498,6 +498,7 @@ { "useExistingCropfieldWithChildren": false, "deleteNewlyCreatedAfterCalc": true, + "fieldName": "examplePesticide_11767N", "CropfieldItemCode": "", // could contain for example this: "abae97f89f3c4ac08953b1b8bea9f076" if this is an exisiting CropfieldItemCode in your account. "dataCropfield": { "final": true, //always true @@ -534,7 +535,6 @@ }, //"DownloadFolder": "Downloads", //"C:\\hugoschrererdir\\kpidir\\", // "Downloads", -> if you just put "Downloads" the program will download to somewhere in ..\FarmMapsApiClient_KB34_MAST\FarmmapsKPI\bin\Debug\netcoreapp3.1\Downloads\ "CropYear": 2022, - "fieldName": "examplePesticide_11767N", //geometryJson = polygon of location of the cropfield, coordinates in LON,LAT (LON: decimal degrees East, LAT: decimal degrees North) "geometryJson": { "type": "Polygon", @@ -563,5 +563,107 @@ ] ] } + }, + { + "useExistingCropfieldWithChildren": false, + "deleteNewlyCreatedAfterCalc": true, + "fieldName": "doperwt_heleJaar", + "CropfieldItemCode": "", + "dataCropfield": { + "final": true, //always true + "cropTypeCode": "1030101", //From codelist CL263 + "cropTypeName": "Garden pea" //From codelist CL263 + }, + "CropRecordingItemCode": "", + "OperationItemCodes": [], + "dataOperations": [], + "CropfieldCharacteristicItemCode": "", + "DataCropfieldCharacteristic": { + "code": "860619", //PO20231004: so what does this code mean? Can we see the code list somewhere? + "label": "cropyield", + "value": "9.58" //CBS: https://www.cbs.nl/nl-nl/cijfers/detail/37738, 2022: 40.4 Mkg / 4216 ha = 40400 / 4216 + }, + //"DownloadFolder": "Downloads", //"C:\\hugoschrererdir\\kpidir\\", // "Downloads", -> if you just put "Downloads" the program will download to somewhere in ..\FarmMapsApiClient_WURtest\FarmmapsDataDownload\bin\Debug\netcoreapp3.1\Downloads\ + "CropYear": 2022, + //"StartDate": "2022-04-15", //PO20231108: StartDate & EndDate important for legumes, where Nitrogen fixation depends on number of days from start to end. More days = more N fixation + //"EndDate": "2022-07-30", // if StartDate & EndDate left empty then whole year from cropYear + "geometryJson": { + "type": "Polygon", + "coordinates": [ + [ + [ + 5.5945257993548765, + 52.57080744107003 + ], + [ + 5.598645994070678, + 52.571540800206236 + ], + [ + 5.599381743127071, + 52.57012773140724 + ], + [ + 5.595408698222548, + 52.56968054825188 + ], + [ + 5.5945257993548765, + 52.57080744107003 + ] + ] + ] + } + }, + { + "useExistingCropfieldWithChildren": false, + "deleteNewlyCreatedAfterCalc": true, + "fieldName": "doperwt_groeiperiode", + "CropfieldItemCode": "", + "dataCropfield": { + "final": true, //always true + "cropTypeCode": "1030101", //From codelist CL263 + "cropTypeName": "Garden pea" //From codelist CL263 + }, + "CropRecordingItemCode": "", + "OperationItemCodes": [], + "dataOperations": [], + "CropfieldCharacteristicItemCode": "", + "DataCropfieldCharacteristic": { + "code": "860619", //PO20231004: so what does this code mean? Can we see the code list somewhere? + "label": "cropyield", + "value": "9.58" //CBS: https://www.cbs.nl/nl-nl/cijfers/detail/37738, 2022: 40.4 Mkg / 4216 ha = 40400 / 4216 + }, + //"DownloadFolder": "Downloads", //"C:\\hugoschrererdir\\kpidir\\", // "Downloads", -> if you just put "Downloads" the program will download to somewhere in ..\FarmMapsApiClient_WURtest\FarmmapsDataDownload\bin\Debug\netcoreapp3.1\Downloads\ + "CropYear": 2022, + "StartDate": "2022-04-15", //PO20231108: StartDate & EndDate important for legumes, where Nitrogen fixation depends on number of days from start to end. More days = more N fixation + "EndDate": "2022-07-30", // if StartDate & EndDate left empty then whole year from cropYear + "geometryJson": { + "type": "Polygon", + "coordinates": [ + [ + [ + 5.5945257993548765, + 52.57080744107003 + ], + [ + 5.598645994070678, + 52.571540800206236 + ], + [ + 5.599381743127071, + 52.57012773140724 + ], + [ + 5.595408698222548, + 52.56968054825188 + ], + [ + 5.5945257993548765, + 52.57080744107003 + ] + ] + ] + } } ] \ No newline at end of file