@hestia-earth/data-validation 0.37.16 → 0.37.18

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.37.16",
3
+ "version": "0.37.18",
4
4
  "description": "HESTIA Data Validation library",
5
5
  "main": "dist/index.js",
6
6
  "typings": "dist/index.d.ts",
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "fuel": [
3
- "petrol",
4
3
  "diesel",
5
- "diesel1D",
4
+ "petrol",
6
5
  "aviationGasoline",
6
+ "diesel1D",
7
7
  "marineDieselOil",
8
8
  "diesel4D",
9
9
  "diesel2D",
@@ -14,124 +14,147 @@
14
14
  ],
15
15
  "cropResidue": [
16
16
  "discardedCropBurnt",
17
- "discardedCropLeftOnField",
18
- "discardedCropTotal",
19
17
  "aboveGroundCropResidueRemoved",
20
18
  "discardedCropIncorporated",
21
- "aboveGroundCropResidueBurnt",
22
- "belowGroundCropResidue",
23
- "aboveGroundCropResidueLeftOnField",
19
+ "discardedCropLeftOnField",
20
+ "discardedCropTotal",
24
21
  "aboveGroundCropResidueIncorporated",
25
22
  "aboveGroundCropResidueTotal",
26
- "discardedCropRemoved"
23
+ "discardedCropRemoved",
24
+ "aboveGroundCropResidueBurnt",
25
+ "belowGroundCropResidue",
26
+ "aboveGroundCropResidueLeftOnField"
27
27
  ],
