@hestia-earth/glossary 0.71.0 → 0.72.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 CHANGED
@@ -2,6 +2,89 @@
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.72.1](https://gitlab.com/hestia-earth/hestia-glossary/compare/v0.72.0...v0.72.1) (2025-07-02)
6
+
7
+
8
+ ### Features
9
+
10
+ * **characterisedIndicator:** add model mapping to group ([ed71775](https://gitlab.com/hestia-earth/hestia-glossary/commit/ed7177562f92a27a64f781939d569b9b1a88c90c))
11
+ * **emission:** add missing lookups for PM2.5 and PM10 ([71a289a](https://gitlab.com/hestia-earth/hestia-glossary/commit/71a289ad7f26c90658e242c18437ec4027af4e2a))
12
+ * **processedFood:** add `Wheat, grain (refined)` ([bdf2b5a](https://gitlab.com/hestia-earth/hestia-glossary/commit/bdf2b5a3904990eeb7b2139861868e72041b0cb8))
13
+ * **region:** add more data to `faostatArea` ([ae3f711](https://gitlab.com/hestia-earth/hestia-glossary/commit/ae3f711248a448d08a8a6e850b85bcc910f22611))
14
+
15
+
16
+ ### Bug Fixes
17
+
18
+ * **emission:** missing values for lookups for `...FantkeEtAl2016` ([1bb851d](https://gitlab.com/hestia-earth/hestia-glossary/commit/1bb851deaf6a2e4244a8c17f6553e98160ea6e95)), closes [#1881](https://gitlab.com/hestia-earth/hestia-glossary/issues/1881)
19
+ * **region:** add fallback regions region-resourceUse-environmentalFootprintV31WaterUse-lookup ([66aec86](https://gitlab.com/hestia-earth/hestia-glossary/commit/66aec8625bdca31a1ba77cae59b07ac65e724604))
20
+ * **region:** update region-irrigated to use FAOSTAT real columns ([0d07bcc](https://gitlab.com/hestia-earth/hestia-glossary/commit/0d07bcce34c478294763d83db221f8a24401ab81))
21
+ * **region:** update yield average values based on harvested area ([45aeb68](https://gitlab.com/hestia-earth/hestia-glossary/commit/45aeb685b947a136278e6e70264a50a20e95bb58))
22
+
23
+ ## [0.72.0](https://gitlab.com/hestia-earth/hestia-glossary/compare/v0.71.0...v0.72.0) (2025-06-24)
24
+
25
+
26
+ ### ⚠ BREAKING CHANGES
27
+
28
+ * **emission:** Delete `P, to soil, crop residue burning`
29
+ * **processedFood:** rename `Vinasse (processed food)` `Pot ale syrup`
30
+ * **crop:** move processed "sugarcane" terms from `crop` to `processedFood`
31
+ * **processedFood:** rename `Sesame, oil` `Sesame, oil (crude)`
32
+ * **processedFood:** delete `Soybean, extruded meal` and `Soybean, expelled meal`
33
+ * **crop:** move processed "lupin" terms from `crop` to `processedFood`
34
+ * **crop:** move processed "sesame" terms from `crop` to `processedFood`
35
+ * **crop:** move processed "peanut" terms from `crop` to `processedFood`
36
+ * **processedFood:** rename `Barley, distillers grain` `Barley, dry distillers grain and solubles`
37
+ * **crop:** move processed "barley" terms from `crop` to `processedFood`
38
+ * **crop:** move processed "oat" terms from `crop` to `processedFood`
39
+ * **crop:** move processed "triticale" terms from `crop` to `processedFood`
40
+ * **crop:** move processed "rye" terms from `crop` to `processedFood`
41
+ * **processedFood:** rename `Wheat, germ oil meal` `Wheat, germ meal`
42
+ * **processedFood:** rename `Wheat, distillers grain` `Wheat, dry distillers grain and solubles`
43
+ * **processedFood:** rename `Maize, germ oil` `Maize, germ oil (crude)`
44
+ * **processedFood:** rename `Rice, bran (de-oiled)` `Rice, bran meal`
45
+ * **crop:** move processed "rice" terms from `crop` to `processedFood`
46
+
47
+ ### Features
48
+
49
+ * **animalBreed:** add `Hubbard JA57`, `Ross 308` and `Ross Rowan` ([207037a](https://gitlab.com/hestia-earth/hestia-glossary/commit/207037ae901e9758c83b2e7fd44ecd7a6a7f2ad6))
50
+ * **crop:** move processed "barley", "oat", "triticale", and "rye" terms to `processedFood` ([30557e3](https://gitlab.com/hestia-earth/hestia-glossary/commit/30557e3d3852f89bd968dd3781105d55ed4df0d1)), closes [#1033](https://gitlab.com/hestia-earth/hestia-glossary/issues/1033)
51
+ * **crop:** move processed "lupin", "sesame", and "peanut" terms to `processedFood` ([102de69](https://gitlab.com/hestia-earth/hestia-glossary/commit/102de691fba0acd16c7eded9dccf694d751d1a40)), closes [#1033](https://gitlab.com/hestia-earth/hestia-glossary/issues/1033)
52
+ * **crop:** move processed "rice" terms to `processedFood` ([4ce1bf6](https://gitlab.com/hestia-earth/hestia-glossary/commit/4ce1bf64fc3c93ba8b734e69424c9a49024fb1f3)), closes [#1033](https://gitlab.com/hestia-earth/hestia-glossary/issues/1033)
53
+ * **crop:** move processed "sugarcane" terms to processed food ([fa95b8e](https://gitlab.com/hestia-earth/hestia-glossary/commit/fa95b8ea26eb723b61d1caef2d80c12950bd8452)), closes [#1033](https://gitlab.com/hestia-earth/hestia-glossary/issues/1033)
54
+ * **crop:** update property-lookup file ([a0c0214](https://gitlab.com/hestia-earth/hestia-glossary/commit/a0c02147937ec79029a20f08d2c490a26ca15344)), closes [#1853](https://gitlab.com/hestia-earth/hestia-glossary/issues/1853)
55
+ * **ecoClimateZone:** fix `IPCC_2013_ORGANIC_SOILS_KG_CH4_HECTARE_DITCH` values ([09217c8](https://gitlab.com/hestia-earth/hestia-glossary/commit/09217c813f76b2e216a30abde584a3562e06cace))
56
+ * **emission:** add `CO2, to air, biochar stock change` emission to glossary ([0a5ecd5](https://gitlab.com/hestia-earth/hestia-glossary/commit/0a5ecd55657b2a25c671e516f6c389ae24989490))
57
+ * **emission:** add lookups for burning factors ([ec1ffb1](https://gitlab.com/hestia-earth/hestia-glossary/commit/ec1ffb178a4d4c904060bfae122a15bec1848039))
58
+ * **feedFoodAdditive:** add `Betaine` ([25c2719](https://gitlab.com/hestia-earth/hestia-glossary/commit/25c271958ae5b4b8e9658e0a1783ea683f92cf17))
59
+ * **feedFoodAdditive:** add `Phytase` ([7e78ca1](https://gitlab.com/hestia-earth/hestia-glossary/commit/7e78ca1e1c564c184ba5d91bc921f2adc9a46d92))
60
+ * **landUseManagement:** add new term `Biochar used` to glossary ([956a2a2](https://gitlab.com/hestia-earth/hestia-glossary/commit/956a2a216c3a33a95aa33a7c4559763890725cc5))
61
+ * **measurement:** add new terms for biochar organic carbon ([f949042](https://gitlab.com/hestia-earth/hestia-glossary/commit/f949042cfd436a4fc8957dd8a886186fd4993fd0)), closes [#1854](https://gitlab.com/hestia-earth/hestia-glossary/issues/1854)
62
+ * **model:** add `AWARE 2.0` and `Akagi et al (2011)` ([7b52763](https://gitlab.com/hestia-earth/hestia-glossary/commit/7b52763de618a9d31908d85fd29a68babf4b99cb))
63
+ * **model:** add `Resource use not relevant` ([7dcf169](https://gitlab.com/hestia-earth/hestia-glossary/commit/7dcf169713214106ce13a22fb808e0c1739fa1f9))
64
+ * **organicFertiliser:** add `backgroundEmissionsResourceUseDefaultValue` lookup ([4aa5edd](https://gitlab.com/hestia-earth/hestia-glossary/commit/4aa5edd1b2b4c9bae4154688d44d7fe901060d17))
65
+ * **processedFood:** add `Bristle meal`, `Greaves meal`, `Hemoglobin powder`, and `Plasma powder` ([a82455a](https://gitlab.com/hestia-earth/hestia-glossary/commit/a82455a8bfa3430347ca0993b79e04345bc73b08)), closes [#1853](https://gitlab.com/hestia-earth/hestia-glossary/issues/1853)
66
+ * **processedFood:** add `Peanut, oil (crude)`, `Lupin, meal`, and `Soybean, molasses` ([aff4fc7](https://gitlab.com/hestia-earth/hestia-glossary/commit/aff4fc79ce20e3f5809373b7cc40be1ea6008a5a)), closes [#1853](https://gitlab.com/hestia-earth/hestia-glossary/issues/1853)
67
+ * **processedFood:** add `Sugarcane, vinasse` and rename `Vinasse (processed food)` `Pot ale syrup` ([2a9dfa1](https://gitlab.com/hestia-earth/hestia-glossary/commit/2a9dfa153fd9164a444f0409b9bc19c928e4339c)), closes [#1853](https://gitlab.com/hestia-earth/hestia-glossary/issues/1853)
68
+ * **processedFood:** add processed "barley", "oat", "triticale", and "rye" terms to align with GFLI ([3f1c113](https://gitlab.com/hestia-earth/hestia-glossary/commit/3f1c11321fa331162b931a9416ff8b8feaf35f73)), closes [#1853](https://gitlab.com/hestia-earth/hestia-glossary/issues/1853)
69
+ * **processedFood:** add processed "maize" terms to align with GFLI database ([7f64b0a](https://gitlab.com/hestia-earth/hestia-glossary/commit/7f64b0a0f7a54954ec55be0fd35a38357ff0163b)), closes [#1853](https://gitlab.com/hestia-earth/hestia-glossary/issues/1853)
70
+ * **processedFood:** add processed "potato", "pea", "chicory", and "sugar beet" to align with GFLI ([f2c8a06](https://gitlab.com/hestia-earth/hestia-glossary/commit/f2c8a06635476ad1a6f7180f8275953b6edbe180)), closes [#1853](https://gitlab.com/hestia-earth/hestia-glossary/issues/1853)
71
+ * **processedFood:** add processed "rice" terms to align with GFLI database ([a03de9e](https://gitlab.com/hestia-earth/hestia-glossary/commit/a03de9e74784b86186bd3a440897209857b08ff2)), closes [#1853](https://gitlab.com/hestia-earth/hestia-glossary/issues/1853)
72
+ * **processedFood:** add processed "wheat" terms to align with GFLI database ([7e1396b](https://gitlab.com/hestia-earth/hestia-glossary/commit/7e1396b7df684f822e217d1ad9c07e0971f76d57)), closes [#1853](https://gitlab.com/hestia-earth/hestia-glossary/issues/1853)
73
+ * **processedFood:** add terms for "Casein, protein concentrate" and "Whey, protein concentrate" ([6f6d8e8](https://gitlab.com/hestia-earth/hestia-glossary/commit/6f6d8e886a8431a9daa0c16c77053376b9919266)), closes [#1853](https://gitlab.com/hestia-earth/hestia-glossary/issues/1853)
74
+ * **processedFood:** delete redundant "Soybean, meal" terms and rename `Sesame, oil` ([9c1cbf6](https://gitlab.com/hestia-earth/hestia-glossary/commit/9c1cbf6d01f85c9d4fe38997442679803aff6290)), closes [#1853](https://gitlab.com/hestia-earth/hestia-glossary/issues/1853)
75
+ * **property:** add `biochar` to `termTypesAllowed` lookup values ([819698f](https://gitlab.com/hestia-earth/hestia-glossary/commit/819698f4dc6cdb31667c63b517774b9c2ca71565))
76
+ * **region:** add AWARE 2.0 factors ([6a7594d](https://gitlab.com/hestia-earth/hestia-glossary/commit/6a7594d673d430b87c2705c726255a2a2e996535))
77
+ * **region:** add generated landCover lookups for crops ([4b224e7](https://gitlab.com/hestia-earth/hestia-glossary/commit/4b224e78dc06e97cbeeeb908a98465b24e5c3e99))
78
+ * **resourceUse:** add `inHestiaDefaultSystemBoundary` ([15acfa2](https://gitlab.com/hestia-earth/hestia-glossary/commit/15acfa2ac04aebef3ce240975305144b3b517c49))
79
+ * **waterRegime:** add `conveyancingEfficiency` lookup ([e778d22](https://gitlab.com/hestia-earth/hestia-glossary/commit/e778d222a8865813604b94eec407952392294630))
80
+
81
+
82
+ ### Bug Fixes
83
+
84
+ * **emission:** remove `P, to soil, crop residue burning` ([7e6ad45](https://gitlab.com/hestia-earth/hestia-glossary/commit/7e6ad45e10f7c38777a2de89e05662af1ac23a09))
85
+ * **excretaManagement:** add docs and missing lookup values ([fb87be8](https://gitlab.com/hestia-earth/hestia-glossary/commit/fb87be83d9d5b877f5c82c8c4f4d6d91292ec6e7))
86
+ * **region:** add missing values for scarcity weighted water use ([6735474](https://gitlab.com/hestia-earth/hestia-glossary/commit/6735474e8c773b2076c2551197a6b748f64a20c8))
87
+
5
88
  ## [0.71.0](https://gitlab.com/hestia-earth/hestia-glossary/compare/v0.70.1...v0.71.0) (2025-06-10)
6
89
 
7
90
 
package/index.js CHANGED
@@ -103,6 +103,16 @@ const isInSystemBoundary = (id) => {
103
103
  return !value || value === "true";
104
104
  };
105
105
 
106
+ /**
107
+ * Return the group for this term with a specific model.
108
+ *
109
+ * @param {string} id The HESTIA term [id](https://hestia.earth/schema/Term#id).
110
+ * @param {string} modelId The HESTIA term [id](https://hestia.earth/schema/Term#id).
111
+ * @returns {string} The HESTIA term [id](https://hestia.earth/schema/Term#id) of the group.
112
+ */
113
+ const getModelGroup = (id, modelId) =>
114
+ (loadResourceKey("modelGroups.json", id) || {})[modelId];
115
+
106
116
  /**
107
117
  *
108
118
  * @param {object} term The HESTIA term, providing `@id` and/or `termType`.
@@ -133,5 +143,6 @@ module.exports = {
133
143
  getTermModelRestrictions,
134
144
  getTermTypeLookups,
135
145
  isInSystemBoundary,
146
+ getModelGroup,
136
147
  termOrder,
137
148
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hestia-earth/glossary",
3
- "version": "0.71.0",
3
+ "version": "0.72.1",
4
4
  "description": "HESTIA Earth Glossary library",
5
5
  "main": "index.js",
6
6
  "scripts": {