@hestia-earth/data-api 0.0.2-3 → 0.0.2-4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/.dockerignore +0 -25
- package/.env.test +0 -7
- package/.eslintignore +0 -7
- package/.eslintrc.js +0 -11
- package/.gitlab-ci.yml +0 -128
- package/.mocharc.js +0 -8
- package/.nvmrc +0 -1
- package/.nycrc +0 -15
- package/Dockerfile +0 -17
- package/cleanup-docker.sh +0 -4
- package/commitlint.config.js +0 -1
- package/database/index.ts +0 -76
- package/database/migrations/001.do.init.sql +0 -53
- package/database/migrations/002.do.add-aggregated-sites.sql +0 -16
- package/database/migrations/003.do.add-generated-period-cols.sql +0 -7
- package/database/migrations/index.ts +0 -36
- package/database/seed/common.ts +0 -7
- package/database/seed/index.ts +0 -60
- package/database/seed/local/index.ts +0 -28
- package/database/seed/production/index.ts +0 -3
- package/database/seed/staging/index.ts +0 -5
- package/dev.ts +0 -3
- package/dist/aggregated-nodes/model/index.js +0 -11
- package/docker-compose.yml +0 -42
- package/envs/.master.env +0 -7
- package/envs/.staging.env +0 -7
- package/index.js +0 -3
- package/package.serverless.json +0 -21
- package/run-docker.sh +0 -14
- package/run-test.sh +0 -5
- package/scripts/run-lambda.ts +0 -10
- package/scripts/run-migrations.ts +0 -18
- package/scripts/run-resetdb.ts +0 -18
- package/scripts/run-seed.ts +0 -18
- package/serverless.yml +0 -101
- package/src/aggregated-nodes/model/index.ts +0 -37
- package/src/aggregated-nodes/routes/pg-get-filters.ts +0 -54
- package/src/aggregated-nodes/routes/pg-get.ts +0 -61
- package/src/aggregated-nodes/routes.spec.ts +0 -274
- package/src/aggregated-nodes/routes.ts +0 -56
- package/src/aggregated-nodes/services/pg-get-filters.ts +0 -62
- package/src/aggregated-nodes/services/pg-get.ts +0 -77
- package/src/app.spec.ts +0 -34
- package/src/app.ts +0 -59
- package/src/config.ts +0 -21
- package/src/cors.spec.ts +0 -32
- package/src/cors.ts +0 -7
- package/src/errors.spec.ts +0 -114
- package/src/errors.ts +0 -121
- package/src/index.spec.ts +0 -94
- package/src/index.ts +0 -14
- package/src/lambdas/sentry.ts +0 -12
- package/src/lambdas/update-aggregated-nodes/handler.spec.ts +0 -77
- package/src/lambdas/update-aggregated-nodes/handler.ts +0 -129
- package/src/logger.spec.ts +0 -20
- package/src/logger.ts +0 -45
- package/src/maintenance.spec.ts +0 -76
- package/src/maintenance.ts +0 -19
- package/src/models.ts +0 -1
- package/src/routes.ts +0 -8
- package/src/settings/model/index.ts +0 -21
- package/src/settings/routes/get.spec.ts +0 -33
- package/src/settings/routes/get.ts +0 -3
- package/src/settings/routes/update.spec.ts +0 -33
- package/src/settings/routes/update.ts +0 -5
- package/src/settings/routes.spec.ts +0 -75
- package/src/settings/routes.ts +0 -21
- package/src/settings/services/get.spec.ts +0 -62
- package/src/settings/services/get.ts +0 -18
- package/src/settings/services/update.spec.ts +0 -118
- package/src/settings/services/update.ts +0 -47
- package/src/slack.spec.ts +0 -42
- package/src/slack.ts +0 -17
- package/src/swagger/routes.ts +0 -57
- package/src/types/async-express-errors/index.d.ts +0 -1
- package/src/types/express/index.d.ts +0 -10
- package/src/utils/endpoint-wrapper.spec.ts +0 -80
- package/src/utils/endpoint-wrapper.ts +0 -16
- package/src/utils/middleware.spec.ts +0 -154
- package/src/utils/middleware.ts +0 -33
- package/test/Dockerfile +0 -13
- package/test/docker-compose.yml +0 -40
- package/test/fixtures/aggregated-nodes/get.ts +0 -196
- package/test/fixtures/update-aggregated-nodes/abyssinianKaleSeedWhole-cycle_pivoted.csv +0 -5
- package/test/fixtures/update-aggregated-nodes/abyssinianKaleSeedWhole-cycle_pivoted.csv.cycle.json +0 -458
- package/test/fixtures/update-aggregated-nodes/abyssinianKaleSeedWhole-cycle_pivoted.csv.site.json +0 -182
- package/test/fixtures/update-aggregated-nodes/abyssinianKaleSeedWhole-impactassessment_pivoted.csv +0 -3
- package/test/fixtures/update-aggregated-nodes/abyssinianKaleSeedWhole-impactassessment_pivoted.csv.impactAssessment.json +0 -988
- package/test/fixtures/update-aggregated-nodes/abyssinianKaleStraw-impactassessment_pivoted.csv +0 -3
- package/test/fixtures/update-aggregated-nodes/cycle-missing-impactassessment_pivoted.csv +0 -3
- package/test/fixtures/update-aggregated-nodes/tomatoFruit-cycle_pivoted.csv +0 -5
- package/test/fixtures/update-aggregated-nodes/tomatoFruit-cycle_pivoted.csv.cycle.json +0 -584
- package/test/fixtures/update-aggregated-nodes/tomatoFruit-cycle_pivoted.csv.site.json +0 -212
- package/test/fixtures/update-aggregated-nodes/tomatoFruit-impactassessment_pivoted.csv +0 -3
- package/test/fixtures/update-aggregated-nodes/tomatoFruit-impactassessment_pivoted.csv.impactAssessment.json +0 -1002
- package/test/prepare.ts +0 -13
- package/test/utils.ts +0 -32
- package/tsconfig.build.json +0 -13
- package/tsconfig.dist.json +0 -14
- package/tsconfig.json +0 -42
- package/tsconfig.lambdas.json +0 -13
|
@@ -1,196 +0,0 @@
|
|
|
1
|
-
export const aggregatedCycles = [
|
|
2
|
-
{
|
|
3
|
-
jsonld_pivoted: {
|
|
4
|
-
'@id': '1',
|
|
5
|
-
'@type': 'Cycle',
|
|
6
|
-
site: { '@id': '1' },
|
|
7
|
-
defaultMethodClassification: 'modelled',
|
|
8
|
-
startDate: '1990',
|
|
9
|
-
endDate: '1999',
|
|
10
|
-
aggregatedQualityScore: 3,
|
|
11
|
-
practices: { baggingFruit: {}, deepRipping: {} },
|
|
12
|
-
products: { wheatGrain: {}, barley: {} }
|
|
13
|
-
}
|
|
14
|
-
},
|
|
15
|
-
{
|
|
16
|
-
jsonld_pivoted: {
|
|
17
|
-
'@id': '2',
|
|
18
|
-
'@type': 'Cycle',
|
|
19
|
-
site: { '@id': '1' },
|
|
20
|
-
defaultMethodClassification: 'physical measurement',
|
|
21
|
-
startDate: '1990',
|
|
22
|
-
endDate: '1999',
|
|
23
|
-
aggregatedQualityScore: 2,
|
|
24
|
-
practices: { earthingUpByHand: {} },
|
|
25
|
-
products: { fishFingerlings: {} }
|
|
26
|
-
}
|
|
27
|
-
},
|
|
28
|
-
{
|
|
29
|
-
jsonld_pivoted: {
|
|
30
|
-
'@id': '3',
|
|
31
|
-
'@type': 'Cycle',
|
|
32
|
-
site: { '@id': '2' },
|
|
33
|
-
defaultMethodClassification: 'expert opinion',
|
|
34
|
-
startDate: '2000',
|
|
35
|
-
endDate: '2009',
|
|
36
|
-
aggregatedQualityScore: 2,
|
|
37
|
-
practices: { baggingFruit: {} },
|
|
38
|
-
products: { apples: {} }
|
|
39
|
-
}
|
|
40
|
-
},
|
|
41
|
-
{
|
|
42
|
-
jsonld_pivoted: {
|
|
43
|
-
'@id': '4',
|
|
44
|
-
'@type': 'Cycle',
|
|
45
|
-
site: { '@id': '3' },
|
|
46
|
-
defaultMethodClassification: 'modelled',
|
|
47
|
-
startDate: '2010',
|
|
48
|
-
endDate: '2019',
|
|
49
|
-
aggregatedQualityScore: 2,
|
|
50
|
-
practices: { baggingFruit: {} },
|
|
51
|
-
products: { apples: {} }
|
|
52
|
-
}
|
|
53
|
-
},
|
|
54
|
-
{
|
|
55
|
-
jsonld_pivoted: {
|
|
56
|
-
'@id': '5',
|
|
57
|
-
'@type': 'Cycle',
|
|
58
|
-
site: { '@id': '3' },
|
|
59
|
-
defaultMethodClassification: 'modelled',
|
|
60
|
-
startDate: '2020',
|
|
61
|
-
endDate: '2029',
|
|
62
|
-
aggregatedQualityScore: 2,
|
|
63
|
-
practices: { baggingFruit: {} },
|
|
64
|
-
products: { apples: {}, cheese: {} }
|
|
65
|
-
}
|
|
66
|
-
},
|
|
67
|
-
{
|
|
68
|
-
jsonld_pivoted: {
|
|
69
|
-
'@id': '6',
|
|
70
|
-
'@type': 'Cycle',
|
|
71
|
-
site: { '@id': '3' },
|
|
72
|
-
defaultMethodClassification: 'unsourced assumption',
|
|
73
|
-
startDate: '2020',
|
|
74
|
-
endDate: '2029',
|
|
75
|
-
aggregatedQualityScore: 2,
|
|
76
|
-
practices: { baggingFruit: {} },
|
|
77
|
-
products: { apples: {}, cheese: {} }
|
|
78
|
-
}
|
|
79
|
-
},
|
|
80
|
-
{
|
|
81
|
-
jsonld_pivoted: {
|
|
82
|
-
'@id': '7',
|
|
83
|
-
'@type': 'Cycle',
|
|
84
|
-
site: { '@id': '3' },
|
|
85
|
-
defaultMethodClassification: 'modelled',
|
|
86
|
-
startDate: '2020',
|
|
87
|
-
endDate: '2029',
|
|
88
|
-
aggregatedQualityScore: 1,
|
|
89
|
-
practices: { baggingFruit: {} },
|
|
90
|
-
products: { apples: {}, cheese: {} }
|
|
91
|
-
}
|
|
92
|
-
},
|
|
93
|
-
{
|
|
94
|
-
jsonld_pivoted: {
|
|
95
|
-
'@id': '8',
|
|
96
|
-
'@type': 'Cycle',
|
|
97
|
-
site: { '@id': '3' },
|
|
98
|
-
defaultMethodClassification: 'modelled',
|
|
99
|
-
startDate: '2020',
|
|
100
|
-
endDate: '2029',
|
|
101
|
-
aggregatedQualityScore: 1,
|
|
102
|
-
practices: { baggingFruit: {} },
|
|
103
|
-
products: { apples: {}, cheese: {} }
|
|
104
|
-
}
|
|
105
|
-
},
|
|
106
|
-
{
|
|
107
|
-
jsonld_pivoted: {
|
|
108
|
-
'@id': '9',
|
|
109
|
-
'@type': 'Cycle',
|
|
110
|
-
site: { '@id': '3' },
|
|
111
|
-
defaultMethodClassification: 'modelled',
|
|
112
|
-
startDate: '1980',
|
|
113
|
-
endDate: '1989',
|
|
114
|
-
aggregatedQualityScore: 2,
|
|
115
|
-
products: { apples: {}, cheese: {} }
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
];
|
|
119
|
-
|
|
120
|
-
export const aggregatedImpactAssessments = [
|
|
121
|
-
{
|
|
122
|
-
jsonld_pivoted: {
|
|
123
|
-
'@id': '1',
|
|
124
|
-
'@type': 'ImpactAssessment',
|
|
125
|
-
cycle: { '@id': '1' },
|
|
126
|
-
startDate: '2000',
|
|
127
|
-
endDate: '2009',
|
|
128
|
-
product: { term: { '@id': 'wheatGrain' } }
|
|
129
|
-
}
|
|
130
|
-
},
|
|
131
|
-
{
|
|
132
|
-
jsonld_pivoted: {
|
|
133
|
-
'@id': '2',
|
|
134
|
-
'@type': 'ImpactAssessment',
|
|
135
|
-
cycle: { '@id': '1' },
|
|
136
|
-
startDate: '2000',
|
|
137
|
-
endDate: '2009',
|
|
138
|
-
product: { term: { '@id': 'barley' } }
|
|
139
|
-
}
|
|
140
|
-
},
|
|
141
|
-
{
|
|
142
|
-
jsonld_pivoted: {
|
|
143
|
-
'@id': '3',
|
|
144
|
-
'@type': 'ImpactAssessment',
|
|
145
|
-
cycle: { '@id': '2' },
|
|
146
|
-
startDate: '2000',
|
|
147
|
-
endDate: '2009',
|
|
148
|
-
product: { term: { '@id': 'fishFingerlings' } }
|
|
149
|
-
}
|
|
150
|
-
},
|
|
151
|
-
{
|
|
152
|
-
jsonld_pivoted: {
|
|
153
|
-
'@id': '4',
|
|
154
|
-
'@type': 'ImpactAssessment',
|
|
155
|
-
cycle: { '@id': '3' },
|
|
156
|
-
startDate: '2000',
|
|
157
|
-
endDate: '2009',
|
|
158
|
-
product: { term: { '@id': 'apples' } }
|
|
159
|
-
}
|
|
160
|
-
}
|
|
161
|
-
];
|
|
162
|
-
|
|
163
|
-
export const aggregatedSites = [
|
|
164
|
-
{
|
|
165
|
-
jsonld_pivoted: {
|
|
166
|
-
'@id': '1',
|
|
167
|
-
'@type': 'Site',
|
|
168
|
-
country: {
|
|
169
|
-
name: 'Germany',
|
|
170
|
-
'@id': 'GADM-DEU'
|
|
171
|
-
}
|
|
172
|
-
}
|
|
173
|
-
},
|
|
174
|
-
{
|
|
175
|
-
jsonld_pivoted: {
|
|
176
|
-
'@id': '2',
|
|
177
|
-
'@type': 'Site',
|
|
178
|
-
country: {
|
|
179
|
-
name: 'Poland',
|
|
180
|
-
'@id': 'GADM-POL'
|
|
181
|
-
}
|
|
182
|
-
}
|
|
183
|
-
},
|
|
184
|
-
{
|
|
185
|
-
jsonld_pivoted: {
|
|
186
|
-
'@id': '3',
|
|
187
|
-
'@type': 'Site',
|
|
188
|
-
country: {
|
|
189
|
-
name: 'Brazil',
|
|
190
|
-
'@id': 'GADM-BRA'
|
|
191
|
-
}
|
|
192
|
-
}
|
|
193
|
-
}
|
|
194
|
-
];
|
|
195
|
-
|
|
196
|
-
export const settings = [];
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
cycle.id,site.country.@id,site.country.name,site.siteType,site.name,site.id,site.dataPrivate,site.aggregated,site.aggregatedVersion,site.defaultSource.@id,site.defaultSource.name,cycle.startDate,cycle.endDate,cycle.functionalUnit,cycle.startDateDefinition,cycle.dataPrivate,cycle.defaultMethodClassification,cycle.defaultMethodClassificationDescription,cycle.site.id,cycle.aggregated,cycle.aggregatedVersion,cycle.completeness.operations,cycle.completeness.electricityFuel,cycle.completeness.material,cycle.completeness.transport,cycle.completeness.fertiliser,cycle.completeness.soilAmendments,cycle.completeness.pesticidesAntibiotics,cycle.completeness.water,cycle.completeness.animalFeed,cycle.completeness.liveAnimals,cycle.completeness.other,cycle.completeness.products,cycle.completeness.cropResidue,cycle.completeness.excreta,cycle.completeness.waste,cycle.numberOfCycles,cycle.name,cycle.defaultSource.@id,cycle.defaultSource.name,cycle.aggregatedQualityScore,cycle.emissions.112TrichlorotrifluoroethaneToAirInputsProduction.value,cycle.emissions.11DichlorotetrafluoroethaneToAirInputsProduction.value,cycle.emissions.bromochlorodifluoromethaneToAirInputsProduction.value,cycle.emissions.ch4ToAirAquacultureSystems.value,cycle.emissions.ch4ToAirEntericFermentation.value,cycle.emissions.ch4ToAirFloodedRice.value,cycle.emissions.ch4ToAirInputsProductionFossil.value,cycle.emissions.ch4ToAirInputsProductionNonFossil.value,cycle.emissions.chlorodifluoromethaneToAirInputsProduction.value,cycle.emissions.co2ToAirFuelCombustion.value,cycle.emissions.co2ToAirInputsProduction.value,cycle.emissions.co2ToAirLimeHydrolysis.value,cycle.emissions.co2ToAirOrganicSoilCultivation.value,cycle.emissions.co2ToAirUreaHydrolysis.value,cycle.emissions.dichlorodifluoromethaneToAirInputsProduction.value,cycle.emissions.n2OToAirAquacultureSystemsDirect.value,cycle.emissions.n2OToAirAquacultureSystemsIndirect.value,cycle.emissions.n2OToAirCropResidueDecompositionDirect.value,cycle.emissions.n2OToAirExcretaDirect.value,cycle.emissions.n2OToAirExcretaIndirect.value,cycle.emissions.n2OToAirFuelCombustionDirect.value,cycle.emissions.n2OToAirInorganicFertiliserDirect.value,cycle.emissions.n2OToAirInorganicFertiliserIndirect.value,cycle.emissions.n2OToAirInputsProduction.value,cycle.emissions.n2OToAirOrganicFertiliserDirect.value,cycle.emissions.n2OToAirOrganicFertiliserIndirect.value,cycle.emissions.n2OToAirOrganicSoilCultivationDirect.value,cycle.emissions.n2ToAirAquacultureSystems.value,cycle.emissions.nErosionInputsProduction.value,cycle.emissions.nToSurfaceWaterAquacultureSystems.value,cycle.emissions.nToSurfaceWaterInputsProduction.value,cycle.emissions.nh3ToAirAquacultureSystems.value,cycle.emissions.nh3ToAirInorganicFertiliser.value,cycle.emissions.nh3ToAirInputsProduction.value,cycle.emissions.nh3ToAirOrganicFertiliser.value,cycle.emissions.nh4ToGroundwaterInputsProduction.value,cycle.emissions.no3ToGroundwaterInputsProduction.value,cycle.emissions.no3ToSurfaceWaterAquacultureSystems.value,cycle.emissions.noxToAirAquacultureSystems.value,cycle.emissions.noxToAirCropResidueDecomposition.value,cycle.emissions.noxToAirExcreta.value,cycle.emissions.noxToAirFuelCombustion.value,cycle.emissions.noxToAirInorganicFertiliser.value,cycle.emissions.noxToAirInputsProduction.value,cycle.emissions.noxToAirOrganicFertiliser.value,cycle.emissions.pErosionInputsProduction.value,cycle.emissions.pToDrainageWaterInputsProduction.value,cycle.emissions.pToGroundwaterInputsProduction.value,cycle.emissions.pToSurfaceWaterAquacultureSystems.value,cycle.emissions.pToSurfaceWaterInputsProduction.value,cycle.emissions.so2ToAirFuelCombustion.value,cycle.emissions.so2ToAirInputsProduction.value,cycle.inputs.CAS-1071-83-6.value,cycle.inputs.ammoniumNitrateKgN.value,cycle.inputs.diesel.value,cycle.inputs.machineryInfrastructureDepreciatedAmountPerCycle.value,cycle.inputs.organicFertiliserUnspecifiedKgMass.value,cycle.inputs.seed.value,cycle.products.aboveGroundCropResidueRemoved.value,cycle.products.abyssinianKaleSeedWhole.value,cycle.products.abyssinianKaleStraw.value,site.measurements.cationExchangeCapacityPerKgSoil.value,site.measurements.clayContent.value,site.measurements.drainageClass.value,site.measurements.ecoClimateZone.value,site.measurements.erodibility.value,site.measurements.eutricCambisols.value,site.measurements.heavyWinterPrecipitation.value,site.measurements.netPrimaryProduction.value,site.measurements.nutrientLossToAquaticEnvironment.value,site.measurements.organicCarbonPerKgSoil.value,site.measurements.potentialEvapotranspirationAnnual.value,site.measurements.potentialEvapotranspirationLongTermAnnualMean.value,site.measurements.precipitationAnnual.value,site.measurements.precipitationLongTermAnnualMean.value,site.measurements.precipitationMonthly.value,site.measurements.sandContent.value,site.measurements.siltContent.value,site.measurements.slope.value,site.measurements.slopeLength.value,site.measurements.soilPh.value,site.measurements.temperatureAnnual.value,site.measurements.temperatureLongTermAnnualMean.value,site.measurements.totalNitrogenPerKgSoil.value,site.measurements.totalPhosphorusPerKgSoil.value
|
|
2
|
-
-,GADM-POL,Poland,cropland,"Abyssinian kale, seed (whole) - Poland - 2010-2019",abyssinianKaleSeedWhole-poland-2010-2019,false,true,0.15.1,pu2wmwp8yfv7,Hestia Team (2023),,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,15.7648,22,1.3333333333333333,3,0.0276563245669308,100,1,2,20,10,670,631.3873015873015,810.9623960529765,726.8927020301658,297.72893772893747,42,36,1,0.03,6.599999999999999,8.520176188151064,7.671970621744815,5.601999998092651,0.25303214682436836
|
|
3
|
-
-,GADM-POL,Poland,cropland,"Abyssinian kale, seed (whole) - Poland - Conventional, Non Irrigated - 2010-2019",abyssinianKaleSeedWhole-poland-conventional-non-irrigated-2010-2019,false,true,0.15.1,pu2wmwp8yfv7,Hestia Team (2023),,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,15.7648,22,1.3333333333333333,3,0.0276563245669308,100,1,2,20,10,670,631.3873015873015,810.9623960529765,726.8927020301658,297.72893772893747,42,36,1,0.03,6.599999999999999,8.520176188151064,7.671970621744815,5.601999998092651,0.25303214682436836
|
|
4
|
-
abyssinianKaleSeedWhole-poland-conventional-non-irrigated-2010-2019,,,,,,,,,,,2010,2019,1 ha,start of year,false,modelled,aggregated data,abyssinianKaleSeedWhole-poland-conventional-non-irrigated-2010-2019,true,0.15.1,false,false,true,false,true,true,true,false,true,true,true,true,false,true,true,3,"Abyssinian kale, seed (whole) - Poland - Conventional, Non Irrigated - 2010-2019",pu2wmwp8yfv7,Hestia Team (2023),2,6.4641508972789e-9,1.3035708604655794e-7,1.7640974449529045e-7,0,0,0,0.0829178677451453,0.0006479143201644225,0.0000010421751748445345,192.84364791666667,69.14349712373681,0,0,0,3.533156994196919e-7,0,0,0,0,0,0.008273418333333333,1.6472888298269115,0.3855073573744045,0.17257596015401547,0.3953493191584588,0.1602529449560934,0,0,0.6515966655828987,0,0,0,1.5,0.058159818146966205,0,0,0,0,0,0,0,1.9849512264583336,1.7215708857150245,0.16686887901712283,0.4131770125716059,0.1567684746702513,0.014072079707984091,0.000008488147167789383,0,0.03339869044680493,0.12166791666666667,0.16800298937653904,3.24,100,9.605361842105262,0.3547826086956522,300,13,2216.6666667283334,1510,2530,,,,,,,,,,,,,,,,,,,,,,,,
|
|
5
|
-
abyssinianKaleSeedWhole-poland-2010-2019,,,,,,,,,,,2010,2019,1 ha,start of year,false,modelled,aggregated data,abyssinianKaleSeedWhole-poland-2010-2019,true,0.15.1,false,false,true,false,true,true,true,false,true,true,true,true,false,true,true,3,"Abyssinian kale, seed (whole) - Poland - 2010-2019",pu2wmwp8yfv7,Hestia Team (2023),2,6.4641508972789e-9,1.3035708604655794e-7,1.7640974449529045e-7,0,0,0,0.0829178677451453,0.0006479143201644225,0.0000010421751748445345,192.84364791666667,69.14349712373681,0,0,0,3.533156994196919e-7,0,0,0,0,0,0.008273418333333333,1.6472888298269115,0.3855073573744045,0.17257596015401547,0.3953493191584588,0.1602529449560934,0,0,0.6515966655828987,0,0,0,1.5,0.058159818146966205,0,0,0,0,0,0,0,1.9849512264583336,1.7215708857150247,0.16686887901712283,0.4131770125716059,0.1567684746702513,0.014072079707984091,0.000008488147167789383,0,0.03339869044680493,0.12166791666666667,0.16800298937653904,3.24,100,9.605361842105262,0.3547826086956522,300,13,2216.6666667283334,1510,2530,,,,,,,,,,,,,,,,,,,,,,,,
|
package/test/fixtures/update-aggregated-nodes/abyssinianKaleSeedWhole-cycle_pivoted.csv.cycle.json
DELETED
|
@@ -1,458 +0,0 @@
|
|
|
1
|
-
[
|
|
2
|
-
{
|
|
3
|
-
"@id": "abyssinianKaleSeedWhole-poland-conventional-non-irrigated-2010-2019",
|
|
4
|
-
"startDate": 2010,
|
|
5
|
-
"endDate": 2019,
|
|
6
|
-
"functionalUnit": "1 ha",
|
|
7
|
-
"startDateDefinition": "start of year",
|
|
8
|
-
"dataPrivate": false,
|
|
9
|
-
"defaultMethodClassification": "modelled",
|
|
10
|
-
"defaultMethodClassificationDescription": "aggregated data",
|
|
11
|
-
"site": {
|
|
12
|
-
"@id": "abyssinianKaleSeedWhole-poland-conventional-non-irrigated-2010-2019"
|
|
13
|
-
},
|
|
14
|
-
"aggregated": true,
|
|
15
|
-
"aggregatedVersion": "0.15.1",
|
|
16
|
-
"completeness": {
|
|
17
|
-
"operations": false,
|
|
18
|
-
"electricityFuel": false,
|
|
19
|
-
"material": true,
|
|
20
|
-
"transport": false,
|
|
21
|
-
"fertiliser": true,
|
|
22
|
-
"soilAmendments": true,
|
|
23
|
-
"pesticidesAntibiotics": true,
|
|
24
|
-
"water": false,
|
|
25
|
-
"animalFeed": true,
|
|
26
|
-
"liveAnimals": true,
|
|
27
|
-
"other": true,
|
|
28
|
-
"products": true,
|
|
29
|
-
"cropResidue": false,
|
|
30
|
-
"excreta": true,
|
|
31
|
-
"waste": true
|
|
32
|
-
},
|
|
33
|
-
"numberOfCycles": 3,
|
|
34
|
-
"name": "Abyssinian kale, seed (whole) - Poland - Conventional, Non Irrigated - 2010-2019",
|
|
35
|
-
"defaultSource": {
|
|
36
|
-
"@id": "pu2wmwp8yfv7",
|
|
37
|
-
"name": "Hestia Team (2023)"
|
|
38
|
-
},
|
|
39
|
-
"aggregatedQualityScore": 2,
|
|
40
|
-
"emissions": {
|
|
41
|
-
"112TrichlorotrifluoroethaneToAirInputsProduction": {
|
|
42
|
-
"value": 6.4641508972789e-9
|
|
43
|
-
},
|
|
44
|
-
"11DichlorotetrafluoroethaneToAirInputsProduction": {
|
|
45
|
-
"value": 1.3035708604655794e-7
|
|
46
|
-
},
|
|
47
|
-
"bromochlorodifluoromethaneToAirInputsProduction": {
|
|
48
|
-
"value": 1.7640974449529045e-7
|
|
49
|
-
},
|
|
50
|
-
"ch4ToAirAquacultureSystems": {
|
|
51
|
-
"value": 0
|
|
52
|
-
},
|
|
53
|
-
"ch4ToAirEntericFermentation": {
|
|
54
|
-
"value": 0
|
|
55
|
-
},
|
|
56
|
-
"ch4ToAirFloodedRice": {
|
|
57
|
-
"value": 0
|
|
58
|
-
},
|
|
59
|
-
"ch4ToAirInputsProductionFossil": {
|
|
60
|
-
"value": 0.0829178677451453
|
|
61
|
-
},
|
|
62
|
-
"ch4ToAirInputsProductionNonFossil": {
|
|
63
|
-
"value": 0.0006479143201644225
|
|
64
|
-
},
|
|
65
|
-
"chlorodifluoromethaneToAirInputsProduction": {
|
|
66
|
-
"value": 0.0000010421751748445345
|
|
67
|
-
},
|
|
68
|
-
"co2ToAirFuelCombustion": {
|
|
69
|
-
"value": 192.84364791666667
|
|
70
|
-
},
|
|
71
|
-
"co2ToAirInputsProduction": {
|
|
72
|
-
"value": 69.14349712373681
|
|
73
|
-
},
|
|
74
|
-
"co2ToAirLimeHydrolysis": {
|
|
75
|
-
"value": 0
|
|
76
|
-
},
|
|
77
|
-
"co2ToAirOrganicSoilCultivation": {
|
|
78
|
-
"value": 0
|
|
79
|
-
},
|
|
80
|
-
"co2ToAirUreaHydrolysis": {
|
|
81
|
-
"value": 0
|
|
82
|
-
},
|
|
83
|
-
"dichlorodifluoromethaneToAirInputsProduction": {
|
|
84
|
-
"value": 3.533156994196919e-7
|
|
85
|
-
},
|
|
86
|
-
"n2OToAirAquacultureSystemsDirect": {
|
|
87
|
-
"value": 0
|
|
88
|
-
},
|
|
89
|
-
"n2OToAirAquacultureSystemsIndirect": {
|
|
90
|
-
"value": 0
|
|
91
|
-
},
|
|
92
|
-
"n2OToAirCropResidueDecompositionDirect": {
|
|
93
|
-
"value": 0
|
|
94
|
-
},
|
|
95
|
-
"n2OToAirExcretaDirect": {
|
|
96
|
-
"value": 0
|
|
97
|
-
},
|
|
98
|
-
"n2OToAirExcretaIndirect": {
|
|
99
|
-
"value": 0
|
|
100
|
-
},
|
|
101
|
-
"n2OToAirFuelCombustionDirect": {
|
|
102
|
-
"value": 0.008273418333333333
|
|
103
|
-
},
|
|
104
|
-
"n2OToAirInorganicFertiliserDirect": {
|
|
105
|
-
"value": 1.6472888298269115
|
|
106
|
-
},
|
|
107
|
-
"n2OToAirInorganicFertiliserIndirect": {
|
|
108
|
-
"value": 0.3855073573744045
|
|
109
|
-
},
|
|
110
|
-
"n2OToAirInputsProduction": {
|
|
111
|
-
"value": 0.17257596015401547
|
|
112
|
-
},
|
|
113
|
-
"n2OToAirOrganicFertiliserDirect": {
|
|
114
|
-
"value": 0.3953493191584588
|
|
115
|
-
},
|
|
116
|
-
"n2OToAirOrganicFertiliserIndirect": {
|
|
117
|
-
"value": 0.1602529449560934
|
|
118
|
-
},
|
|
119
|
-
"n2OToAirOrganicSoilCultivationDirect": {
|
|
120
|
-
"value": 0
|
|
121
|
-
},
|
|
122
|
-
"n2ToAirAquacultureSystems": {
|
|
123
|
-
"value": 0
|
|
124
|
-
},
|
|
125
|
-
"nErosionInputsProduction": {
|
|
126
|
-
"value": 0.6515966655828987
|
|
127
|
-
},
|
|
128
|
-
"nToSurfaceWaterAquacultureSystems": {
|
|
129
|
-
"value": 0
|
|
130
|
-
},
|
|
131
|
-
"nToSurfaceWaterInputsProduction": {
|
|
132
|
-
"value": 0
|
|
133
|
-
},
|
|
134
|
-
"nh3ToAirAquacultureSystems": {
|
|
135
|
-
"value": 0
|
|
136
|
-
},
|
|
137
|
-
"nh3ToAirInorganicFertiliser": {
|
|
138
|
-
"value": 1.5
|
|
139
|
-
},
|
|
140
|
-
"nh3ToAirInputsProduction": {
|
|
141
|
-
"value": 0.058159818146966205
|
|
142
|
-
},
|
|
143
|
-
"nh3ToAirOrganicFertiliser": {
|
|
144
|
-
"value": 0
|
|
145
|
-
},
|
|
146
|
-
"nh4ToGroundwaterInputsProduction": {
|
|
147
|
-
"value": 0
|
|
148
|
-
},
|
|
149
|
-
"no3ToGroundwaterInputsProduction": {
|
|
150
|
-
"value": 0
|
|
151
|
-
},
|
|
152
|
-
"no3ToSurfaceWaterAquacultureSystems": {
|
|
153
|
-
"value": 0
|
|
154
|
-
},
|
|
155
|
-
"noxToAirAquacultureSystems": {
|
|
156
|
-
"value": 0
|
|
157
|
-
},
|
|
158
|
-
"noxToAirCropResidueDecomposition": {
|
|
159
|
-
"value": 0
|
|
160
|
-
},
|
|
161
|
-
"noxToAirExcreta": {
|
|
162
|
-
"value": 0
|
|
163
|
-
},
|
|
164
|
-
"noxToAirFuelCombustion": {
|
|
165
|
-
"value": 1.9849512264583336
|
|
166
|
-
},
|
|
167
|
-
"noxToAirInorganicFertiliser": {
|
|
168
|
-
"value": 1.7215708857150245
|
|
169
|
-
},
|
|
170
|
-
"noxToAirInputsProduction": {
|
|
171
|
-
"value": 0.16686887901712283
|
|
172
|
-
},
|
|
173
|
-
"noxToAirOrganicFertiliser": {
|
|
174
|
-
"value": 0.4131770125716059
|
|
175
|
-
},
|
|
176
|
-
"pErosionInputsProduction": {
|
|
177
|
-
"value": 0.1567684746702513
|
|
178
|
-
},
|
|
179
|
-
"pToDrainageWaterInputsProduction": {
|
|
180
|
-
"value": 0.014072079707984091
|
|
181
|
-
},
|
|
182
|
-
"pToGroundwaterInputsProduction": {
|
|
183
|
-
"value": 0.000008488147167789383
|
|
184
|
-
},
|
|
185
|
-
"pToSurfaceWaterAquacultureSystems": {
|
|
186
|
-
"value": 0
|
|
187
|
-
},
|
|
188
|
-
"pToSurfaceWaterInputsProduction": {
|
|
189
|
-
"value": 0.03339869044680493
|
|
190
|
-
},
|
|
191
|
-
"so2ToAirFuelCombustion": {
|
|
192
|
-
"value": 0.12166791666666667
|
|
193
|
-
},
|
|
194
|
-
"so2ToAirInputsProduction": {
|
|
195
|
-
"value": 0.16800298937653904
|
|
196
|
-
}
|
|
197
|
-
},
|
|
198
|
-
"inputs": {
|
|
199
|
-
"CAS-1071-83-6": {
|
|
200
|
-
"value": 3.24
|
|
201
|
-
},
|
|
202
|
-
"ammoniumNitrateKgN": {
|
|
203
|
-
"value": 100
|
|
204
|
-
},
|
|
205
|
-
"diesel": {
|
|
206
|
-
"value": 9.605361842105262
|
|
207
|
-
},
|
|
208
|
-
"machineryInfrastructureDepreciatedAmountPerCycle": {
|
|
209
|
-
"value": 0.3547826086956522
|
|
210
|
-
},
|
|
211
|
-
"organicFertiliserUnspecifiedKgMass": {
|
|
212
|
-
"value": 300
|
|
213
|
-
},
|
|
214
|
-
"seed": {
|
|
215
|
-
"value": 13
|
|
216
|
-
}
|
|
217
|
-
},
|
|
218
|
-
"products": {
|
|
219
|
-
"aboveGroundCropResidueRemoved": {
|
|
220
|
-
"value": 2216.6666667283334
|
|
221
|
-
},
|
|
222
|
-
"abyssinianKaleSeedWhole": {
|
|
223
|
-
"value": 1510
|
|
224
|
-
},
|
|
225
|
-
"abyssinianKaleStraw": {
|
|
226
|
-
"value": 2530
|
|
227
|
-
}
|
|
228
|
-
}
|
|
229
|
-
},
|
|
230
|
-
{
|
|
231
|
-
"@id": "abyssinianKaleSeedWhole-poland-2010-2019",
|
|
232
|
-
"startDate": 2010,
|
|
233
|
-
"endDate": 2019,
|
|
234
|
-
"functionalUnit": "1 ha",
|
|
235
|
-
"startDateDefinition": "start of year",
|
|
236
|
-
"dataPrivate": false,
|
|
237
|
-
"defaultMethodClassification": "modelled",
|
|
238
|
-
"defaultMethodClassificationDescription": "aggregated data",
|
|
239
|
-
"site": {
|
|
240
|
-
"@id": "abyssinianKaleSeedWhole-poland-2010-2019"
|
|
241
|
-
},
|
|
242
|
-
"aggregated": true,
|
|
243
|
-
"aggregatedVersion": "0.15.1",
|
|
244
|
-
"completeness": {
|
|
245
|
-
"operations": false,
|
|
246
|
-
"electricityFuel": false,
|
|
247
|
-
"material": true,
|
|
248
|
-
"transport": false,
|
|
249
|
-
"fertiliser": true,
|
|
250
|
-
"soilAmendments": true,
|
|
251
|
-
"pesticidesAntibiotics": true,
|
|
252
|
-
"water": false,
|
|
253
|
-
"animalFeed": true,
|
|
254
|
-
"liveAnimals": true,
|
|
255
|
-
"other": true,
|
|
256
|
-
"products": true,
|
|
257
|
-
"cropResidue": false,
|
|
258
|
-
"excreta": true,
|
|
259
|
-
"waste": true
|
|
260
|
-
},
|
|
261
|
-
"numberOfCycles": 3,
|
|
262
|
-
"name": "Abyssinian kale, seed (whole) - Poland - 2010-2019",
|
|
263
|
-
"defaultSource": {
|
|
264
|
-
"@id": "pu2wmwp8yfv7",
|
|
265
|
-
"name": "Hestia Team (2023)"
|
|
266
|
-
},
|
|
267
|
-
"aggregatedQualityScore": 2,
|
|
268
|
-
"emissions": {
|
|
269
|
-
"112TrichlorotrifluoroethaneToAirInputsProduction": {
|
|
270
|
-
"value": 6.4641508972789e-9
|
|
271
|
-
},
|
|
272
|
-
"11DichlorotetrafluoroethaneToAirInputsProduction": {
|
|
273
|
-
"value": 1.3035708604655794e-7
|
|
274
|
-
},
|
|
275
|
-
"bromochlorodifluoromethaneToAirInputsProduction": {
|
|
276
|
-
"value": 1.7640974449529045e-7
|
|
277
|
-
},
|
|
278
|
-
"ch4ToAirAquacultureSystems": {
|
|
279
|
-
"value": 0
|
|
280
|
-
},
|
|
281
|
-
"ch4ToAirEntericFermentation": {
|
|
282
|
-
"value": 0
|
|
283
|
-
},
|
|
284
|
-
"ch4ToAirFloodedRice": {
|
|
285
|
-
"value": 0
|
|
286
|
-
},
|
|
287
|
-
"ch4ToAirInputsProductionFossil": {
|
|
288
|
-
"value": 0.0829178677451453
|
|
289
|
-
},
|
|
290
|
-
"ch4ToAirInputsProductionNonFossil": {
|
|
291
|
-
"value": 0.0006479143201644225
|
|
292
|
-
},
|
|
293
|
-
"chlorodifluoromethaneToAirInputsProduction": {
|
|
294
|
-
"value": 0.0000010421751748445345
|
|
295
|
-
},
|
|
296
|
-
"co2ToAirFuelCombustion": {
|
|
297
|
-
"value": 192.84364791666667
|
|
298
|
-
},
|
|
299
|
-
"co2ToAirInputsProduction": {
|
|
300
|
-
"value": 69.14349712373681
|
|
301
|
-
},
|
|
302
|
-
"co2ToAirLimeHydrolysis": {
|
|
303
|
-
"value": 0
|
|
304
|
-
},
|
|
305
|
-
"co2ToAirOrganicSoilCultivation": {
|
|
306
|
-
"value": 0
|
|
307
|
-
},
|
|
308
|
-
"co2ToAirUreaHydrolysis": {
|
|
309
|
-
"value": 0
|
|
310
|
-
},
|
|
311
|
-
"dichlorodifluoromethaneToAirInputsProduction": {
|
|
312
|
-
"value": 3.533156994196919e-7
|
|
313
|
-
},
|
|
314
|
-
"n2OToAirAquacultureSystemsDirect": {
|
|
315
|
-
"value": 0
|
|
316
|
-
},
|
|
317
|
-
"n2OToAirAquacultureSystemsIndirect": {
|
|
318
|
-
"value": 0
|
|
319
|
-
},
|
|
320
|
-
"n2OToAirCropResidueDecompositionDirect": {
|
|
321
|
-
"value": 0
|
|
322
|
-
},
|
|
323
|
-
"n2OToAirExcretaDirect": {
|
|
324
|
-
"value": 0
|
|
325
|
-
},
|
|
326
|
-
"n2OToAirExcretaIndirect": {
|
|
327
|
-
"value": 0
|
|
328
|
-
},
|
|
329
|
-
"n2OToAirFuelCombustionDirect": {
|
|
330
|
-
"value": 0.008273418333333333
|
|
331
|
-
},
|
|
332
|
-
"n2OToAirInorganicFertiliserDirect": {
|
|
333
|
-
"value": 1.6472888298269115
|
|
334
|
-
},
|
|
335
|
-
"n2OToAirInorganicFertiliserIndirect": {
|
|
336
|
-
"value": 0.3855073573744045
|
|
337
|
-
},
|
|
338
|
-
"n2OToAirInputsProduction": {
|
|
339
|
-
"value": 0.17257596015401547
|
|
340
|
-
},
|
|
341
|
-
"n2OToAirOrganicFertiliserDirect": {
|
|
342
|
-
"value": 0.3953493191584588
|
|
343
|
-
},
|
|
344
|
-
"n2OToAirOrganicFertiliserIndirect": {
|
|
345
|
-
"value": 0.1602529449560934
|
|
346
|
-
},
|
|
347
|
-
"n2OToAirOrganicSoilCultivationDirect": {
|
|
348
|
-
"value": 0
|
|
349
|
-
},
|
|
350
|
-
"n2ToAirAquacultureSystems": {
|
|
351
|
-
"value": 0
|
|
352
|
-
},
|
|
353
|
-
"nErosionInputsProduction": {
|
|
354
|
-
"value": 0.6515966655828987
|
|
355
|
-
},
|
|
356
|
-
"nToSurfaceWaterAquacultureSystems": {
|
|
357
|
-
"value": 0
|
|
358
|
-
},
|
|
359
|
-
"nToSurfaceWaterInputsProduction": {
|
|
360
|
-
"value": 0
|
|
361
|
-
},
|
|
362
|
-
"nh3ToAirAquacultureSystems": {
|
|
363
|
-
"value": 0
|
|
364
|
-
},
|
|
365
|
-
"nh3ToAirInorganicFertiliser": {
|
|
366
|
-
"value": 1.5
|
|
367
|
-
},
|
|
368
|
-
"nh3ToAirInputsProduction": {
|
|
369
|
-
"value": 0.058159818146966205
|
|
370
|
-
},
|
|
371
|
-
"nh3ToAirOrganicFertiliser": {
|
|
372
|
-
"value": 0
|
|
373
|
-
},
|
|
374
|
-
"nh4ToGroundwaterInputsProduction": {
|
|
375
|
-
"value": 0
|
|
376
|
-
},
|
|
377
|
-
"no3ToGroundwaterInputsProduction": {
|
|
378
|
-
"value": 0
|
|
379
|
-
},
|
|
380
|
-
"no3ToSurfaceWaterAquacultureSystems": {
|
|
381
|
-
"value": 0
|
|
382
|
-
},
|
|
383
|
-
"noxToAirAquacultureSystems": {
|
|
384
|
-
"value": 0
|
|
385
|
-
},
|
|
386
|
-
"noxToAirCropResidueDecomposition": {
|
|
387
|
-
"value": 0
|
|
388
|
-
},
|
|
389
|
-
"noxToAirExcreta": {
|
|
390
|
-
"value": 0
|
|
391
|
-
},
|
|
392
|
-
"noxToAirFuelCombustion": {
|
|
393
|
-
"value": 1.9849512264583336
|
|
394
|
-
},
|
|
395
|
-
"noxToAirInorganicFertiliser": {
|
|
396
|
-
"value": 1.7215708857150247
|
|
397
|
-
},
|
|
398
|
-
"noxToAirInputsProduction": {
|
|
399
|
-
"value": 0.16686887901712283
|
|
400
|
-
},
|
|
401
|
-
"noxToAirOrganicFertiliser": {
|
|
402
|
-
"value": 0.4131770125716059
|
|
403
|
-
},
|
|
404
|
-
"pErosionInputsProduction": {
|
|
405
|
-
"value": 0.1567684746702513
|
|
406
|
-
},
|
|
407
|
-
"pToDrainageWaterInputsProduction": {
|
|
408
|
-
"value": 0.014072079707984091
|
|
409
|
-
},
|
|
410
|
-
"pToGroundwaterInputsProduction": {
|
|
411
|
-
"value": 0.000008488147167789383
|
|
412
|
-
},
|
|
413
|
-
"pToSurfaceWaterAquacultureSystems": {
|
|
414
|
-
"value": 0
|
|
415
|
-
},
|
|
416
|
-
"pToSurfaceWaterInputsProduction": {
|
|
417
|
-
"value": 0.03339869044680493
|
|
418
|
-
},
|
|
419
|
-
"so2ToAirFuelCombustion": {
|
|
420
|
-
"value": 0.12166791666666667
|
|
421
|
-
},
|
|
422
|
-
"so2ToAirInputsProduction": {
|
|
423
|
-
"value": 0.16800298937653904
|
|
424
|
-
}
|
|
425
|
-
},
|
|
426
|
-
"inputs": {
|
|
427
|
-
"CAS-1071-83-6": {
|
|
428
|
-
"value": 3.24
|
|
429
|
-
},
|
|
430
|
-
"ammoniumNitrateKgN": {
|
|
431
|
-
"value": 100
|
|
432
|
-
},
|
|
433
|
-
"diesel": {
|
|
434
|
-
"value": 9.605361842105262
|
|
435
|
-
},
|
|
436
|
-
"machineryInfrastructureDepreciatedAmountPerCycle": {
|
|
437
|
-
"value": 0.3547826086956522
|
|
438
|
-
},
|
|
439
|
-
"organicFertiliserUnspecifiedKgMass": {
|
|
440
|
-
"value": 300
|
|
441
|
-
},
|
|
442
|
-
"seed": {
|
|
443
|
-
"value": 13
|
|
444
|
-
}
|
|
445
|
-
},
|
|
446
|
-
"products": {
|
|
447
|
-
"aboveGroundCropResidueRemoved": {
|
|
448
|
-
"value": 2216.6666667283334
|
|
449
|
-
},
|
|
450
|
-
"abyssinianKaleSeedWhole": {
|
|
451
|
-
"value": 1510
|
|
452
|
-
},
|
|
453
|
-
"abyssinianKaleStraw": {
|
|
454
|
-
"value": 2530
|
|
455
|
-
}
|
|
456
|
-
}
|
|
457
|
-
}
|
|
458
|
-
]
|