28
28
  "model": [
29
+ "landOccupationCalculationIncludingUsedAndUnusedDuration",
30
+ "edip2003",
29
31
  "cnspsModel",
32
+ "hestiaAggregatedData",
33
+ "lcImpactAllEffects100Years",
30
34
  "pestlciConsensusModel",
31
- "worldMeteorologicalOrganization1999",
32
- "ipcc2019",
33
- "ipcc2007",
35
+ "recipe2008Individualist",
36
+ "pefcrGuidanceDocument2017",
34
37
  "agribalyse2016",
35
- "hestiaAggregatedData",
38
+ "ipcc2007",
39
+ "ipcc2019",
40
+ "dewulfEtAl2007",
41
+ "spatial",
36
42
  "epa2014",
37
- "pefcrGuidanceDocument2017",
38
- "edip2003",
39
- "landOccupationCalculationIncludingUsedAndUnusedDuration",
40
- "recipe2008Individualist",
41
- "lcImpactAllEffects100Years",
42
43
  "aware",
43
44
  "landOccupationCalculationUsedDurationOnly",
44
- "spatial",
45
- "dewulfEtAl2007",
46
- "emepEea2019",
47
- "ecoIndicator95",
48
- "chaudharyEtAl2015",
45
+ "worldMeteorologicalOrganization1999",
46
+ "ipcc2006",
47
+ "ipcc2001",
48
+ "recipe2008Hierarchist",
49
+ "otherModel",
50
+ "frischknechtEtAl2000",
51
+ "impact2002Model",
52
+ "ecoIndicator99",
53
+ "akagiEtAl2011AndIpcc2006",
54
+ "aggregatedModels",
55
+ "environmentalFootprintV2-0",
56
+ "recipe2008Egalitarian",
57
+ "cml2001Baseline",
58
+ "europeanEnvironmentAgency2013",
59
+ "ecoinventV2",
60
+ "recipe2016Egalitarian",
61
+ "rainsModel",
62
+ "faostat2018",
63
+ "lcImpactAllEffectsInfinite",
64
+ "webbEtAl2012AndSintermannEtAl2012",
65
+ "akiyamaEtAl2010",
66
+ "ipcc1996",
67
+ "hyde3-2",
68
+ "ipcc2013ExcludingFeedbacks",
69
+ "pribyl2010",
70
+ "ridouttPfister2010",
71
+ "lcImpactCertainEffects100Years",
72
+ "recipe2016Individualist",
73
+ "chaudharyBrooks2018",
74
+ "recipe2016Hierarchist",
75
+ "ecoinventV3AndEmberClimate",
76
+ "mapbiomas",
77
+ "sqcb",
78
+ "harmonizedWorldSoilDatabaseV1-2",
79
+ "lcImpactCertainEffectsInfinite",
80
+ "haversineFormula",
81
+ "poschEtAl2008",
82
+ "europeanEnvironmentAgency2016",
83
+ "fantkeEtAl2016",
84
+ "papatryphonEtAl2004",
85
+ "ipcc2019CountryAverageFertiliserMix",
86
+ "usetoxV2",
87
+ "cml1992",
88
+ "ecoinventV3",
49
89
  "cumulativeEnergyDemandCedMethod",
50
- "ipcc2021",
51
- "semc2000",
52
- "stehfestBouwman2006",
53
90
  "gfliDatabaseV2",
91
+ "semc2000",
92
+ "linkedImpactAssessment",
54
93
  "globalCropWaterModel2008",
55
- "milaICanalsEtAl2007",
56
- "emepEea2019CountryAverageFertiliserMix",
57
- "dammgen2009",
94
+ "ecoIndicator95",
95
+ "cml2001NonBaseline",
96
+ "emepEea2019",
58
97
  "ipcc2013IncludingFeedbacks",
98
+ "sqcbFaistEmmeneggerEtAl2009",
99
+ "emepEea2019CountryAverageFertiliserMix",
59
100
  "massBalanceModel",
60
- "linkedImpactAssessment",
61
- "royEtAl2014",
101
+ "chaudharyEtAl2015",
62
102
  "stehfestBouwman2006GisImplementation",
63
- "hestia",
64
- "cml2001NonBaseline",
65
- "schererPfister2015",
66
- "sqcbFaistEmmeneggerEtAl2009",
103
+ "milaICanalsEtAl2007",
104
+ "dammgen2009",
67
105
  "allenEtAl2018",
68
- "usetoxV2",
69
- "ipcc2013ExcludingFeedbacks",
70
- "europeanEnvironmentAgency2016",
71
- "haversineFormula",
72
- "ipcc2019CountryAverageFertiliserMix",
73
- "lcImpactCertainEffects100Years",
74
- "papatryphonEtAl2004",
75
- "fantkeEtAl2016",
76
- "pribyl2010",
77
- "cml1992",
78
- "chaudharyBrooks2018",
79
- "lcImpactCertainEffectsInfinite",
80
- "ecoinventV3",
81
- "ecoinventV3AndEmberClimate",
82
- "ridouttPfister2010",
83
- "harmonizedWorldSoilDatabaseV1-2",
84
- "mapbiomas",
85
- "recipe2016Hierarchist",
86
- "poschEtAl2008",
87
- "recipe2016Individualist",
88
- "sqcb",
89
- "ipcc1995",
90
- "riskpollModel",
106
+ "royEtAl2014",
107
+ "stehfestBouwman2006",
108
+ "ipcc2021",
109
+ "schererPfister2015",
110
+ "hestia",
91
111
  "pooreNemecek2018",
92
- "salca",
93
- "ecoalimV9",
94
112
  "worldSteel",
95
- "deRuijterEtAl2010",
96
- "environmentalFootprintV3-0",
97
- "lanca",
98
- "aware2-0",
113
+ "salca",
99
114
  "jarvisAndPain1994",
100
- "directive200829EcOfTheEuropeanParliament",
101
- "akagiEtAl2011",
102
- "schmidt2007",
103
- "koble2014",
104
115
  "blonkConsultants2016",
105
- "resourceUseNotRelevant",
106
- "kanEtAl2020",
107
116
  "usEpa1995",
117
+ "akagiEtAl2011",
118
+ "ipcc1995",
119
+ "kanEtAl2020",
108
120
  "usEpa1993",
109
- "emissionNotRelevant",
121
+ "lanca",
122
+ "directive200829EcOfTheEuropeanParliament",
110
123
  "environmentalFootprintV3-1",
111
- "rainsModel",
112
- "aggregatedModels",
113
- "europeanEnvironmentAgency2013",
114
- "frischknechtEtAl2000",
115
- "ipcc2001",
116
- "environmentalFootprintV2-0",
117
- "ecoinventV2",
118
- "recipe2016Egalitarian",
119
- "hyde3-2",
120
- "ipcc2006",
121
- "otherModel",
122
- "ipcc1996",
123
- "recipe2008Hierarchist",
124
- "faostat2018",
125
- "ecoIndicator99",
126
- "cml2001Baseline",
127
- "recipe2008Egalitarian",
128
- "webbEtAl2012AndSintermannEtAl2012",
129
- "akagiEtAl2011AndIpcc2006",
130
- "lcImpactAllEffectsInfinite",
131
- "impact2002Model",
132
- "akiyamaEtAl2010"
124
+ "koble2014",
125
+ "schmidt2007",
126
+ "resourceUseNotRelevant",
127
+ "aware2-0",
128
+ "deRuijterEtAl2010",
129
+ "emissionNotRelevant",
130
+ "environmentalFootprintV3-0",
131
+ "riskpollModel",
132
+ "ecoalimV9",
133
+ "bafu2025"
133
134
  ],
