@hestia-earth/data-validation 0.39.0 → 0.39.1

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hestia-earth/data-validation",
3
- "version": "0.39.0",
3
+ "version": "0.39.1",
4
4
  "description": "HESTIA Data Validation library",
5
5
  "main": "dist/index.js",
6
6
  "typings": "dist/index.d.ts",
@@ -2,22 +2,22 @@
2
2
  "fuel": [
3
3
  "petrol",
4
4
  "diesel",
5
- "aviationGasoline",
6
5
  "diesel1D",
6
+ "aviationGasoline",
7
7
  "diesel4D",
8
8
  "diesel2D",
9
9
  "marineDieselOil",
10
- "gasolineTypeJetFuel",
11
10
  "en590Diesel",
11
+ "gasolineTypeJetFuel",
12
12
  "petrolBurntIn2StrokeEngine",
13
13
  "petrolBurntIn4StrokeEngine"
14
14
  ],
15
15
  "cropResidue": [
16
16
  "discardedCropBurnt",
17
- "discardedCropLeftOnField",
18
- "discardedCropTotal",
19
17
  "aboveGroundCropResidueRemoved",
20
18
  "discardedCropIncorporated",
19
+ "discardedCropLeftOnField",
20
+ "discardedCropTotal",
21
21
  "aboveGroundCropResidueIncorporated",
22
22
  "aboveGroundCropResidueTotal",
23
23
  "discardedCropRemoved",
@@ -26,113 +26,111 @@
26
26
  "aboveGroundCropResidueLeftOnField"
27
27
  ],
