diff --git a/FarmmapsKPI/KPIInput.json b/FarmmapsKPI/KPIInput.json index 99f33e8..11aa2b4 100644 --- a/FarmmapsKPI/KPIInput.json +++ b/FarmmapsKPI/KPIInput.json @@ -221,8 +221,8 @@ "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 + //"status": "3", // refers to codelist CL256. where 3 stand for completed. The status does not matter and is not used in the KPI calculations + "operationCode": "7", // refers to codelist CL018 consisting of main catergorie of operations. Code 7 stands for fertilization "to": "2022-05-23T12:34:00", "unit": "kg/ha", "unitCode": "KGMHAR" @@ -237,8 +237,8 @@ "name": "Injecteren", //refers to codelist CL127 with operation methods "unit": "kg/ha", "method": "70700", //refers to codelist CL127 with operation methods - "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 + //"status": "3", // refers to codelist CL256. where 3 stand for completed. The status does not matter and is not used in the KPI calculations + "operationCode": "7", // refers to codelist CL018 consisting of main catergorie of operations. Code 7 stands for fertilization "product": "2329", //refers to codelist CL022 with fertilizer types "quantity": "32000", "unitCode": "KGMHAR", @@ -314,8 +314,8 @@ "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 + //"status": "3", // refers to codelist CL256. where 3 stand for completed. The status does not matter and is not used in the KPI calculations + "operationCode": "7", // refers to codelist CL018 consisting of main catergorie of operations. Code 7 stands for fertilization "to": "2022-05-23T12:34:00", "unit": "kg/ha", "unitCode": "KGMHAR" @@ -387,8 +387,8 @@ "method": "70400", //refers to codelist CL127 with operation methods "n": "92", "name": "Kunstmest strooien", //refers to codelist CL127 with operation methods - "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 + //"status": "3", // refers to codelist CL256. where 3 stand for completed. The status does not matter and is not used in the KPI calculations + "operationCode": "7", // refers to codelist CL018 consisting of main catergorie of operations. Code 7 stands for fertilization "product": "7360", //refers to codelist CL022 with fertilizer types "quantity": "200", "to": "2022-05-23T12:34:00", @@ -462,8 +462,8 @@ "method": "70400", //refers to codelist CL127 with operation methods //"n": "92", "name": "Kunstmest strooien", //refers to codelist CL127 with operation methods - "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 + //"status": "3", // refers to codelist CL256. where 3 stand for completed. The status does not matter and is not used in the KPI calculations + "operationCode": "7", // refers to codelist CL018 consisting of main catergorie of operations. Code 7 stands for fertilization "product": "7360", //refers to codelist CL022 with fertilizer types "quantity": "200", "to": "2022-05-23T12:34:00", @@ -529,8 +529,8 @@ "from": "2022-07-13T16:27:00", "name": "Volveld spuiten (3/3)", //refers to codelist CL127 with operation methods "method": "80200", //refers to codelist CL127 with operation methods - "status": "3", // Which code list? What does it mean? Is it needed? In any case works if set to 3 - "operationCode": "8", // Which code list? What does it mean? Is it needed? In any case works if set to 8 + //"status": "3", // refers to codelist CL256. where 3 stand for completed. The status does not matter and is not used in the KPI calculations + "operationCode": "8", // refers to codelist CL018 consisting of main catergorie of operations. Code 8 stands for crop protection "products": [ { "product": "11767 N", //CTBG code, lookup via CTBG API. Important: with space N", diff --git a/FarmmapsKPI/TODO.txt b/FarmmapsKPI/TODO.txt index 7e0e705..32c15f3 100644 --- a/FarmmapsKPI/TODO.txt +++ b/FarmmapsKPI/TODO.txt @@ -35,8 +35,15 @@ Effect of location (e.g. different atmospheric N deposition). productionPurposeCode: different result depending on starch or consumption potato (different N contents in tubers)? nContentFactor seems not to be adjusted by productionPurposeCode. Tamara check with Francisco idem for pContentFactor - DONE (using KPIinput.json): surprisingly no effect?, format of the productionPurposeCode was wrong i.e was '2' instead of '002'. Format has been adjusted. - + DONE (using KPIinput.json): surprisingly no effect?, format of the productionPurposeCode was wrong i.e was '002' instead of '2'. Format has been adjusted. +dataOperations: "operationCode": "7" & "8": DONE + a. which codelist? What does it mean? this refers to CL018 (bewerkinghoofdcaterogie), which contains information about the caterogie of the crop operations. + 7 stands for fertilization while 8 refers to crop protection + b. using KPIinput.json: does it have an effect on KPI outcomes? YES +dataOperations: "status": "3": DONE + a. which codelist? What does it mean? this refers to CL256 (statusBewerking), which contains information about a crop operation has been planned, completed, cancelled etc. 3 refers to completed + b. using KPIinput.json: does it have an effect on KPI outcomes? NO, even without the status the crop operations is included in the KPI calculation. + As the status has no effect on the KPI calculations I have changed the lines about the status in the KPIinput.json file to comment KPIelementsOfBalance: Tamara a. define elements for C1 organic matter supply @@ -54,14 +61,6 @@ KPIelementsOfBalance: Tamara ################################################################################################### Testing: -dataOperations: "operationCode": "7" & "8": - a. which codelist? What does it mean? NOT YET TESTED - b. using KPIinput.json: does it have an effect on KPI outcomes? NOT YET TESTED - -dataOperations: "status": "3": - a. which codelist? What does it mean? NOT YET TESTED - b. using KPIinput.json: does it have an effect on KPI outcomes? NOT YET TESTED - KPIelementsOfBalance: Tamara j. for C1 rename 'cropLeftoversEom' to 'cropResiduesEom' GEPARKEERD \ No newline at end of file