Included relevant codelist for dataOperations operationCode and status.

This commit is contained in:
tamara 2024-04-11 11:31:56 +02:00
parent 0a9a83a5a6
commit efb4d6833f
2 changed files with 21 additions and 22 deletions

View File

@ -221,8 +221,8 @@
"name": "Kunstmest strooien", //refers to codelist CL127 with operation methods "name": "Kunstmest strooien", //refers to codelist CL127 with operation methods
"product": "7360", //refers to codelist CL022 with fertilizer types "product": "7360", //refers to codelist CL022 with fertilizer types
"quantity": "200", "quantity": "200",
"status": "3", // Which code list? What does it mean? Is it needed? In any case works if set to 3 //"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", // Which code list? What does it mean? Is it needed? In any case works if set to 7 "operationCode": "7", // refers to codelist CL018 consisting of main catergorie of operations. Code 7 stands for fertilization
"to": "2022-05-23T12:34:00", "to": "2022-05-23T12:34:00",
"unit": "kg/ha", "unit": "kg/ha",
"unitCode": "KGMHAR" "unitCode": "KGMHAR"
@ -237,8 +237,8 @@
"name": "Injecteren", //refers to codelist CL127 with operation methods "name": "Injecteren", //refers to codelist CL127 with operation methods
"unit": "kg/ha", "unit": "kg/ha",
"method": "70700", //refers to codelist CL127 with operation methods "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 //"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", // Which code list? What does it mean? Is it needed? In any case works if set to 7 "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 "product": "2329", //refers to codelist CL022 with fertilizer types
"quantity": "32000", "quantity": "32000",
"unitCode": "KGMHAR", "unitCode": "KGMHAR",
@ -314,8 +314,8 @@
"name": "Kunstmest strooien", //refers to codelist CL127 with operation methods "name": "Kunstmest strooien", //refers to codelist CL127 with operation methods
"product": "7360", //refers to codelist CL022 with fertilizer types "product": "7360", //refers to codelist CL022 with fertilizer types
"quantity": "200", "quantity": "200",
"status": "3", // Which code list? What does it mean? Is it needed? In any case works if set to 3 //"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", // Which code list? What does it mean? Is it needed? In any case works if set to 7 "operationCode": "7", // refers to codelist CL018 consisting of main catergorie of operations. Code 7 stands for fertilization
"to": "2022-05-23T12:34:00", "to": "2022-05-23T12:34:00",
"unit": "kg/ha", "unit": "kg/ha",
"unitCode": "KGMHAR" "unitCode": "KGMHAR"
@ -387,8 +387,8 @@
"method": "70400", //refers to codelist CL127 with operation methods "method": "70400", //refers to codelist CL127 with operation methods
"n": "92", "n": "92",
"name": "Kunstmest strooien", //refers to codelist CL127 with operation methods "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 //"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", // Which code list? What does it mean? Is it needed? In any case works if set to 7 "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 "product": "7360", //refers to codelist CL022 with fertilizer types
"quantity": "200", "quantity": "200",
"to": "2022-05-23T12:34:00", "to": "2022-05-23T12:34:00",
@ -462,8 +462,8 @@
"method": "70400", //refers to codelist CL127 with operation methods "method": "70400", //refers to codelist CL127 with operation methods
//"n": "92", //"n": "92",
"name": "Kunstmest strooien", //refers to codelist CL127 with operation methods "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 //"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", // Which code list? What does it mean? Is it needed? In any case works if set to 7 "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 "product": "7360", //refers to codelist CL022 with fertilizer types
"quantity": "200", "quantity": "200",
"to": "2022-05-23T12:34:00", "to": "2022-05-23T12:34:00",
@ -529,8 +529,8 @@
"from": "2022-07-13T16:27:00", "from": "2022-07-13T16:27:00",
"name": "Volveld spuiten (3/3)", //refers to codelist CL127 with operation methods "name": "Volveld spuiten (3/3)", //refers to codelist CL127 with operation methods
"method": "80200", //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 //"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", // Which code list? What does it mean? Is it needed? In any case works if set to 8 "operationCode": "8", // refers to codelist CL018 consisting of main catergorie of operations. Code 8 stands for crop protection
"products": [ "products": [
{ {
"product": "11767 N", //CTBG code, lookup via CTBG API. Important: with space N", "product": "11767 N", //CTBG code, lookup via CTBG API. Important: with space N",

View File

@ -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)? 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 nContentFactor seems not to be adjusted by productionPurposeCode. Tamara check with Francisco
idem for pContentFactor 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 KPIelementsOfBalance: Tamara
a. define elements for C1 organic matter supply a. define elements for C1 organic matter supply
@ -54,14 +61,6 @@ KPIelementsOfBalance: Tamara
################################################################################################### ###################################################################################################
Testing: 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 KPIelementsOfBalance: Tamara
j. for C1 rename 'cropLeftoversEom' to 'cropResiduesEom' GEPARKEERD j. for C1 rename 'cropLeftoversEom' to 'cropResiduesEom' GEPARKEERD