28
28
  "model": [
29
- "pestlciConsensusModel",
30
- "landOccupationCalculationUsedDurationOnly",
29
+ "aware",
30
+ "ipcc2019",
31
31
  "dewulfEtAl2007",
32
+ "pestlciConsensusModel",
32
33
  "cnspsModel",
34
+ "epa2014",
33
35
  "ipcc2007",
34
- "recipe2008Individualist",
35
- "worldMeteorologicalOrganization1999",
36
+ "edip2003",
36
37
  "landOccupationCalculationIncludingUsedAndUnusedDuration",
37
38
  "spatial",
38
- "ipcc2019",
39
- "aware",
40
- "agribalyse2016",
39
+ "landOccupationCalculationUsedDurationOnly",
41
40
  "pefcrGuidanceDocument2017",
42
- "edip2003",
41
+ "agribalyse2016",
43
42
  "hestiaAggregatedData",
44
43
  "lcImpactAllEffects100Years",
45
- "epa2014",
46
- "usetoxV2",
47
- "usetoxV2-1",
48
- "europeanEnvironmentAgency2016",
44
+ "recipe2008Individualist",
45
+ "worldMeteorologicalOrganization1999",
46
+ "chaudharyBrooks2018",
49
47
  "fantkeEtAl2016",
50
48
  "ipcc2013ExcludingFeedbacks",
51
- "haversineFormula",
52
- "poschEtAl2008",
53
49
  "ipcc2019CountryAverageFertiliserMix",
54
- "papatryphonEtAl2004",
55
- "harmonizedWorldSoilDatabaseV1-2",
56
- "pribyl2010",
57
50
  "lcImpactCertainEffectsInfinite",
51
+ "haversineFormula",
52
+ "europeanEnvironmentAgency2016",
58
53
  "lcImpactCertainEffects100Years",
59
54
  "ridouttPfister2010",
60
- "recipe2016Hierarchist",
61
- "sqcb",
62
- "ecoinventV3",
63
- "ecoinventV3AndEmberClimate",
64
55
  "cml1992",
56
+ "ecoinventV3AndEmberClimate",
57
+ "pribyl2010",
58
+ "usetoxV2-1",
65
59
  "mapbiomas",
66
- "chaudharyBrooks2018",
60
+ "poschEtAl2008",
61
+ "papatryphonEtAl2004",
62
+ "ecoinventV3",
63
+ "harmonizedWorldSoilDatabaseV1-2",
64
+ "sqcb",
67
65
  "recipe2016Individualist",
68
- "milaICanalsEtAl2007",
69
- "ipcc2013IncludingFeedbacks",
66
+ "recipe2016Hierarchist",
70
67
  "emepEea2019",
71
- "emepEea2019CountryAverageFertiliserMix",
72
- "semc2000",
73
- "royEtAl2014",
68
+ "ipcc2021",
74
69
  "gfliDatabaseV2",
75
70
  "massBalanceModel",
76
- "cumulativeEnergyDemandCedMethod",
77
- "globalCropWaterModel2008",
78
- "stehfestBouwman2006GisImplementation",
79
71
  "cml2001NonBaseline",
80
72
  "ecoIndicator95",
81
- "linkedImpactAssessment",
82
- "hestia",
83
- "schererPfister2015",
84
- "dammgen2009",
85
- "ipcc2021",
73
+ "globalCropWaterModel2008",
86
74
  "stehfestBouwman2006",
87
75
  "sqcbFaistEmmeneggerEtAl2009",
88
- "allenEtAl2018",
76
+ "stehfestBouwman2006GisImplementation",
89
77
  "chaudharyEtAl2015",
90
- "akiyamaEtAl2010",
91
- "ipcc2001",
78
+ "ipcc2013IncludingFeedbacks",
79
+ "emepEea2019CountryAverageFertiliserMix",
80
+ "semc2000",
81
+ "cumulativeEnergyDemandCedMethod",
82
+ "dammgen2009",
83
+ "linkedImpactAssessment",
84
+ "allenEtAl2018",
85
+ "schererPfister2015",
86
+ "milaICanalsEtAl2007",
87
+ "hestia",
88
+ "royEtAl2014",
89
+ "emissionNotRelevant",
90
+ "riskpollModel",
91
+ "ecoalimV9",
92
+ "pooreNemecek2018",
93
+ "lanca",
94
+ "environmentalFootprintV3-1",
95
+ "ipcc1995",
96
+ "akagiEtAl2011",
97
+ "jarvisAndPain1994",
98
+ "worldSteel",
99
+ "directive200829EcOfTheEuropeanParliament",
100
+ "kanEtAl2020",
101
+ "resourceUseNotRelevant",
102
+ "environmentalFootprintV3-0",
103
+ "deRuijterEtAl2010",
104
+ "usEpa1993",
105
+ "blonkConsultants2016",
106
+ "bafu2025",
107
+ "aware2-0",
108
+ "koble2014",
109
+ "schmidt2007",
110
+ "salca",
111
+ "usEpa1995",
112
+ "impact2002Model",
113
+ "ecoinventV2",
114
+ "europeanEnvironmentAgency2013",
92
115
  "ipcc1996",
116
+ "ipcc2001",
117
+ "rainsModel",
118
+ "frischknechtEtAl2000",
93
119
  "environmentalFootprintV2-0",
94
- "europeanEnvironmentAgency2013",
120
+ "otherModel",
95
121
  "aggregatedModels",
96
122
  "ecoIndicator99",
123
+ "ipcc2006",
124
+ "webbEtAl2012AndSintermannEtAl2012",
97
125
  "akagiEtAl2011AndIpcc2006",
126
+ "recipe2016Egalitarian",
127
+ "cml2001Baseline",
98
128
  "faostat2018",
99
- "otherModel",
100
- "frischknechtEtAl2000",
101
- "lcImpactAllEffectsInfinite",
102
- "recipe2008Egalitarian",
103
- "impact2002Model",
104
- "ecoinventV2",
105
- "ipcc2006",
106
129
  "recipe2008Hierarchist",
130
+ "akiyamaEtAl2010",
131
+ "lcImpactAllEffectsInfinite",
107
132
  "hyde3-2",
108
- "webbEtAl2012AndSintermannEtAl2012",
109
- "rainsModel",
110
- "cml2001Baseline",
111
- "recipe2016Egalitarian",
112
- "usetoxV2-14",
113
- "koble2014",
114
- "salca",
115
- "ipcc1995",
116
- "environmentalFootprintV3-0",
117
- "environmentalFootprintV3-1",
118
- "riskpollModel",
119
- "akagiEtAl2011",
120
- "emissionNotRelevant",
121
- "bafu2025",
122
- "lanca",
123
- "jarvisAndPain1994",
124
- "deRuijterEtAl2010",
125
- "aware2-0",
126
- "usEpa1995",
127
- "usEpa1993",
128
- "ecoalimV9",
129
- "directive200829EcOfTheEuropeanParliament",
130
- "resourceUseNotRelevant",
131
- "kanEtAl2020",
132
- "worldSteel",
133
- "pooreNemecek2018",
134
- "schmidt2007",
135
- "blonkConsultants2016"
133
+ "recipe2008Egalitarian"
136
134
  ],
