hestia-earth-models 0.69.1__py3-none-any.whl → 0.70.1__py3-none-any.whl

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.
Files changed (219) hide show
  1. hestia_earth/models/aware/scarcityWeightedWaterUse.py +8 -16
  2. hestia_earth/models/cache_sites.py +3 -2
  3. hestia_earth/models/cml2001Baseline/abioticResourceDepletionFossilFuels.py +2 -1
  4. hestia_earth/models/cml2001Baseline/abioticResourceDepletionMineralsAndMetals.py +3 -2
  5. hestia_earth/models/config/Cycle.json +82 -60
  6. hestia_earth/models/config/ImpactAssessment.json +12 -4
  7. hestia_earth/models/config/Site.json +33 -22
  8. hestia_earth/models/cycle/animal/input/hestiaAggregatedData.py +1 -1
  9. hestia_earth/models/cycle/animal/input/properties.py +1 -1
  10. hestia_earth/models/cycle/cycleDuration.py +2 -2
  11. hestia_earth/models/cycle/input/hestiaAggregatedData.py +12 -14
  12. hestia_earth/models/cycle/input/properties.py +1 -1
  13. hestia_earth/models/cycle/siteDuration.py +3 -3
  14. hestia_earth/models/cycle/transformation.py +1 -1
  15. hestia_earth/models/cycle/utils.py +0 -6
  16. hestia_earth/models/data/ecoinventV3/__init__.py +15 -13
  17. hestia_earth/models/ecoalimV9/__init__.py +13 -0
  18. hestia_earth/models/ecoalimV9/cycle.py +128 -0
  19. hestia_earth/models/ecoalimV9/impact_assessment.py +125 -0
  20. hestia_earth/models/ecoalimV9/utils.py +31 -0
  21. hestia_earth/models/ecoinventV3/__init__.py +6 -14
  22. hestia_earth/models/ecoinventV3/utils.py +1 -29
  23. hestia_earth/models/ecoinventV3AndEmberClimate/__init__.py +8 -2
  24. hestia_earth/models/emissionNotRelevant/__init__.py +33 -8
  25. hestia_earth/models/frischknechtEtAl2000/ionisingRadiationKbqU235Eq.py +1 -1
  26. hestia_earth/models/geospatialDatabase/croppingIntensity.py +4 -4
  27. hestia_earth/models/geospatialDatabase/longFallowRatio.py +4 -4
  28. hestia_earth/models/geospatialDatabase/region.py +3 -2
  29. hestia_earth/models/geospatialDatabase/utils.py +6 -5
  30. hestia_earth/models/haversineFormula/transport/distance.py +5 -4
  31. hestia_earth/models/{koble2014 → hestia}/aboveGroundCropResidue.py +4 -5
  32. hestia_earth/models/{cycle → hestia}/aboveGroundCropResidueTotal.py +2 -2
  33. hestia_earth/models/{site → hestia}/brackishWater.py +1 -1
  34. hestia_earth/models/{site → hestia}/cationExchangeCapacityPerKgSoil.py +1 -1
  35. hestia_earth/models/{cycle → hestia}/coldCarcassWeightPerHead.py +1 -1
  36. hestia_earth/models/{cycle → hestia}/coldDressedCarcassWeightPerHead.py +1 -1
  37. hestia_earth/models/{cycle → hestia}/concentrateFeed.py +1 -1
  38. hestia_earth/models/{cycle → hestia}/cropResidueManagement.py +1 -1
  39. hestia_earth/models/{cycle → hestia}/croppingIntensity.py +1 -1
  40. hestia_earth/models/{cycle → hestia}/energyContentLowerHeatingValue.py +2 -2
  41. hestia_earth/models/{cycle → hestia}/excretaKgMass.py +7 -2
  42. hestia_earth/models/{cycle → hestia}/excretaKgN.py +1 -1
  43. hestia_earth/models/{cycle → hestia}/excretaKgVs.py +1 -1
  44. hestia_earth/models/{cycle → hestia}/feedConversionRatio/__init__.py +1 -1
  45. hestia_earth/models/{site → hestia}/flowingWater.py +1 -1
  46. hestia_earth/models/{site → hestia}/freshWater.py +1 -1
  47. hestia_earth/models/{cycle → hestia}/inorganicFertiliser.py +1 -1
  48. hestia_earth/models/{cycle → hestia}/irrigatedTypeUnspecified.py +14 -19
  49. hestia_earth/models/hestia/landCover.py +31 -27
  50. hestia_earth/models/hestia/landTransformation100YearAverageDuringCycle.py +2 -1
  51. hestia_earth/models/hestia/landTransformation20YearAverageDuringCycle.py +2 -1
  52. hestia_earth/models/{cycle → hestia}/liveAnimal.py +1 -1
  53. hestia_earth/models/{cycle → hestia}/longFallowRatio.py +1 -1
  54. hestia_earth/models/{site → hestia}/management.py +5 -3
  55. hestia_earth/models/{cycle → hestia}/materialAndSubstrate.py +1 -1
  56. hestia_earth/models/{cycle → hestia}/milkYield.py +1 -1
  57. hestia_earth/models/{site → hestia}/netPrimaryProduction.py +1 -1
  58. hestia_earth/models/{site → hestia}/organicCarbonPerHa.py +1 -1
  59. hestia_earth/models/{cycle → hestia}/pastureGrass.py +1 -1
  60. hestia_earth/models/{cycle → hestia}/pastureSystem.py +1 -1
  61. hestia_earth/models/{site → hestia}/potentialEvapotranspirationAnnual.py +3 -3
  62. hestia_earth/models/{site → hestia}/potentialEvapotranspirationMonthly.py +3 -3
  63. hestia_earth/models/{site → hestia}/precipitationAnnual.py +3 -3
  64. hestia_earth/models/{site → hestia}/precipitationMonthly.py +3 -3
  65. hestia_earth/models/{site → hestia}/rainfallAnnual.py +3 -3
  66. hestia_earth/models/{site → hestia}/rainfallMonthly.py +3 -3
  67. hestia_earth/models/{cycle → hestia}/readyToCookWeightPerHead.py +1 -1
  68. hestia_earth/models/{cycle → hestia}/residueBurnt.py +1 -1
  69. hestia_earth/models/{cycle → hestia}/residueIncorporated.py +1 -1
  70. hestia_earth/models/{cycle → hestia}/residueLeftOnField.py +1 -1
  71. hestia_earth/models/hestia/residueRemoved.py +65 -13
  72. hestia_earth/models/{site → hestia}/salineWater.py +1 -1
  73. hestia_earth/models/hestia/seed_emissions.py +1 -1
  74. hestia_earth/models/{site → hestia}/soilMeasurement.py +1 -1
  75. hestia_earth/models/{cycle → hestia}/stockingDensityAnimalHousingAverage.py +1 -1
  76. hestia_earth/models/{site → hestia}/temperatureAnnual.py +3 -3
  77. hestia_earth/models/{site → hestia}/temperatureMonthly.py +3 -3
  78. hestia_earth/models/{site → hestia}/totalNitrogenPerKgSoil.py +1 -1
  79. hestia_earth/models/{cycle → hestia}/unknownPreSeasonWaterRegime.py +1 -1
  80. hestia_earth/models/hestia/utils.py +93 -0
  81. hestia_earth/models/{site → hestia}/waterDepth.py +1 -1
  82. hestia_earth/models/hestia/waterSalinity.py +78 -0
  83. hestia_earth/models/impact_assessment/emissions.py +1 -1
  84. hestia_earth/models/impact_assessment/product/economicValueShare.py +1 -1
  85. hestia_earth/models/impact_assessment/product/value.py +1 -1
  86. hestia_earth/models/ipcc2019/aboveGroundBiomass.py +1 -1
  87. hestia_earth/models/ipcc2019/animal/fatContent.py +2 -2
  88. hestia_earth/models/ipcc2019/animal/milkYieldPerAnimal.py +2 -2
  89. hestia_earth/models/ipcc2019/animal/trueProteinContent.py +2 -2
  90. hestia_earth/models/ipcc2019/belowGroundBiomass.py +1 -1
  91. hestia_earth/models/ipcc2019/biomass_utils.py +2 -4
  92. hestia_earth/models/ipcc2019/ch4ToAirEntericFermentation.py +7 -2
  93. hestia_earth/models/ipcc2019/ch4ToAirFloodedRice.py +163 -78
  94. hestia_earth/models/ipcc2019/co2ToAirAboveGroundBiomassStockChange.py +1 -0
  95. hestia_earth/models/ipcc2019/co2ToAirBelowGroundBiomassStockChange.py +2 -1
  96. hestia_earth/models/ipcc2019/co2ToAirCarbonStockChange_utils.py +31 -20
  97. hestia_earth/models/ipcc2019/co2ToAirSoilOrganicCarbonStockChange.py +2 -1
  98. hestia_earth/models/ipcc2019/co2ToAirUreaHydrolysis.py +16 -9
  99. hestia_earth/models/ipcc2019/nonCo2EmissionsToAirNaturalVegetationBurning.py +36 -47
  100. hestia_earth/models/ipcc2019/organicCarbonPerHa_tier_1.py +94 -9
  101. hestia_earth/models/ipcc2019/organicCarbonPerHa_tier_2.py +167 -13
  102. hestia_earth/models/ipcc2019/organicCarbonPerHa_utils.py +7 -5
  103. hestia_earth/models/koble2014/cropResidueManagement.py +1 -1
  104. hestia_earth/models/koble2014/residueBurnt.py +1 -1
  105. hestia_earth/models/koble2014/residueRemoved.py +1 -1
  106. hestia_earth/models/koble2014/utils.py +3 -3
  107. hestia_earth/models/mocking/search-results.json +1263 -1229
  108. hestia_earth/models/pooreNemecek2018/excretaKgN.py +1 -1
  109. hestia_earth/models/pooreNemecek2018/freshwaterWithdrawalsDuringCycle.py +1 -1
  110. hestia_earth/models/pooreNemecek2018/utils.py +12 -3
  111. hestia_earth/models/schmidt2007/ch4ToAirWasteTreatment.py +1 -6
  112. hestia_earth/models/schmidt2007/h2SToAirWasteTreatment.py +1 -6
  113. hestia_earth/models/schmidt2007/n2OToAirWasteTreatmentDirect.py +1 -6
  114. hestia_earth/models/schmidt2007/nh3ToAirWasteTreatment.py +1 -6
  115. hestia_earth/models/site/pre_checks/country.py +4 -2
  116. hestia_earth/models/transformation/input/excreta.py +1 -1
  117. hestia_earth/models/utils/aggregated.py +12 -15
  118. hestia_earth/models/utils/background_emissions.py +52 -0
  119. hestia_earth/models/utils/blank_node.py +24 -6
  120. hestia_earth/models/utils/impact_assessment.py +26 -17
  121. hestia_earth/models/utils/lookup.py +48 -39
  122. hestia_earth/models/utils/measurement.py +3 -3
  123. hestia_earth/models/utils/product.py +1 -1
  124. hestia_earth/models/utils/source.py +2 -1
  125. hestia_earth/models/utils/term.py +26 -1
  126. hestia_earth/models/version.py +1 -1
  127. {hestia_earth_models-0.69.1.dist-info → hestia_earth_models-0.70.1.dist-info}/METADATA +2 -2
  128. {hestia_earth_models-0.69.1.dist-info → hestia_earth_models-0.70.1.dist-info}/RECORD +214 -209
  129. tests/models/aware/test_scarcityWeightedWaterUse.py +1 -12
  130. tests/models/cycle/input/test_hestiaAggregatedData.py +18 -16
  131. tests/models/ecoalimV9/__init__.py +0 -0
  132. tests/models/ecoalimV9/test_cycle.py +21 -0
  133. tests/models/ecoalimV9/test_impact_assessment.py +24 -0
  134. tests/models/environmentalFootprintV3_1/test_scarcityWeightedWaterUse.py +4 -2
  135. tests/models/geospatialDatabase/test_region.py +1 -1
  136. tests/models/geospatialDatabase/test_utils.py +1 -1
  137. tests/models/haversineFormula/transport/test_distance.py +2 -2
  138. tests/models/{koble2014 → hestia}/test_aboveGroundCropResidue.py +3 -3
  139. tests/models/{cycle → hestia}/test_aboveGroundCropResidueTotal.py +1 -1
  140. tests/models/{site → hestia}/test_brackishWater.py +1 -1
  141. tests/models/{site → hestia}/test_cationExchangeCapacityPerKgSoil.py +1 -1
  142. tests/models/{cycle → hestia}/test_coldCarcassWeightPerHead.py +1 -1
  143. tests/models/{cycle → hestia}/test_coldDressedCarcassWeightPerHead.py +1 -1
  144. tests/models/{cycle → hestia}/test_concentrateFeed.py +1 -1
  145. tests/models/{cycle → hestia}/test_cropResidueManagement.py +1 -1
  146. tests/models/{cycle → hestia}/test_croppingIntensity.py +1 -1
  147. tests/models/{cycle → hestia}/test_energyContentLowerHeatingValue.py +5 -3
  148. tests/models/{cycle → hestia}/test_excretaKgMass.py +1 -1
  149. tests/models/{cycle → hestia}/test_excretaKgN.py +1 -1
  150. tests/models/{cycle → hestia}/test_excretaKgVs.py +1 -1
  151. tests/models/{cycle → hestia}/test_feedConversionRatio.py +1 -1
  152. tests/models/{site → hestia}/test_flowingWater.py +1 -1
  153. tests/models/{site → hestia}/test_freshWater.py +1 -1
  154. tests/models/{cycle → hestia}/test_inorganicFertiliser.py +1 -1
  155. tests/models/{cycle → hestia}/test_irrigatedTypeUnspecified.py +2 -5
  156. tests/models/hestia/test_landCover.py +4 -34
  157. tests/models/{cycle → hestia}/test_liveAnimal.py +1 -1
  158. tests/models/{cycle → hestia}/test_longFallowRatio.py +1 -1
  159. tests/models/{site → hestia}/test_management.py +1 -1
  160. tests/models/{cycle → hestia}/test_materialsAndSubstrate.py +1 -1
  161. tests/models/{cycle → hestia}/test_milkYield.py +1 -1
  162. tests/models/{site → hestia}/test_netPrimaryProduction.py +1 -1
  163. tests/models/{site → hestia}/test_organicCarbonPerHa.py +1 -1
  164. tests/models/{site → hestia}/test_organicCarbonPerKgSoil.py +1 -1
  165. tests/models/{site → hestia}/test_organicCarbonPerM3Soil.py +1 -1
  166. tests/models/{site → hestia}/test_organicMatterPerKgSoil.py +1 -1
  167. tests/models/{site → hestia}/test_organicMatterPerM3Soil.py +1 -1
  168. tests/models/{cycle → hestia}/test_pastureGrass.py +1 -1
  169. tests/models/{cycle → hestia}/test_pastureSystem.py +1 -1
  170. tests/models/{site → hestia}/test_potentialEvapotranspirationAnnual.py +1 -1
  171. tests/models/{site → hestia}/test_potentialEvapotranspirationMonthly.py +1 -1
  172. tests/models/{site → hestia}/test_precipitationAnnual.py +1 -1
  173. tests/models/{site → hestia}/test_precipitationMonthly.py +1 -1
  174. tests/models/{site → hestia}/test_rainfallAnnual.py +1 -1
  175. tests/models/{site → hestia}/test_rainfallMonthly.py +1 -1
  176. tests/models/{cycle → hestia}/test_readyToCookWeightPerHead.py +1 -1
  177. tests/models/{cycle → hestia}/test_residueBurnt.py +1 -1
  178. tests/models/{cycle → hestia}/test_residueIncorporated.py +1 -1
  179. tests/models/{cycle → hestia}/test_residueLeftOnField.py +1 -1
  180. tests/models/hestia/test_residueRemoved.py +15 -3
  181. tests/models/{site → hestia}/test_salineWater.py +1 -1
  182. tests/models/{site → hestia}/test_soilMeasurement.py +2 -2
  183. tests/models/{cycle → hestia}/test_stockingDensityAnimalHousingAverage.py +1 -1
  184. tests/models/{site → hestia}/test_temperatureAnnual.py +1 -1
  185. tests/models/{site → hestia}/test_temperatureMonthly.py +1 -1
  186. tests/models/{site → hestia}/test_totalNitrogenPerKgSoil.py +1 -1
  187. tests/models/{cycle → hestia}/test_unknownPreSeasonWaterRegime.py +1 -1
  188. tests/models/{site → hestia}/test_waterDepth.py +1 -1
  189. tests/models/hestia/test_waterSalinity.py +26 -0
  190. tests/models/ipcc2019/test_ch4ToAirEntericFermentation.py +11 -0
  191. tests/models/ipcc2019/test_ch4ToAirFloodedRice.py +10 -42
  192. tests/models/ipcc2019/test_co2ToAirSoilOrganicCarbonStockChange.py +2 -1
  193. tests/models/ipcc2019/test_nonCo2EmissionsToAirNaturalVegetationBurning.py +22 -8
  194. tests/models/ipcc2019/test_organicCarbonPerHa.py +4 -2
  195. tests/models/pooreNemecek2018/test_landOccupationDuringCycle.py +3 -0
  196. tests/models/site/pre_checks/test_country.py +4 -3
  197. tests/models/test_ecoinventV3.py +2 -2
  198. tests/models/test_ecoinventV3AndEmberClimate.py +2 -2
  199. tests/models/test_emissionNotRelevant.py +0 -8
  200. tests/models/utils/test_measurement.py +1 -1
  201. tests/models/utils/test_source.py +15 -5
  202. tests/orchestrator/test_models.py +1 -0
  203. hestia_earth/models/cycle/residueRemoved.py +0 -54
  204. hestia_earth/models/hestia/nh3ToSurfaceWaterAquacultureSystems.py +0 -64
  205. hestia_earth/models/site/utils.py +0 -93
  206. tests/models/cycle/test_residueRemoved.py +0 -37
  207. tests/models/hestia/test_nh3ToSurfaceWaterAquacultureSystems.py +0 -51
  208. /hestia_earth/models/{cycle → hestia}/feedConversionRatio/feedConversionRatioCarbon.py +0 -0
  209. /hestia_earth/models/{cycle → hestia}/feedConversionRatio/feedConversionRatioDryMatter.py +0 -0
  210. /hestia_earth/models/{cycle → hestia}/feedConversionRatio/feedConversionRatioEnergy.py +0 -0
  211. /hestia_earth/models/{cycle → hestia}/feedConversionRatio/feedConversionRatioFedWeight.py +0 -0
  212. /hestia_earth/models/{cycle → hestia}/feedConversionRatio/feedConversionRatioNitrogen.py +0 -0
  213. /hestia_earth/models/{site → hestia}/organicCarbonPerKgSoil.py +0 -0
  214. /hestia_earth/models/{site → hestia}/organicCarbonPerM3Soil.py +0 -0
  215. /hestia_earth/models/{site → hestia}/organicMatterPerKgSoil.py +0 -0
  216. /hestia_earth/models/{site → hestia}/organicMatterPerM3Soil.py +0 -0
  217. {hestia_earth_models-0.69.1.dist-info → hestia_earth_models-0.70.1.dist-info}/LICENSE +0 -0
  218. {hestia_earth_models-0.69.1.dist-info → hestia_earth_models-0.70.1.dist-info}/WHEEL +0 -0
  219. {hestia_earth_models-0.69.1.dist-info → hestia_earth_models-0.70.1.dist-info}/top_level.txt +0 -0
