@hestia-earth/glossary 0.3.1 → 0.4.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/CHANGELOG.md +71 -0
- package/index.js +10 -1
- package/package.json +3 -2
- package/resources/arrayTreatment.json +20 -0
- package/resources/defaultModelId.json +25 -0
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,77 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
### [0.4.1](https://gitlab.com/hestia-earth/hestia-glossary/compare/v0.4.0...v0.4.1) (2022-06-08)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* **characterisedIndicator:** add `defaultModelId` ([94d384a](https://gitlab.com/hestia-earth/hestia-glossary/commit/94d384a4772c0e1f72a16307a2abd2c4c2ded820))
|
|
11
|
+
* **operation:** add 'top dressing, machine unspecified` ([4050b49](https://gitlab.com/hestia-earth/hestia-glossary/commit/4050b49cc7adb9cecc556548e3cc63aa47facf5f))
|
|
12
|
+
* **pesticideAI:** add `vegetable oil, unspecified (pesticide AI)` ([f03575a](https://gitlab.com/hestia-earth/hestia-glossary/commit/f03575a23547ad7c6aff27c241b0d87bbae32cbc))
|
|
13
|
+
* **pesticideAI:** add main urease inhibitors ([7b50c6b](https://gitlab.com/hestia-earth/hestia-glossary/commit/7b50c6b66f83378d8362e5507e446b1bb5fdfb0a)), closes [#395](https://gitlab.com/hestia-earth/hestia-glossary/issues/395)
|
|
14
|
+
* **property:** add `starch content` ([fba832b](https://gitlab.com/hestia-earth/hestia-glossary/commit/fba832babcd1b0532ee06d656886955c828c6fb5))
|
|
15
|
+
* **soilType:** add principal qualifiers and re-work glossary ([15d44f2](https://gitlab.com/hestia-earth/hestia-glossary/commit/15d44f2259362a0f730b0cfebe940b6ff8e334f1)), closes [#56](https://gitlab.com/hestia-earth/hestia-glossary/issues/56)
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### Bug Fixes
|
|
19
|
+
|
|
20
|
+
* remove duplicated columns from excreta lookup table ([7bf5686](https://gitlab.com/hestia-earth/hestia-glossary/commit/7bf5686f86d4f69d2e9f7fde2dac0071f1b1bca3)), closes [#367](https://gitlab.com/hestia-earth/hestia-glossary/issues/367)
|
|
21
|
+
|
|
22
|
+
## [0.4.0](https://gitlab.com/hestia-earth/hestia-glossary/compare/v0.3.2...v0.4.0) (2022-06-07)
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
### ⚠ BREAKING CHANGES
|
|
26
|
+
|
|
27
|
+
* **model:** `usetox2008` and `usetox2010` replace by `usetoxV2`
|
|
28
|
+
|
|
29
|
+
### Features
|
|
30
|
+
|
|
31
|
+
* add `siteTypesAllowed` to key practices ([069d4e7](https://gitlab.com/hestia-earth/hestia-glossary/commit/069d4e73a333cd2a8a102416d0378c3220cb7ba6))
|
|
32
|
+
* **biodiversity:** add `number of hives` ([cc893c3](https://gitlab.com/hestia-earth/hestia-glossary/commit/cc893c339a891bddc167a4c670ac5824d8c569e6)), closes [#357](https://gitlab.com/hestia-earth/hestia-glossary/issues/357)
|
|
33
|
+
* **crop:** add walnut terms ([0060616](https://gitlab.com/hestia-earth/hestia-glossary/commit/00606167ec789951643c74551ad650626a4b8bdb)), closes [#384](https://gitlab.com/hestia-earth/hestia-glossary/issues/384)
|
|
34
|
+
* **crop:** rename `walnut` to `walnut, kernel` ([087a8da](https://gitlab.com/hestia-earth/hestia-glossary/commit/087a8da412f27a5ede5992d01bb7b14e455147bb)), closes [#384](https://gitlab.com/hestia-earth/hestia-glossary/issues/384)
|
|
35
|
+
* **ecoClimateZone:** add `name` lookup ([6c159a1](https://gitlab.com/hestia-earth/hestia-glossary/commit/6c159a160a4bcfd3602fde746b32e2c1c0e440b6))
|
|
36
|
+
* **ecoClimateZone:** add `wet` lookup ([e739c40](https://gitlab.com/hestia-earth/hestia-glossary/commit/e739c40af322d93f78e2a8237cefb7607816122d))
|
|
37
|
+
* **emission:** add `glass or high accessible cover` to `siteTypesAllowed` ([b055bd3](https://gitlab.com/hestia-earth/hestia-glossary/commit/b055bd3223fb128675334e1088a21e0c35047d61)), closes [#338](https://gitlab.com/hestia-earth/hestia-glossary/issues/338)
|
|
38
|
+
* **inorganicFertilizer:** add fertilizers from Nebraska ([f3fc5c7](https://gitlab.com/hestia-earth/hestia-glossary/commit/f3fc5c7560cba6e0c39bd38bf26ddeb195bc36f2)), closes [#216](https://gitlab.com/hestia-earth/hestia-glossary/issues/216)
|
|
39
|
+
* **inorganicFertilizer:** rename `Triammonium phosphate (kg N)` ([24cd188](https://gitlab.com/hestia-earth/hestia-glossary/commit/24cd188ca53a30e43e693fab502ae587ce4e93bf))
|
|
40
|
+
* **landUseManagement:** add `number of fruits per tree` ([3100539](https://gitlab.com/hestia-earth/hestia-glossary/commit/3100539823718c0f17d37a593c3e6c685d9a0ea1)), closes [#378](https://gitlab.com/hestia-earth/hestia-glossary/issues/378)
|
|
41
|
+
* **measurement:** add `glass or high accessible cover` to `siteTypesAllowed` ([799ddad](https://gitlab.com/hestia-earth/hestia-glossary/commit/799ddadc33a7be676603b02c55c3412ea9b00fe3))
|
|
42
|
+
* **measurement:** add `soil water holding capacity` ([7fa00bc](https://gitlab.com/hestia-earth/hestia-glossary/commit/7fa00bca9bb2e15c916849d4ff132114297eb4fc)), closes [#375](https://gitlab.com/hestia-earth/hestia-glossary/issues/375)
|
|
43
|
+
* **measurement:** add number of frozen days terms ([62fa14f](https://gitlab.com/hestia-earth/hestia-glossary/commit/62fa14fa1e8d07bbc48f39e823a8557c83bcbc6e)), closes [#387](https://gitlab.com/hestia-earth/hestia-glossary/issues/387)
|
|
44
|
+
* **measurement:** add soil DOC, DON, NO3-, NH4+, and available P ([fabfa13](https://gitlab.com/hestia-earth/hestia-glossary/commit/fabfa136f503d6e174ac869709ab4e74fc5f8ce1)), closes [#370](https://gitlab.com/hestia-earth/hestia-glossary/issues/370)
|
|
45
|
+
* **measurement:** add sunshine duration terms ([fa2aa9c](https://gitlab.com/hestia-earth/hestia-glossary/commit/fa2aa9c90c242307bf000cac21d9a2ab2967666c)), closes [#387](https://gitlab.com/hestia-earth/hestia-glossary/issues/387)
|
|
46
|
+
* **model:** add `USEtox v2` and remove `USEtox 2008` and `USEtox 2010` ([a3f49d6](https://gitlab.com/hestia-earth/hestia-glossary/commit/a3f49d694bd565c1512c77c6fa14137a14a5ecfd))
|
|
47
|
+
* **operation:** add `harvesting fruits, with trunk shaker ` ([9670bc3](https://gitlab.com/hestia-earth/hestia-glossary/commit/9670bc39e1445c1bdb53f84a883803a174e698bf)), closes [#379](https://gitlab.com/hestia-earth/hestia-glossary/issues/379)
|
|
48
|
+
* **operation:** add `mowing, with disc mower` ([0eaf197](https://gitlab.com/hestia-earth/hestia-glossary/commit/0eaf1972b64e238f0f9fac127c8140924c571acd)), closes [#379](https://gitlab.com/hestia-earth/hestia-glossary/issues/379)
|
|
49
|
+
* **organicFertilizer:** add `nebraskaExstensionFertilizerCode` lookup and rename `precipitated bone phosphate (kg)` ([721c752](https://gitlab.com/hestia-earth/hestia-glossary/commit/721c7527dcfe65fa585ec0c471e88c4de202d0ab))
|
|
50
|
+
* **organicFertilizer:** add fertilizers from Nebraska Ag Glossary ([836408f](https://gitlab.com/hestia-earth/hestia-glossary/commit/836408f63434fb6cdb4d21f4e3bd0e1c7591e2c1)), closes [#216](https://gitlab.com/hestia-earth/hestia-glossary/issues/216)
|
|
51
|
+
* **pesticideAI:** add `3,4-dimethylpyrazole phosphate` ([2e1e810](https://gitlab.com/hestia-earth/hestia-glossary/commit/2e1e810285c921599af68eedda81391656118b3c))
|
|
52
|
+
* **property:** add `chloride content` ([c126792](https://gitlab.com/hestia-earth/hestia-glossary/commit/c126792fb7d35f64fd899c2ea03786ec8eaf1c7a)), closes [#377](https://gitlab.com/hestia-earth/hestia-glossary/issues/377)
|
|
53
|
+
* **property:** add `kernel recovery rate` ([866ef46](https://gitlab.com/hestia-earth/hestia-glossary/commit/866ef462f5663ef12b4ca74c7e28d783067e7554)), closes [#376](https://gitlab.com/hestia-earth/hestia-glossary/issues/376)
|
|
54
|
+
* **resourceUse:** add `glass or high accessible cover` to `siteTypesAllowed` ([2cd2bf3](https://gitlab.com/hestia-earth/hestia-glossary/commit/2cd2bf32b538051024f152347c45e1c4634178a7))
|
|
55
|
+
* **soilTexture:** add `siteTypesAllowed` ([6242e91](https://gitlab.com/hestia-earth/hestia-glossary/commit/6242e91ebf9361ce1aa1bea45c721b2bc56eebfe))
|
|
56
|
+
* **usdaSoilType:** add `siteTypesAllowed` ([125fdab](https://gitlab.com/hestia-earth/hestia-glossary/commit/125fdab3ec443f57aef83e80e541127e389b038b))
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
### Bug Fixes
|
|
60
|
+
|
|
61
|
+
* **biodiversity:** capitalize uncapitalized terms ([f1bbeae](https://gitlab.com/hestia-earth/hestia-glossary/commit/f1bbeae37179b2843b02f6fddf32694e83ad15f3))
|
|
62
|
+
* **material:** fix ecoinvent coefficient for concrete and wood terms ([11e4f9f](https://gitlab.com/hestia-earth/hestia-glossary/commit/11e4f9f2de955e0238b604ff3cf8d5a73d23dad9)), closes [hestia-earth/hestia-engine-models#265](https://gitlab.com/hestia-earth/hestia-engine-models/issues/265)
|
|
63
|
+
* **organicFertilizer:** fix term id for bone meal terms ([709f754](https://gitlab.com/hestia-earth/hestia-glossary/commit/709f75476aea6cbe28476620b55bc9676b3ca228))
|
|
64
|
+
* **organicFertilizer:** remove `nitrogenContent` from `sewageSludgeHeatDriedKgMass` ([ff80a3c](https://gitlab.com/hestia-earth/hestia-glossary/commit/ff80a3c230bed379c07246180b166bb5be357f62))
|
|
65
|
+
* **region:** rename `Antarctica` and `Chives` to avoid duplicates ([3cba559](https://gitlab.com/hestia-earth/hestia-glossary/commit/3cba5595ddfa0a29f37fc20ebb9de1583e4b0ef7))
|
|
66
|
+
|
|
67
|
+
### [0.3.2](https://gitlab.com/hestia-earth/hestia-glossary/compare/v0.3.1...v0.3.2) (2022-05-24)
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
### Features
|
|
71
|
+
|
|
72
|
+
* **crop:** add brazil nut and shea nut terms ([e3cf9e8](https://gitlab.com/hestia-earth/hestia-glossary/commit/e3cf9e87412b87fcea5d82ff3f792cbaa06cc043))
|
|
73
|
+
* **emission:** add `productTermIdsAllowed` lookup ([d6b9c58](https://gitlab.com/hestia-earth/hestia-glossary/commit/d6b9c58b9fd618851cb54d4c619cc100e4dae14b)), closes [#351](https://gitlab.com/hestia-earth/hestia-glossary/issues/351)
|
|
74
|
+
* **region:** add landTransformation lookups for 20 and 100 years average ([e1a9571](https://gitlab.com/hestia-earth/hestia-glossary/commit/e1a957141cd8be09b96f4e25dec4921cd7267516))
|
|
75
|
+
|
|
5
76
|
### [0.3.1](https://gitlab.com/hestia-earth/hestia-glossary/compare/v0.3.0...v0.3.1) (2022-05-10)
|
|
6
77
|
|
|
7
78
|
|
package/index.js
CHANGED
|
@@ -41,10 +41,19 @@ const idToIso31662 = (id = '') => loadResourceKey('id-to-iso3166-2.json', id.toU
|
|
|
41
41
|
*/
|
|
42
42
|
const getArrayTreatment = (id) => loadResource('arrayTreatment.json')[id] || 'sum';
|
|
43
43
|
|
|
44
|
+
/**
|
|
45
|
+
* Returns the `@id` of the default model that should be used for display of this Term.
|
|
46
|
+
*
|
|
47
|
+
* @param {string} id The Hestia term [id](https://hestia.earth/schema/Term#id).
|
|
48
|
+
* @returns {string} The `@id` of the model if set.
|
|
49
|
+
*/
|
|
50
|
+
const getDefaultModeId = (id) => loadResource('defaultModelId.json')[id];
|
|
51
|
+
|
|
44
52
|
module.exports = {
|
|
45
53
|
loadResourceKey,
|
|
46
54
|
iso31662ToName,
|
|
47
55
|
iso31662ToId,
|
|
48
56
|
idToIso31662,
|
|
49
|
-
getArrayTreatment
|
|
57
|
+
getArrayTreatment,
|
|
58
|
+
getDefaultModeId
|
|
50
59
|
};
|
package/package.json
CHANGED
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hestia-earth/glossary",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.1",
|
|
4
4
|
"description": "Hestia Earth Glossary library",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
8
|
-
"generate:all": "npm run generate:mappings && npm run generate:impact-assessment && npm run generate:arrayTreatment",
|
|
8
|
+
"generate:all": "npm run generate:mappings && npm run generate:impact-assessment && npm run generate:arrayTreatment && npm run generate:defaultModelId",
|
|
9
9
|
"generate:mappings": "node gadm/mappings.js",
|
|
10
10
|
"generate:impact-assessment": "node scripts/generate-impact-assessment-data.js",
|
|
11
11
|
"generate:arrayTreatment": "node scripts/generate-arrayTreatment-data.js",
|
|
12
|
+
"generate:defaultModelId": "node scripts/generate-defaultModelId-data.js",
|
|
12
13
|
"release": "standard-version -a",
|
|
13
14
|
"postrelease": "git push origin master --follow-tags"
|
|
14
15
|
},
|
|
@@ -59,6 +59,15 @@
|
|
|
59
59
|
"soilTemperatureDaily": "mean",
|
|
60
60
|
"soilTemperatureHourly": "mean",
|
|
61
61
|
"soilTemperaturePointMeasurement": "mean",
|
|
62
|
+
"sunshineDurationLongTermAnnualMean": "mean",
|
|
63
|
+
"sunshineDurationAnnual": "mean",
|
|
64
|
+
"sunshineDurationPeriod": "mean",
|
|
65
|
+
"sunshineDurationMonthly": "mean",
|
|
66
|
+
"sunshineDurationDaily": "mean",
|
|
67
|
+
"numberOfFrozenDaysLongTermAnnualMean": "mean",
|
|
68
|
+
"numberOfFrozenDaysAnnual": "mean",
|
|
69
|
+
"numberOfFrozenDaysPeriod": "mean",
|
|
70
|
+
"numberOfFrozenDaysMonthly": "mean",
|
|
62
71
|
"totalSolarRadiationLongTermAnnualMean": "mean",
|
|
63
72
|
"totalSolarRadiationAnnual": "mean",
|
|
64
73
|
"totalSolarRadiationPeriod": "mean",
|
|
@@ -123,6 +132,7 @@
|
|
|
123
132
|
"soilFieldCapacity": "mean",
|
|
124
133
|
"permanentWiltingPoint": "mean",
|
|
125
134
|
"plantAvailableWater": "mean",
|
|
135
|
+
"soilWaterHoldingCapacity": "mean",
|
|
126
136
|
"drainageClass": "mode",
|
|
127
137
|
"waterTableLevelAboveHardPan": "mean",
|
|
128
138
|
"waterTableDepth": "mean",
|
|
@@ -132,16 +142,21 @@
|
|
|
132
142
|
"siltContent": "mean",
|
|
133
143
|
"clayContent": "mean",
|
|
134
144
|
"organicCarbonPerKgSoil": "mean",
|
|
145
|
+
"dissolvedOrganicCarbonPerKgSoil": "mean",
|
|
135
146
|
"inorganicCarbonPerKgSoil": "mean",
|
|
136
147
|
"totalCarbonPerKgSoil": "mean",
|
|
137
148
|
"organicMatterPerKgSoil": "mean",
|
|
138
149
|
"totalNitrogenPerKgSoil": "mean",
|
|
139
150
|
"organicNitrogenPerKgSoil": "mean",
|
|
151
|
+
"dissolvedOrganicNitrogenPerKgSoil": "mean",
|
|
140
152
|
"inorganicNitrogenPerKgSoil": "mean",
|
|
141
153
|
"mineralNitrogenPerKgSoil": "mean",
|
|
142
154
|
"availableNitrogenPerKgSoil": "mean",
|
|
155
|
+
"nitratePerKgSoil": "mean",
|
|
156
|
+
"ammoniumPerKgSoil": "mean",
|
|
143
157
|
"phosphorusPerKgSoil": "mean",
|
|
144
158
|
"phosphatePerKgSoil": "mean",
|
|
159
|
+
"availablePhosphorusPerKgSoil": "mean",
|
|
145
160
|
"potassiumPerKgSoil": "mean",
|
|
146
161
|
"exchangeablePotassiumPerKgSoil": "mean",
|
|
147
162
|
"calciumPerKgSoil": "mean",
|
|
@@ -159,16 +174,21 @@
|
|
|
159
174
|
"microbialBiomassNitrogenPerKgSoil": "mean",
|
|
160
175
|
"microbialCellulaseActivityPerKgSoil": "mean",
|
|
161
176
|
"organicCarbonPerM3Soil": "mean",
|
|
177
|
+
"dissolvedOrganicCarbonPerM3Soil": "mean",
|
|
162
178
|
"inorganicCarbonPerM3Soil": "mean",
|
|
163
179
|
"totalCarbonPerM3Soil": "mean",
|
|
164
180
|
"organicMatterPerM3Soil": "mean",
|
|
165
181
|
"totalNitrogenPerM3Soil": "mean",
|
|
166
182
|
"organicNitrogenPerM3Soil": "mean",
|
|
183
|
+
"dissolvedOrganicNitrogenPerM3Soil": "mean",
|
|
167
184
|
"inorganicNitrogenPerM3Soil": "mean",
|
|
168
185
|
"mineralNitrogenPerM3Soil": "mean",
|
|
169
186
|
"availableNitrogenPerM3Soil": "mean",
|
|
187
|
+
"nitratePerM3Soil": "mean",
|
|
188
|
+
"ammoniumPerM3Soil": "mean",
|
|
170
189
|
"phosphorusPerM3Soil": "mean",
|
|
171
190
|
"phosphatePerM3Soil": "mean",
|
|
191
|
+
"availablePhosphorusPerM3Soil": "mean",
|
|
172
192
|
"potassiumPerM3Soil": "mean",
|
|
173
193
|
"exchangeablePotassiumPerM3Soil": "mean",
|
|
174
194
|
"calciumPerM3Soil": "mean",
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
{
|
|
2
|
+
"gwp20": "",
|
|
3
|
+
"gwp100": "ipcc2013IncludingFeedbacks",
|
|
4
|
+
"ozoneDepletionPotential": "",
|
|
5
|
+
"humanDamageOzoneFormation": "",
|
|
6
|
+
"ecosystemDamageOzoneFormation": "",
|
|
7
|
+
"terrestrialAcidificationPotentialExcludingFate": "cml2001NonBaseline",
|
|
8
|
+
"terrestrialAcidificationPotential": "",
|
|
9
|
+
"eutrophicationPotentialExcludingFate": "cml2001NonBaseline",
|
|
10
|
+
"freshwaterEutrophicationPotential": "",
|
|
11
|
+
"marineEutrophicationPotential": "",
|
|
12
|
+
"scarcityWeightedWaterUse": "aware",
|
|
13
|
+
"biodiversityLossTotalLandUseEffects": "chaudharyBrooks2018",
|
|
14
|
+
"biodiversityLossLandOccupation": "chaudharyBrooks2018",
|
|
15
|
+
"biodiversityLossLandTransformation": "chaudharyBrooks2018",
|
|
16
|
+
"freshwaterEcotoxicityPotentialPaf": "usetoxV2",
|
|
17
|
+
"freshwaterAquaticEcotoxicityPotential14Dcbeq": "",
|
|
18
|
+
"marineAquaticEcotoxicityPotential14Dcbeq": "",
|
|
19
|
+
"terrestrialEcotoxicityPotential14Dcbeq": "",
|
|
20
|
+
"freshwaterDepletion": "",
|
|
21
|
+
"humanCarcinogenicToxicity": "",
|
|
22
|
+
"humanNonCarcinogenicToxicity": "",
|
|
23
|
+
"agriculturalLandOccupationPotential": "",
|
|
24
|
+
"fineParticulateMatterFormation": ""
|
|
25
|
+
}
|