134
135
  "forage": [
136
+ "wheatFreshForage",
137
+ "taroFreshForage",
138
+ "peaFreshForage",
139
+ "jaraguaFreshForage",
140
+ "fenugreekFreshForage",
141
+ "hyparrheniaFreshForage",
142
+ "ervilFreshForage",
143
+ "amaranthFreshForage",
144
+ "horoFreshForage",
145
+ "tagasasteFreshForage",
146
+ "oliveFreshForage",
147
+ "tomatoFreshForage",
148
+ "triticaleFreshForage",
149
+ "panicFreshForage",
150
+ "quinoaFreshForage",
151
+ "sorghumFreshForage",
152
+ "cottonFreshForage",
153
+ "ryegrassFreshForage",
154
+ "teosinteFreshForage",
155
+ "cerealFreshForage",
156
+ "alfalfaFreshForage",
157
+ "sesbanFreshForage",
135
158
  "redtopFreshForage",
136
159
  "bluegrassFreshForage",
137
160
  "sugarcaneFreshForage",
@@ -147,17 +170,6 @@
147
170
  "burguFreshForage",
148
171
  "barleyFreshForage",
149
172
  "turnipFreshForage",
150
- "wheatFreshForage",
151
- "taroFreshForage",
152
- "peaFreshForage",
153
- "jaraguaFreshForage",
154
- "fenugreekFreshForage",
155
- "hyparrheniaFreshForage",
156
- "ervilFreshForage",
157
- "amaranthFreshForage",
158
- "horoFreshForage",
159
- "tagasasteFreshForage",
160
- "oliveFreshForage",
161
173
  "cockatooFreshForage",
162
174
  "jackfruitFreshForage",
163
175
  "cocksfootFreshForage",
@@ -174,17 +186,6 @@
174
186
  "peanutFreshForage",
175
187
  "mulgaFreshForage",
176
188
  "lupinFreshForage",
177
- "tomatoFreshForage",
178
- "triticaleFreshForage",
179
- "panicFreshForage",
180
- "quinoaFreshForage",
181
- "sorghumFreshForage",
182
- "cottonFreshForage",
183
- "ryegrassFreshForage",
184
- "teosinteFreshForage",
185
- "cerealFreshForage",
186
- "alfalfaFreshForage",
187
- "sesbanFreshForage",
188
189
  "tamarindFreshForage",
189
190
  "rapeseedFreshForage",
190
191
  "lebbekFreshForage",
@@ -196,6 +197,57 @@
196
197
  "maizeFreshForage",
197
198
  "buckwheatFreshForage",
198
199
  "calliandraFreshForage",
200
+ "sporobolusNervosusFreshForage",
201
+ "spottedBrachiariaFreshForage",
202
+ "pennisetumOrientaleFreshForage",
203
+ "timothyGrassFreshForage",
204
+ "eriochloaNubicaFreshForage",
205
+ "carpetGrassFreshForage",
206
+ "sporobolusHelvolusFreshForage",
207
+ "missionGrassFreshForage",
208
+ "rainTreeFreshForage",
209
+ "sudanGrassFreshForage",
210
+ "cockspurGrassFreshForage",
211
+ "swaziGrassFreshForage",
212
+ "polypogonSchimperianusFreshForage",
213
+ "coelachyrumYemenicumFreshForage",
214
+ "genericGrassFreshForage",
215
+ "donkeyGrassFreshForage",
216
+ "blackOatFreshForage",
217
+ "prosoMilletFreshForage",
218
+ "giantReedFreshForage",
219
+ "nigeriaGrassFreshForage",
220
+ "mungBeanFreshForage",
221
+ "umbrellaThornFreshForage",
222
+ "breadGrassFreshForage",
223
+ "chineseAlbiziaFreshForage",
224
+ "fodderBeetFreshForage",
225
+ "natalGrassFreshForage",
226
+ "pennisetumSquamulatumFreshForage",
227
+ "desertGrassFreshForage",
228
+ "blanketGrassFreshForage",
229
+ "ubaCaneFreshForage",
230
+ "slenderGramaFreshForage",
231
+ "sporobolusMarginatusFreshForage",
232
+ "ravennaGrassFreshForage",
233
+ "leptochloaOptusifloraFreshForage",
234
+ "chrysopogonFallaxFreshForage",
235
+ "mnesitheaSelloanaFreshForage",
236
+ "slenderBluestemFreshForage",
237
+ "dubiGrassFreshForage",
238
+ "paspalidiumDesertorumFreshForage",
239
+ "pennisetumStramineumFreshForage",
240
+ "trachypogonVestitusFreshForage",
241
+ "rhodesGrassFreshForage",
242
+ "bungomaGrassFreshForage",
243
+ "spearGrassFreshForage",
244
+ "jerusalemArtichokeFreshForage",
245
+ "chlorisRoxburghianaFreshForage",
246
+ "pangolaGrassFreshForage",
247
+ "slenderChlorisFreshForage",
248
+ "liverseedGrassFreshForage",
249
+ "molassesGrassFreshForage",
250
+ "birdwoodGrassFreshForage",
199
251
  "gambaGrassFreshForage",
200
252
  "andropogonFastigiatusFreshForage",
201
253
  "arizonaCottontopFreshForage",
@@ -222,31 +274,6 @@
222
274
  "centipedeGrassFreshForage",
223
275
  "dallisGrassFreshForage",
224
276
  "bahiaGrassFreshForage",
225
- "sporobolusNervosusFreshForage",
226
- "spottedBrachiariaFreshForage",
227
- "pennisetumOrientaleFreshForage",
228
- "timothyGrassFreshForage",
229
- "eriochloaNubicaFreshForage",
230
- "carpetGrassFreshForage",
231
- "sporobolusHelvolusFreshForage",
232
- "missionGrassFreshForage",
233
- "rainTreeFreshForage",
234
- "sudanGrassFreshForage",
235
- "cockspurGrassFreshForage",
236
- "swaziGrassFreshForage",
237
- "polypogonSchimperianusFreshForage",
238
- "coelachyrumYemenicumFreshForage",
239
- "genericGrassFreshForage",
240
- "donkeyGrassFreshForage",
241
- "blackOatFreshForage",
242
- "prosoMilletFreshForage",
243
- "giantReedFreshForage",
244
- "nigeriaGrassFreshForage",
245
- "mungBeanFreshForage",
246
- "umbrellaThornFreshForage",
247
- "breadGrassFreshForage",
248
- "chineseAlbiziaFreshForage",
249
- "fodderBeetFreshForage",
250
277
  "sunnHempFreshForage",
251
278
  "signalGrassFreshForage",
252
279
  "columbusGrassFreshForage",
@@ -279,32 +306,6 @@
279
306
  "congoGrassFreshForage",
280
307
  "indianBluegrassFreshForage",
281
308
  "mnesitheaRottboellioidesFreshForage",
282
- "natalGrassFreshForage",
283
- "pennisetumSquamulatumFreshForage",
284
- "desertGrassFreshForage",
285
- "blanketGrassFreshForage",
286
- "ubaCaneFreshForage",
287
- "slenderGramaFreshForage",
288
- "sporobolusMarginatusFreshForage",
289
- "ravennaGrassFreshForage",
290
- "leptochloaOptusifloraFreshForage",
291
- "chrysopogonFallaxFreshForage",
292
- "mnesitheaSelloanaFreshForage",
293
- "slenderBluestemFreshForage",
294
- "dubiGrassFreshForage",
295
- "paspalidiumDesertorumFreshForage",
296
- "pennisetumStramineumFreshForage",
297
- "trachypogonVestitusFreshForage",
298
- "rhodesGrassFreshForage",
299
- "bungomaGrassFreshForage",
300
- "spearGrassFreshForage",
301
- "jerusalemArtichokeFreshForage",
302
- "chlorisRoxburghianaFreshForage",
303
- "pangolaGrassFreshForage",
304
- "slenderChlorisFreshForage",
305
- "liverseedGrassFreshForage",
306
- "molassesGrassFreshForage",
307
- "birdwoodGrassFreshForage",
308
309
  "ottochloaNodosaFreshForage",
309
310
  "guarBeanFreshForage",
310
311
  "espartoGrassFreshForage",
@@ -338,16 +339,6 @@
338
339
  "creepingBluegrassFreshForage",
339
340
  "smutGrassFreshForage",
340
341
  "giantSetariaFreshForage",
341
- "giantStarGrassFreshForage",
342
- "blueSignalGrassFreshForage",
343
- "chineseRyeGrassFreshForage",
344
- "masaiLoveGrassFreshForage",
345
- "redOatGrassFreshForage",
346
- "egyptianCrowfootGrassFreshForage",
347
- "swampRiceGrassFreshForage",
348
- "genericLeguminousGrassFreshForage",
349
- "fineThatchingGrassFreshForage",
350
- "nadiBlueGrassFreshForage",
351
342
  "milanjeFingerGrassFreshForage",
352
343
  "africanCouchGrassFreshForage",
353
344
  "colouredGuineaGrassFreshForage",
@@ -359,6 +350,21 @@
359
350
  "greyLoveGrassFreshForage",
360
351
  "cushionLoveGrassFreshForage",
361
352
  "wireLemonGrassFreshForage",
353
+ "largeLeafFlemingiaFreshForage",
354
+ "weepingLoveGrassFreshForage",
355
+ "redRhodesGrassFreshForage",
356
+ "lehmannLoveGrassFreshForage",
357
+ "stylosanthesCampoGrandeFreshForage",
358
+ "giantStarGrassFreshForage",
359
+ "blueSignalGrassFreshForage",
360
+ "chineseRyeGrassFreshForage",
361
+ "masaiLoveGrassFreshForage",
362
+ "redOatGrassFreshForage",
363
+ "egyptianCrowfootGrassFreshForage",
364
+ "swampRiceGrassFreshForage",
365
+ "genericLeguminousGrassFreshForage",
366
+ "fineThatchingGrassFreshForage",
367
+ "nadiBlueGrassFreshForage",
362
368
  "yellowThatchingGrassFreshForage",
363
369
  "africanLocustBeanFreshForage",
364
370
  "whiteSpearGrassFreshForage",
@@ -366,11 +372,6 @@
366
372
  "bulbousCanaryGrassFreshForage",
367
373
  "grassCloverMixtureFreshForage",
368
374
  "hairyHerringboneGrassFreshForage",
369
- "largeLeafFlemingiaFreshForage",
370
- "weepingLoveGrassFreshForage",
371
- "redRhodesGrassFreshForage",
372
- "lehmannLoveGrassFreshForage",
373
- "stylosanthesCampoGrandeFreshForage",
374
375
  "colouredHoodGrassFreshForage",
375
376
  "falseRhodesGrassFreshForage",
376
377
  "stAugustineGrassFreshForage",
@@ -380,7 +381,7 @@
380
381
  "rice": [
381
382
  "riceStraw",
382
383
  "jungleRiceHay",
383
- "riceGrainInHuskUpland",
384
- "riceGrainInHuskFlooded"
384
+ "riceGrainInHuskFlooded",
385
+ "riceGrainInHuskUpland"
385
386
  ]
386
387
  }
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const DATA_VALIDATION_VERSION = '0.37.16';
1
+ export const DATA_VALIDATION_VERSION = '0.37.18';
package/validation.json CHANGED
@@ -515,11 +515,6 @@
515
515
  "level": "error",
516
516
  "message": "must not add the feed input to the Cycle as well"
517
517
  },
518
- {
519
- "function": "validate_has_pregnancyRateTotal",
520
- "level": "warning",
521
- "message": "should specify the pregnancy rate"
522
- },
523
518
  {
524
519
  "function": "validate_has_milkYieldPractice",
525
520
  "level": "warning",