137
135
  "forage": [
138
136
  "redtopFreshForage",
@@ -150,17 +148,6 @@
150
148
  "burguFreshForage",
151
149
  "barleyFreshForage",
152
150
  "turnipFreshForage",
153
- "wheatFreshForage",
154
- "taroFreshForage",
155
- "peaFreshForage",
156
- "jaraguaFreshForage",
157
- "fenugreekFreshForage",
158
- "hyparrheniaFreshForage",
159
- "ervilFreshForage",
160
- "amaranthFreshForage",
161
- "horoFreshForage",
162
- "tagasasteFreshForage",
163
- "oliveFreshForage",
164
151
  "cockatooFreshForage",
165
152
  "jackfruitFreshForage",
166
153
  "cocksfootFreshForage",
@@ -177,6 +164,17 @@
177
164
  "peanutFreshForage",
178
165
  "mulgaFreshForage",
179
166
  "lupinFreshForage",
167
+ "wheatFreshForage",
168
+ "taroFreshForage",
169
+ "peaFreshForage",
170
+ "jaraguaFreshForage",
171
+ "fenugreekFreshForage",
172
+ "hyparrheniaFreshForage",
173
+ "ervilFreshForage",
174
+ "amaranthFreshForage",
175
+ "horoFreshForage",
176
+ "tagasasteFreshForage",
177
+ "oliveFreshForage",
180
178
  "tomatoFreshForage",
181
179
  "triticaleFreshForage",
182
180
  "panicFreshForage",
@@ -225,31 +223,6 @@
225
223
  "centipedeGrassFreshForage",
226
224
  "dallisGrassFreshForage",
227
225
  "bahiaGrassFreshForage",
228
- "sporobolusNervosusFreshForage",
229
- "spottedBrachiariaFreshForage",
230
- "pennisetumOrientaleFreshForage",
231
- "timothyGrassFreshForage",
232
- "eriochloaNubicaFreshForage",
233
- "carpetGrassFreshForage",
234
- "sporobolusHelvolusFreshForage",
235
- "missionGrassFreshForage",
236
- "rainTreeFreshForage",
237
- "sudanGrassFreshForage",
238
- "cockspurGrassFreshForage",
239
- "swaziGrassFreshForage",
240
- "polypogonSchimperianusFreshForage",
241
- "coelachyrumYemenicumFreshForage",
242
- "genericGrassFreshForage",
243
- "donkeyGrassFreshForage",
244
- "blackOatFreshForage",
245
- "prosoMilletFreshForage",
246
- "giantReedFreshForage",
247
- "nigeriaGrassFreshForage",
248
- "mungBeanFreshForage",
249
- "umbrellaThornFreshForage",
250
- "breadGrassFreshForage",
251
- "chineseAlbiziaFreshForage",
252
- "fodderBeetFreshForage",
253
226
  "sunnHempFreshForage",
254
227
  "signalGrassFreshForage",
255
228
  "columbusGrassFreshForage",
@@ -308,6 +281,31 @@
308
281
  "liverseedGrassFreshForage",
309
282
  "molassesGrassFreshForage",
310
283
  "birdwoodGrassFreshForage",
284
+ "sporobolusNervosusFreshForage",
285
+ "spottedBrachiariaFreshForage",
286
+ "pennisetumOrientaleFreshForage",
287
+ "timothyGrassFreshForage",
288
+ "eriochloaNubicaFreshForage",
289
+ "carpetGrassFreshForage",
290
+ "sporobolusHelvolusFreshForage",
291
+ "missionGrassFreshForage",
292
+ "rainTreeFreshForage",
293
+ "sudanGrassFreshForage",
294
+ "cockspurGrassFreshForage",
295
+ "swaziGrassFreshForage",
296
+ "polypogonSchimperianusFreshForage",
297
+ "coelachyrumYemenicumFreshForage",
298
+ "genericGrassFreshForage",
299
+ "donkeyGrassFreshForage",
300
+ "blackOatFreshForage",
301
+ "prosoMilletFreshForage",
302
+ "giantReedFreshForage",
303
+ "nigeriaGrassFreshForage",
304
+ "mungBeanFreshForage",
305
+ "umbrellaThornFreshForage",
306
+ "breadGrassFreshForage",
307
+ "chineseAlbiziaFreshForage",
308
+ "fodderBeetFreshForage",
311
309
  "ottochloaNodosaFreshForage",
312
310
  "guarBeanFreshForage",
313
311
  "espartoGrassFreshForage",
@@ -351,17 +349,6 @@
351
349
  "genericLeguminousGrassFreshForage",
352
350
  "fineThatchingGrassFreshForage",
353
351
  "nadiBlueGrassFreshForage",
354
- "milanjeFingerGrassFreshForage",
355
- "africanCouchGrassFreshForage",
356
- "colouredGuineaGrassFreshForage",
357
- "grassAlfalfaMixtureFreshForage",
358
- "smallCanaryGrassFreshForage",
359
- "wildSudanGrassFreshForage",
360
- "woollyFingerGrassFreshForage",
361
- "commonThatchingGrassFreshForage",
362
- "greyLoveGrassFreshForage",
363
- "cushionLoveGrassFreshForage",
364
- "wireLemonGrassFreshForage",
365
352
  "yellowThatchingGrassFreshForage",
366
353
  "africanLocustBeanFreshForage",
367
354
  "whiteSpearGrassFreshForage",
@@ -374,6 +361,17 @@
374
361
  "redRhodesGrassFreshForage",
375
362
  "lehmannLoveGrassFreshForage",
376
363
  "stylosanthesCampoGrandeFreshForage",
364
+ "milanjeFingerGrassFreshForage",
365
+ "africanCouchGrassFreshForage",
366
+ "colouredGuineaGrassFreshForage",
367
+ "grassAlfalfaMixtureFreshForage",
368
+ "smallCanaryGrassFreshForage",
369
+ "wildSudanGrassFreshForage",
370
+ "woollyFingerGrassFreshForage",
371
+ "commonThatchingGrassFreshForage",
372
+ "greyLoveGrassFreshForage",
373
+ "cushionLoveGrassFreshForage",
374
+ "wireLemonGrassFreshForage",
377
375
  "colouredHoodGrassFreshForage",
378
376
  "falseRhodesGrassFreshForage",
379
377
  "stAugustineGrassFreshForage",
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const DATA_VALIDATION_VERSION = '0.39.0';
1
+ export const DATA_VALIDATION_VERSION = '0.39.1';
package/validation.json CHANGED
@@ -340,6 +340,11 @@
340
340
  "level": "error",
341
341
  "message": "invalid water salinity"
342
342
  },
343
+ {
344
+ "function": "validate_soil_type_consistency",
345
+ "level": "error",
346
+ "message": "measurements for the same termType must be consistent"
347
+ },
343
348
  {
344
349
  "function": "validate_characterisedIndicator_model",
345
350
  "level": "error",
@@ -665,6 +670,11 @@
665
670
  "level": "error",
666
671
  "message": "must be linked to a verified country-level Impact Assessment"
667
672
  },
673
+ {
674
+ "function": "validate_plantation_practices",
675
+ "level": "error",
676
+ "message": "must include practices for plantation weighting"
677
+ },
668
678
  {
669
679
  "function": "validate_id",
670
680
  "level": "error",
package/setup.cfg DELETED
@@ -1,2 +0,0 @@
1
- [metadata]
2
- description-file = README.md