@@ -74,7 +74,7 @@ def _get_factor_from_region(impact_assessment: dict, site: dict):
74
74
  return safe_parse_float(value, None)
75
75
 
76
76
 
77
- def _run(impact_assessment: dict):
77
+ def run(impact_assessment: dict):
78
78
  cycle = impact_assessment.get('cycle', {})
79
79
  product = get_product(impact_assessment)
80
80
  fresh_water = emission_value(impact_assessment, 'freshwaterWithdrawalsDuringCycle')
@@ -87,26 +87,18 @@ def _run(impact_assessment: dict):
87
87
  impact_assessment, product, sum_input_impacts(cycle.get('inputs', []), TERM_ID), model=MODEL, term_id=TERM_ID
88
88
  )
89
89
 
90
- logRequirements(impact_assessment, model=MODEL, term=TERM_ID,
91
- fresh_water=fresh_water,
92
- aware_id=aware_id,
93
- factor=factor,
94
- inputs_value=inputs_value)
95
-
96
90
  value = sum_values([
97
91
  multiply_values([fresh_water, factor]),
98
92
  inputs_value
99
93
  ])
100
- return _indicator(value) if value is not None else None
101
94
 
95
+ logRequirements(impact_assessment, model=MODEL, term=TERM_ID,
96
+ fresh_water=fresh_water,
97
+ aware_id=aware_id,
98
+ factor=factor,
99
+ inputs_value=inputs_value)
102
100
 
103
- def _should_run(impact_assessment: dict):
104
- site = get_site(impact_assessment)
105
- # does not run without a site as data is geospatial
106
- should_run = all([site])
101
+ should_run = all([value is not None])
107
102
  logShouldRun(impact_assessment, MODEL, TERM_ID, should_run)
108
- return should_run
109
-
110
103
 
111
- def run(impact_assessment: dict):
112
- return _run(impact_assessment) if _should_run(impact_assessment) else None
104
+ return [_indicator(value)] if should_run else []
@@ -1,12 +1,13 @@
1
1
  from functools import reduce
2
2
  from enum import Enum
3
3
  from pydash.objects import merge
4
- from hestia_earth.utils.api import download_hestia
4
+ from hestia_earth.schema import TermTermType
5
5
  from hestia_earth.utils.tools import flatten, non_empty_list
6
6
 
7
7
  from .log import logger
8
8
  from .utils import CACHE_KEY, cached_value
9
9
  from .utils.site import CACHE_YEARS_KEY
10
+ from .utils.term import download_term
10
11
  from .site.pre_checks.cache_geospatialDatabase import (
11
12
  list_vectors, list_rasters, cache_site_results, _should_run
12
13
  )
@@ -92,7 +93,7 @@ def _should_preload_region_area_size(site: dict): return not has_coordinates(sit
92
93
 
93
94
  def _preload_regions_area_size(sites: dict):
94
95
  region_ids = set(map(_site_gadm_id, filter(_should_preload_region_area_size, sites)))
95
- return {term_id: download_hestia(term_id).get('area') for term_id in region_ids}
96
+ return {term_id: download_term(term_id, TermTermType.REGION).get('area') for term_id in region_ids}
96
97
 
97
98
 
98
99
  def _group_sites(sites: dict, check_has_cache: bool = True):
@@ -17,12 +17,13 @@ REQUIREMENTS = {
17
17
  "term.@id": ["resourceUseEnergyDepletionInputsProduction", "resourceUseEnergyDepletionDuringCycle"],
18
18
  "term.units": "MJ",
19
19
  "value": "> 0",
20
- "inputs":
20
+ "inputs": [
21
21
  {
22
22
  "@type": "Input",
23
23
  "term.name": "non-renewable\" energy terms only,\"",
24
24
  "term.termType": ["fuel", "electricity"]
25
25
  }
26
+ ]
26
27
  }
27
28
  ]
28
29
  }
@@ -14,10 +14,11 @@ REQUIREMENTS = {
14
14
  {
15
15
  "@type": "Indicator", "value": "", "term.termType": "resourceUse",
16
16
  "term.@id": ["resourceUseMineralsAndMetalsInputsProduction", "resourceUseMineralsAndMetalsDuringCycle"],
17
- "inputs": {
17
+ "inputs": [{
18
18
  "@type": "Term",
19
19
  "term.units": "kg",
20
- "term.termType": ["material", "soilAmendment", "otherInorganicChemical"]}
20
+ "term.termType": ["material", "soilAmendment", "otherInorganicChemical"]
21
+ }]
21
22
  }]
22
23
  }
23
24
  }
@@ -28,7 +28,7 @@
28
28
  },
29
29
  {
30
30
  "key": "practices",
31
- "model": "cycle",
31
+ "model": "hestia",
32
32
  "value": "croppingIntensity",
33
33
  "runStrategy": "add_blank_node_if_missing",
34
34
  "mergeStrategy": "list",
@@ -93,7 +93,7 @@
93
93
  },
94
94
  {
95
95
  "key": "inputs",
96
- "model": "cycle",
96
+ "model": "hestia",
97
97
  "value": "materialAndSubstrate",
98
98
  "runStrategy": "always",
99
99
  "mergeStrategy": "list",
@@ -103,7 +103,7 @@
103
103
  [
104
104
  {
105
105
  "key": "practices",
106
- "model": "cycle",
106
+ "model": "hestia",
107
107
  "value": "residueBurnt",
108
108
  "runStrategy": "add_blank_node_if_missing",
109
109
  "mergeStrategy": "list",
@@ -111,7 +111,7 @@
111
111
  },
112
112
  {
113
113
  "key": "practices",
114
- "model": "cycle",
114
+ "model": "hestia",
115
115
  "value": "residueIncorporated",
116
116
  "runStrategy": "add_blank_node_if_missing",
117
117
  "mergeStrategy": "list",
@@ -119,7 +119,7 @@
119
119
  },
120
120
  {
121
121
  "key": "practices",
122
- "model": "cycle",
122
+ "model": "hestia",
123
123
  "value": "residueLeftOnField",
124
124
  "runStrategy": "add_blank_node_if_missing",
125
125
  "mergeStrategy": "list",
@@ -127,7 +127,7 @@
127
127
  },
128
128
  {
129
129
  "key": "practices",
130
- "model": "cycle",
130
+ "model": "hestia",
131
131
  "value": "residueRemoved",
132
132
  "runStrategy": "add_blank_node_if_missing",
133
133
  "mergeStrategy": "list",
@@ -169,14 +169,6 @@
169
169
  {
170
170
  "key": "practices",
171
171
  "model": "hestia",
172
- "value": "residueRemoved",
173
- "runStrategy": "add_blank_node_if_missing",
174
- "mergeStrategy": "list",
175
- "stage": 1
176
- },
177
- {
178
- "key": "practices",
179
- "model": "cycle",
180
172
  "value": "cropResidueManagement",
181
173
  "runStrategy": "always",
182
174
  "mergeStrategy": "list",
@@ -192,7 +184,7 @@
192
184
  },
193
185
  {
194
186
  "key": "products",
195
- "model": "cycle",
187
+ "model": "hestia",
196
188
  "value": "aboveGroundCropResidueTotal",
197
189
  "runStrategy": "add_blank_node_if_missing",
198
190
  "mergeStrategy": "list",
@@ -224,7 +216,7 @@
224
216
  },
225
217
  {
226
218
  "key": "products",
227
- "model": "koble2014",
219
+ "model": "hestia",
228
220
  "value": "aboveGroundCropResidue",
229
221
  "runStrategy": "always",
230
222
  "mergeStrategy": "list",
@@ -238,6 +230,40 @@
238
230
  "mergeStrategy": "list",
239
231
  "stage": 1
240
232
  },
233
+ [
234
+ {
235
+ "key": "practices",
236
+ "model": "hestia",
237
+ "value": "residueBurnt",
238
+ "runStrategy": "add_blank_node_if_missing",
239
+ "mergeStrategy": "list",
240
+ "stage": 1
241
+ },
242
+ {
243
+ "key": "practices",
244
+ "model": "hestia",
245
+ "value": "residueIncorporated",
246
+ "runStrategy": "add_blank_node_if_missing",
247
+ "mergeStrategy": "list",
248
+ "stage": 1
249
+ },
250
+ {
251
+ "key": "practices",
252
+ "model": "hestia",
253
+ "value": "residueLeftOnField",
254
+ "runStrategy": "add_blank_node_if_missing",
255
+ "mergeStrategy": "list",
256
+ "stage": 1
257
+ },
258
+ {
259
+ "key": "practices",
260
+ "model": "hestia",
261
+ "value": "residueRemoved",
262
+ "runStrategy": "add_blank_node_if_missing",
263
+ "mergeStrategy": "list",
264
+ "stage": 1
265
+ }
266
+ ],
241
267
  {
242
268
  "key": "products",
243
269
  "model": "ipcc2006",
@@ -289,7 +315,7 @@
289
315
  [
290
316
  {
291
317
  "key": "practices",
292
- "model": "cycle",
318
+ "model": "hestia",
293
319
  "value": "longFallowRatio",
294
320
  "runStrategy": "add_blank_node_if_missing",
295
321
  "mergeStrategy": "list",
@@ -297,7 +323,7 @@
297
323
  },
298
324
  {
299
325
  "key": "practices",
300
- "model": "cycle",
326
+ "model": "hestia",
301
327
  "value": "irrigatedTypeUnspecified",
302
328
  "runStrategy": "add_blank_node_if_missing",
303
329
  "runArgs": {
@@ -308,7 +334,7 @@
308
334
  },
309
335
  {
310
336
  "key": "practices",
311
- "model": "cycle",
337
+ "model": "hestia",
312
338
  "value": "unknownPreSeasonWaterRegime",
313
339
  "runStrategy": "add_blank_node_if_missing",
314
340
  "runArgs": {
@@ -319,7 +345,7 @@
319
345
  },
320
346
  {
321
347
  "key": "practices",
322
- "model": "cycle",
348
+ "model": "hestia",
323
349
  "value": "stockingDensityAnimalHousingAverage",
324
350
  "runStrategy": "always",
325
351
  "mergeStrategy": "list",
@@ -407,7 +433,7 @@
407
433
  },
408
434
  {
409
435
  "key": "inputs",
410
- "model": "cycle",
436
+ "model": "hestia",
411
437
  "value": "inorganicFertiliser",
412
438
  "runStrategy": "always",
413
439
  "mergeStrategy": "list",
@@ -560,7 +586,7 @@
560
586
  [
561
587
  {
562
588
  "key": "products",
563
- "model": "cycle",
589
+ "model": "hestia",
564
590
  "value": "coldCarcassWeightPerHead",
565
591
  "runStrategy": "always",
566
592
  "mergeStrategy": "list",
@@ -568,7 +594,7 @@
568
594
  },
569
595
  {
570
596
  "key": "products",
571
- "model": "cycle",
597
+ "model": "hestia",
572
598
  "value": "coldDressedCarcassWeightPerHead",
573
599
  "runStrategy": "always",
574
600
  "mergeStrategy": "list",
@@ -576,7 +602,7 @@
576
602
  },
577
603
  {
578
604
  "key": "products",
579
- "model": "cycle",
605
+ "model": "hestia",
580
606
  "value": "readyToCookWeightPerHead",
581
607
  "runStrategy": "always",
582
608
  "mergeStrategy": "list",
@@ -636,7 +662,7 @@
636
662
  },
637
663
  {
638
664
  "key": "animals",
639
- "model": "cycle",
665
+ "model": "hestia",
640
666
  "value": "milkYield",
641
667
  "runStrategy": "always",
642
668
  "mergeStrategy": "list",
@@ -645,7 +671,7 @@
645
671
  ],
646
672
  {
647
673
  "key": "inputs",
648
- "model": "cycle",
674
+ "model": "hestia",
649
675
  "value": "energyContentLowerHeatingValue",
650
676
  "runStrategy": "always",
651
677
  "mergeStrategy": "list",
@@ -701,7 +727,7 @@
701
727
  },
702
728
  {
703
729
  "key": "practices",
704
- "model": "cycle",
730
+ "model": "hestia",
705
731
  "value": "pastureSystem",
706
732
  "runStrategy": "always",
707
733
  "mergeStrategy": "list",
@@ -709,7 +735,7 @@
709
735
  },
710
736
  {
711
737
  "key": "practices",
712
- "model": "cycle",
738
+ "model": "hestia",
713
739
  "value": "pastureGrass",
714
740
  "runStrategy": "add_blank_node_if_missing",
715
741
  "mergeStrategy": "list",
@@ -742,7 +768,7 @@
742
768
  },
743
769
  {
744
770
  "key": "products",
745
- "model": "cycle",
771
+ "model": "hestia",
746
772
  "value": "liveAnimal",
747
773
  "runStrategy": "always",
748
774
  "mergeStrategy": "list",
@@ -750,7 +776,7 @@
750
776
  },
751
777
  {
752
778
  "key": "practices",
753
- "model": "cycle",
779
+ "model": "hestia",
754
780
  "value": "feedConversionRatio",
755
781
  "runStrategy": "always",
756
782
  "mergeStrategy": "list",
@@ -810,7 +836,7 @@
810
836
  },
811
837
  {
812
838
  "key": "products",
813
- "model": "cycle",
839
+ "model": "hestia",
814
840
  "value": "concentrateFeed",
815
841
  "runStrategy": "always",
816
842
  "mergeStrategy": "list",
@@ -819,7 +845,7 @@
819
845
  ],
820
846
  {
821
847
  "key": "products",
822
- "model": "cycle",
848
+ "model": "hestia",
823
849
  "value": "excretaKgMass",
824
850
  "runStrategy": "always",
825
851
  "mergeStrategy": "list",
@@ -828,7 +854,7 @@
828
854
  [
829
855
  {
830
856
  "key": "products",
831
- "model": "cycle",
857
+ "model": "hestia",
832
858
  "value": "excretaKgN",
833
859
  "runStrategy": "always",
834
860
  "mergeStrategy": "list",
@@ -836,7 +862,7 @@
836
862
  },
837
863
  {
838
864
  "key": "products",
839
- "model": "cycle",
865
+ "model": "hestia",
840
866
  "value": "excretaKgVs",
841
867
  "runStrategy": "always",
842
868
  "mergeStrategy": "list",
@@ -898,6 +924,28 @@
898
924
  "mergeStrategy": "list",
899
925
  "stage": 2
900
926
  },
927
+ {
928
+ "key": "emissions",
929
+ "model": "linkedImpactAssessment",
930
+ "value": "emissions",
931
+ "runStrategy": "always",
932
+ "mergeStrategy": "list",
933
+ "mergeArgs": {
934
+ "replaceThreshold": ["value", 0.01]
935
+ },
936
+ "stage": 2
937
+ },
938
+ {
939
+ "key": "emissions",
940
+ "model": "ecoalimV9",
941
+ "value": "cycle",
942
+ "runStrategy": "always",
943
+ "mergeStrategy": "list",
944
+ "mergeArgs": {
945
+ "replaceThreshold": ["value", 0.01]
946
+ },
947
+ "stage": 2
948
+ },
901
949
  {
902
950
  "key": "emissions",
903
951
  "model": "ecoinventV3AndEmberClimate",
@@ -2044,17 +2092,6 @@
2044
2092
  "stage": 2
2045
2093
  }
2046
2094
  ],
2047
- {
2048
- "key": "emissions",
2049
- "model": "linkedImpactAssessment",
2050
- "value": "emissions",
2051
- "runStrategy": "always",
2052
- "mergeStrategy": "list",
2053
- "mergeArgs": {
2054
- "replaceThreshold": ["value", 0.01]
2055
- },
2056
- "stage": 2
2057
- },
2058
2095
  {
2059
2096
  "key": "emissions",
2060
2097
  "model": "emissionNotRelevant",
@@ -2141,21 +2178,6 @@
2141
2178
  "replaceThreshold": ["value", 0.01]
2142
2179
  },
2143
2180
  "stage": 2
2144
- },
2145
- {
2146
- "key": "emissions",
2147
- "model": "hestia",
2148
- "value": "nh3ToSurfaceWaterAquacultureSystems",
2149
- "runStrategy": "add_blank_node_if_missing",
2150
- "runArgs": {
2151
- "runNonMeasured": true,
2152
- "runNonAddedTerm": true
2153
- },
2154
- "mergeStrategy": "list",
2155
- "mergeArgs": {
2156
- "replaceThreshold": ["value", 0.01]
2157
- },
2158
- "stage": 2
2159
2181
  }
2160
2182
  ],
2161
2183
  {
@@ -45,6 +45,17 @@
45
45
  },
46
46
  "stage": 1
47
47
  },
48
+ {
49
+ "key": "emissionsResourceUse",
50
+ "model": "ecoalimV9",
51
+ "value": "impact_assessment",
52
+ "runStrategy": "always",
53
+ "mergeStrategy": "list",
54
+ "mergeArgs": {
55
+ "replaceThreshold": ["value", 0.01]
56
+ },
57
+ "stage": 1
58
+ },
48
59
  {
49
60
  "key": "emissionsResourceUse",
50
61
  "model": "pooreNemecek2018",
@@ -872,10 +883,7 @@
872
883
  "runStrategy": "always",
873
884
  "mergeStrategy": "list",
874
885
  "mergeArgs": {
875
- "replaceThreshold": [
876
- "value",
877
- 0.01
878
- ]
886
+ "replaceThreshold": ["value", 0.01]
879
887
  },
880
888
  "stage": 1
881
889
  },
@@ -3,7 +3,7 @@
3
3
  [
4
4
  {
5
5
  "key": "measurements",
6
- "model": "site",
6
+ "model": "hestia",
7
7
  "value": "organicCarbonPerKgSoil",
8
8
  "runStrategy": "add_blank_node_if_missing",
9
9
  "mergeStrategy": "list",
@@ -11,7 +11,7 @@
11
11
  },
12
12
  {
13
13
  "key": "measurements",
14
- "model": "site",
14
+ "model": "hestia",
15
15
  "value": "organicCarbonPerM3Soil",
16
16
  "runStrategy": "add_blank_node_if_missing",
17
17
  "mergeStrategy": "list",
@@ -19,7 +19,7 @@
19
19
  },
20
20
  {
21
21
  "key": "measurements",
22
- "model": "site",
22
+ "model": "hestia",
23
23
  "value": "organicMatterPerKgSoil",
24
24
  "runStrategy": "add_blank_node_if_missing",
25
25
  "mergeStrategy": "list",
@@ -27,7 +27,7 @@
27
27
  },
28
28
  {
29
29
  "key": "measurements",
30
- "model": "site",
30
+ "model": "hestia",
31
31
  "value": "organicMatterPerM3Soil",
32
32
  "runStrategy": "add_blank_node_if_missing",
33
33
  "mergeStrategy": "list",
@@ -35,7 +35,7 @@
35
35
  },
36
36
  {
37
37
  "key": "measurements",
38
- "model": "site",
38
+ "model": "hestia",
39
39
  "value": "potentialEvapotranspirationMonthly",
40
40
  "runStrategy": "add_blank_node_if_missing",
41
41
  "mergeStrategy": "list",
@@ -43,7 +43,7 @@
43
43
  },
44
44
  {
45
45
  "key": "measurements",
46
- "model": "site",
46
+ "model": "hestia",
47
47
  "value": "precipitationMonthly",
48
48
  "runStrategy": "add_blank_node_if_missing",
49
49
  "mergeStrategy": "list",
@@ -51,7 +51,7 @@
51
51
  },
52
52
  {
53
53
  "key": "measurements",
54
- "model": "site",
54
+ "model": "hestia",
55
55
  "value": "rainfallMonthly",
56
56
  "runStrategy": "add_blank_node_if_missing",
57
57
  "mergeStrategy": "list",
@@ -59,7 +59,7 @@
59
59
  },
60
60
  {
61
61
  "key": "measurements",
62
- "model": "site",
62
+ "model": "hestia",
63
63
  "value": "temperatureMonthly",
64
64
  "runStrategy": "add_blank_node_if_missing",
65
65
  "mergeStrategy": "list",
@@ -67,7 +67,7 @@
67
67
  },
68
68
  {
69
69
  "key": "measurements",
70
- "model": "site",
70
+ "model": "hestia",
71
71
  "value": "brackishWater",
72
72
  "runStrategy": "add_blank_node_if_missing",
73
73
  "mergeStrategy": "list",
@@ -75,7 +75,7 @@
75
75
  },
76
76
  {
77
77
  "key": "measurements",
78
- "model": "site",
78
+ "model": "hestia",
79
79
  "value": "freshWater",
80
80
  "runStrategy": "add_blank_node_if_missing",
81
81
  "mergeStrategy": "list",
@@ -83,7 +83,7 @@
83
83
  },
84
84
  {
85
85
  "key": "measurements",
86
- "model": "site",
86
+ "model": "hestia",
87
87
  "value": "salineWater",
88
88
  "runStrategy": "add_blank_node_if_missing",
89
89
  "mergeStrategy": "list",
@@ -93,7 +93,7 @@
93
93
  [
94
94
  {
95
95
  "key": "measurements",
96
- "model": "site",
96
+ "model": "hestia",
97
97
  "value": "potentialEvapotranspirationAnnual",
98
98
  "runStrategy": "add_blank_node_if_missing",
99
99
  "mergeStrategy": "list",
@@ -101,7 +101,7 @@
101
101
  },
102
102
  {
103
103
  "key": "measurements",
104
- "model": "site",
104
+ "model": "hestia",
105
105
  "value": "precipitationAnnual",
106
106
  "runStrategy": "add_blank_node_if_missing",
107
107
  "mergeStrategy": "list",
@@ -109,7 +109,7 @@
109
109
  },
110
110
  {
111
111
  "key": "measurements",
112
- "model": "site",
112
+ "model": "hestia",
113
113
  "value": "rainfallAnnual",
114
114
  "runStrategy": "add_blank_node_if_missing",
115
115
  "mergeStrategy": "list",
@@ -117,7 +117,7 @@
117
117
  },
118
118
  {
119
119
  "key": "measurements",
120
- "model": "site",
120
+ "model": "hestia",
121
121
  "value": "temperatureAnnual",
122
122
  "runStrategy": "add_blank_node_if_missing",
123
123
  "mergeStrategy": "list",
@@ -361,7 +361,7 @@
361
361
  },
362
362
  {
363
363
  "key": "measurements",
364
- "model": "site",
364
+ "model": "hestia",
365
365
  "value": "totalNitrogenPerKgSoil",
366
366
  "runStrategy": "add_blank_node_if_missing",
367
367
  "mergeStrategy": "list",
@@ -369,7 +369,7 @@
369
369
  },
370
370
  {
371
371
  "key": "measurements",
372
- "model": "site",
372
+ "model": "hestia",
373
373
  "value": "netPrimaryProduction",
374
374
  "runStrategy": "add_blank_node_if_missing",
375
375
  "mergeStrategy": "list",
@@ -377,7 +377,7 @@
377
377
  },
378
378
  {
379
379
  "key": "measurements",
380
- "model": "site",
380
+ "model": "hestia",
381
381
  "value": "waterDepth",
382
382
  "runStrategy": "add_blank_node_if_missing",
383
383
  "mergeStrategy": "list",
@@ -385,7 +385,7 @@
385
385
  },
386
386
  {
387
387
  "key": "measurements",
388
- "model": "site",
388
+ "model": "hestia",
389
389
  "value": "cationExchangeCapacityPerKgSoil",
390
390
  "runStrategy": "add_blank_node_if_missing",
391
391
  "mergeStrategy": "list",
@@ -402,7 +402,7 @@
402
402
  },
403
403
  {
404
404
  "key": "measurements",
405
- "model": "site",
405
+ "model": "hestia",
406
406
  "value": "soilMeasurement",
407
407
  "runStrategy": "always",
408
408
  "mergeStrategy": "list",
@@ -410,7 +410,7 @@
410
410
  },
411
411
  {
412
412
  "key": "management",
413
- "model": "site",
413
+ "model": "hestia",
414
414
  "value": "management",
415
415
  "runStrategy": "always",
416
416
  "mergeStrategy": "list",
@@ -422,7 +422,18 @@
422
422
  [
423
423
  {
424
424
  "key": "measurements",
425
- "model": "site",
425
+ "model": "hestia",
426
+ "value": "waterSalinity",
427
+ "runStrategy": "always",
428
+ "mergeStrategy": "list",
429
+ "mergeArgs": {
430
+ "replaceThreshold": ["value", 0.01]
431
+ },
432
+ "stage": 2
433
+ },
434
+ {
435
+ "key": "measurements",
436
+ "model": "hestia",
426
437
  "value": "organicCarbonPerHa",
427
438
  "runStrategy": "always",
428
439
  "mergeStrategy": "list",
@@ -9,7 +9,7 @@ REQUIREMENTS = {
9
9
  "@type": "Input",
10
10
  "value": "",
11
11
  "none": {
12
- "impactAssessment": "",
12
+ "impactAssessment": {"@type": "ImpactAssessment"},
13
13
  "fromCycle": "True",
14
14
  "producedInCycle": "True"
15
15
  },