hestia-earth-models 0.68.0__py3-none-any.whl → 0.69.0__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 (190) hide show
  1. hestia_earth/models/agribalyse2016/fuelElectricity.py +0 -5
  2. hestia_earth/models/agribalyse2016/machineryInfrastructureDepreciatedAmountPerCycle.py +0 -11
  3. hestia_earth/models/aware/scarcityWeightedWaterUse.py +0 -4
  4. hestia_earth/models/cache_sites.py +18 -9
  5. hestia_earth/models/cml2001Baseline/abioticResourceDepletionFossilFuels.py +0 -18
  6. hestia_earth/models/cml2001Baseline/abioticResourceDepletionMineralsAndMetals.py +0 -12
  7. hestia_earth/models/cml2001Baseline/resourceUseEnergyDepletionDuringCycle.py +0 -5
  8. hestia_earth/models/cml2001Baseline/resourceUseMineralsAndMetalsDuringCycle.py +0 -4
  9. hestia_earth/models/config/Cycle.json +23 -30
  10. hestia_earth/models/cycle/aboveGroundCropResidueTotal.py +0 -6
  11. hestia_earth/models/cycle/animal/input/hestiaAggregatedData.py +0 -8
  12. hestia_earth/models/cycle/animal/input/properties.py +0 -9
  13. hestia_earth/models/cycle/animal/milkYield.py +0 -6
  14. hestia_earth/models/cycle/animal/properties.py +0 -6
  15. hestia_earth/models/cycle/completeness/animalFeed.py +0 -6
  16. hestia_earth/models/cycle/completeness/cropResidue.py +0 -6
  17. hestia_earth/models/cycle/completeness/electricityFuel.py +0 -6
  18. hestia_earth/models/cycle/completeness/excreta.py +0 -6
  19. hestia_earth/models/cycle/completeness/freshForage.py +0 -6
  20. hestia_earth/models/cycle/completeness/material.py +0 -6
  21. hestia_earth/models/cycle/completeness/seed.py +0 -6
  22. hestia_earth/models/cycle/completeness/soilAmendment.py +0 -6
  23. hestia_earth/models/cycle/concentrateFeed.py +0 -6
  24. hestia_earth/models/cycle/cropResidueManagement.py +0 -5
  25. hestia_earth/models/cycle/cycleDuration.py +0 -8
  26. hestia_earth/models/cycle/endDate.py +0 -7
  27. hestia_earth/models/cycle/excretaKgMass.py +0 -5
  28. hestia_earth/models/cycle/excretaKgN.py +0 -5
  29. hestia_earth/models/cycle/excretaKgVs.py +0 -5
  30. hestia_earth/models/cycle/inorganicFertiliser.py +0 -6
  31. hestia_earth/models/cycle/input/hestiaAggregatedData.py +0 -13
  32. hestia_earth/models/cycle/input/properties.py +0 -9
  33. hestia_earth/models/cycle/input/value.py +0 -6
  34. hestia_earth/models/cycle/liveAnimal.py +0 -5
  35. hestia_earth/models/cycle/materialAndSubstrate.py +1 -6
  36. hestia_earth/models/cycle/milkYield.py +0 -10
  37. hestia_earth/models/cycle/otherSitesArea.py +0 -6
  38. hestia_earth/models/cycle/otherSitesUnusedDuration.py +0 -6
  39. hestia_earth/models/cycle/pastureSystem.py +0 -6
  40. hestia_earth/models/cycle/post_checks/cache.py +0 -5
  41. hestia_earth/models/cycle/post_checks/otherSites.py +0 -7
  42. hestia_earth/models/cycle/post_checks/site.py +0 -7
  43. hestia_earth/models/cycle/practice/value.py +0 -7
  44. hestia_earth/models/cycle/pre_checks/cache_sources.py +0 -5
  45. hestia_earth/models/cycle/pre_checks/otherSites.py +0 -7
  46. hestia_earth/models/cycle/pre_checks/site.py +0 -6
  47. hestia_earth/models/cycle/product/currency.py +0 -5
  48. hestia_earth/models/cycle/product/economicValueShare.py +0 -14
  49. hestia_earth/models/cycle/product/price.py +0 -5
  50. hestia_earth/models/cycle/product/primary.py +0 -5
  51. hestia_earth/models/cycle/product/properties.py +0 -7
  52. hestia_earth/models/cycle/product/revenue.py +0 -9
  53. hestia_earth/models/cycle/product/value.py +0 -6
  54. hestia_earth/models/cycle/siteArea.py +0 -6
  55. hestia_earth/models/cycle/siteDuration.py +0 -10
  56. hestia_earth/models/cycle/siteUnusedDuration.py +0 -6
  57. hestia_earth/models/cycle/startDate.py +0 -8
  58. hestia_earth/models/cycle/startDateDefinition.py +0 -6
  59. hestia_earth/models/cycle/transformation.py +0 -5
  60. hestia_earth/models/dammgen2009/noxToAirExcreta.py +2 -2
  61. hestia_earth/models/ecoinventV3/__init__.py +0 -15
  62. hestia_earth/models/ecoinventV3AndEmberClimate/__init__.py +0 -11
  63. hestia_earth/models/emepEea2019/nh3ToAirExcreta.py +14 -40
  64. hestia_earth/models/emepEea2019/pm10ToAirAnimalHousing.py +0 -4
  65. hestia_earth/models/emepEea2019/pm25ToAirAnimalHousing.py +0 -4
  66. hestia_earth/models/emepEea2019/tspToAirAnimalHousing.py +0 -4
  67. hestia_earth/models/emissionNotRelevant/__init__.py +0 -5
  68. hestia_earth/models/environmentalFootprintV3_1/environmentalFootprintSingleOverallScore.py +0 -9
  69. hestia_earth/models/environmentalFootprintV3_1/soilQualityIndexLandOccupation.py +0 -6
  70. hestia_earth/models/environmentalFootprintV3_1/soilQualityIndexLandTransformation.py +0 -6
  71. hestia_earth/models/environmentalFootprintV3_1/soilQualityIndexTotalLandUseEffects.py +0 -6
  72. hestia_earth/models/epa2014/no3ToGroundwaterExcreta.py +2 -2
  73. hestia_earth/models/faostat2018/product/price.py +0 -5
  74. hestia_earth/models/geospatialDatabase/awareWaterBasinId.py +0 -5
  75. hestia_earth/models/geospatialDatabase/ecoClimateZone.py +1 -20
  76. hestia_earth/models/geospatialDatabase/ecoregion.py +0 -7
  77. hestia_earth/models/geospatialDatabase/potentialEvapotranspirationAnnual.py +0 -4
  78. hestia_earth/models/geospatialDatabase/potentialEvapotranspirationMonthly.py +0 -4
  79. hestia_earth/models/geospatialDatabase/precipitationAnnual.py +0 -4
  80. hestia_earth/models/geospatialDatabase/precipitationMonthly.py +0 -4
  81. hestia_earth/models/geospatialDatabase/region.py +0 -5
  82. hestia_earth/models/geospatialDatabase/temperatureAnnual.py +0 -4
  83. hestia_earth/models/geospatialDatabase/temperatureMonthly.py +0 -4
  84. hestia_earth/models/haversineFormula/transport/distance.py +0 -7
  85. hestia_earth/models/hestia/landCover.py +31 -18
  86. hestia_earth/models/hestia/landTransformation100YearAverageDuringCycle.py +0 -11
  87. hestia_earth/models/hestia/landTransformation20YearAverageDuringCycle.py +0 -11
  88. hestia_earth/models/hestia/nh3ToSurfaceWaterAquacultureSystems.py +64 -0
  89. hestia_earth/models/hestia/residueRemoved.py +0 -4
  90. hestia_earth/models/hestia/resourceUse_utils.py +0 -5
  91. hestia_earth/models/hestia/seed_emissions.py +0 -13
  92. hestia_earth/models/impact_assessment/allocationMethod.py +0 -6
  93. hestia_earth/models/impact_assessment/emissions.py +0 -9
  94. hestia_earth/models/impact_assessment/irrigated.py +0 -5
  95. hestia_earth/models/impact_assessment/organic.py +0 -5
  96. hestia_earth/models/impact_assessment/post_checks/cycle.py +0 -7
  97. hestia_earth/models/impact_assessment/post_checks/site.py +0 -7
  98. hestia_earth/models/impact_assessment/pre_checks/cycle.py +0 -6
  99. hestia_earth/models/impact_assessment/pre_checks/site.py +0 -6
  100. hestia_earth/models/impact_assessment/product/economicValueShare.py +0 -6
  101. hestia_earth/models/impact_assessment/product/value.py +0 -5
  102. hestia_earth/models/ipcc2019/aboveGroundBiomass.py +9 -2
  103. hestia_earth/models/ipcc2019/animal/milkYieldPerAnimal.py +0 -6
  104. hestia_earth/models/ipcc2019/animal/pastureGrass.py +0 -10
  105. hestia_earth/models/ipcc2019/animal/weightAtMaturity.py +0 -4
  106. hestia_earth/models/ipcc2019/belowGroundBiomass.py +9 -2
  107. hestia_earth/models/ipcc2019/co2ToAirSoilOrganicCarbonStockChange.py +1 -1
  108. hestia_earth/models/ipcc2019/croppingDuration.py +0 -5
  109. hestia_earth/models/ipcc2019/n2OToAirExcretaDirect.py +1 -1
  110. hestia_earth/models/ipcc2019/no3ToGroundwaterExcreta.py +51 -15
  111. hestia_earth/models/ipcc2019/nonCo2EmissionsToAirNaturalVegetationBurning.py +0 -12
  112. hestia_earth/models/ipcc2019/organicCarbonPerHa.py +2 -15
  113. hestia_earth/models/ipcc2019/{organicCarbonPerHa_tier_1_utils.py → organicCarbonPerHa_tier_1.py} +3 -15
  114. hestia_earth/models/ipcc2019/{organicCarbonPerHa_tier_2_utils.py → organicCarbonPerHa_tier_2.py} +3 -13
  115. hestia_earth/models/ipcc2019/pastureGrass.py +0 -10
  116. hestia_earth/models/koble2014/aboveGroundCropResidue.py +0 -9
  117. hestia_earth/models/koble2014/cropResidueManagement.py +0 -6
  118. hestia_earth/models/linkedImpactAssessment/emissions.py +0 -5
  119. hestia_earth/models/mocking/search-results.json +1241 -1185
  120. hestia_earth/models/pooreNemecek2018/ch4ToAirAquacultureSystems.py +14 -15
  121. hestia_earth/models/pooreNemecek2018/excretaKgN.py +12 -17
  122. hestia_earth/models/pooreNemecek2018/excretaKgVs.py +22 -23
  123. hestia_earth/models/pooreNemecek2018/n2OToAirAquacultureSystemsDirect.py +6 -9
  124. hestia_earth/models/pooreNemecek2018/n2ToAirAquacultureSystems.py +6 -9
  125. hestia_earth/models/pooreNemecek2018/nh3ToAirAquacultureSystems.py +11 -15
  126. hestia_earth/models/pooreNemecek2018/noxToAirAquacultureSystems.py +6 -9
  127. hestia_earth/models/site/defaultMethodClassification.py +0 -7
  128. hestia_earth/models/site/defaultMethodClassificationDescription.py +0 -7
  129. hestia_earth/models/site/flowingWater.py +0 -5
  130. hestia_earth/models/site/management.py +0 -21
  131. hestia_earth/models/site/measurement/value.py +0 -6
  132. hestia_earth/models/site/post_checks/country.py +0 -5
  133. hestia_earth/models/site/potentialEvapotranspirationAnnual.py +0 -3
  134. hestia_earth/models/site/potentialEvapotranspirationMonthly.py +0 -3
  135. hestia_earth/models/site/pre_checks/cache_geospatialDatabase.py +0 -5
  136. hestia_earth/models/site/pre_checks/cache_sources.py +0 -5
  137. hestia_earth/models/site/pre_checks/cache_years.py +0 -5
  138. hestia_earth/models/site/pre_checks/country.py +0 -5
  139. hestia_earth/models/site/precipitationAnnual.py +0 -3
  140. hestia_earth/models/site/precipitationMonthly.py +0 -3
  141. hestia_earth/models/site/rainfallAnnual.py +0 -3
  142. hestia_earth/models/site/rainfallMonthly.py +0 -3
  143. hestia_earth/models/site/soilMeasurement.py +2 -5
  144. hestia_earth/models/site/temperatureAnnual.py +0 -3
  145. hestia_earth/models/site/temperatureMonthly.py +0 -3
  146. hestia_earth/models/transformation/input/excreta.py +0 -5
  147. hestia_earth/models/transformation/input/max.py +0 -8
  148. hestia_earth/models/transformation/input/min.py +0 -8
  149. hestia_earth/models/transformation/input/properties.py +0 -6
  150. hestia_earth/models/transformation/input/sd.py +0 -8
  151. hestia_earth/models/transformation/input/value.py +0 -8
  152. hestia_earth/models/transformation/product/excreta.py +0 -7
  153. hestia_earth/models/utils/excretaManagement.py +37 -0
  154. hestia_earth/models/utils/lookup.py +2 -0
  155. hestia_earth/models/utils/measurement.py +1 -1
  156. hestia_earth/models/utils/practice.py +1 -27
  157. hestia_earth/models/utils/source.py +29 -9
  158. hestia_earth/models/version.py +1 -1
  159. hestia_earth/orchestrator/strategies/run/add_blank_node_if_missing.py +12 -8
  160. {hestia_earth_models-0.68.0.dist-info → hestia_earth_models-0.69.0.dist-info}/METADATA +2 -2
  161. {hestia_earth_models-0.68.0.dist-info → hestia_earth_models-0.69.0.dist-info}/RECORD +180 -188
  162. tests/models/emepEea2019/test_nh3ToAirExcreta.py +6 -17
  163. tests/models/hestia/test_nh3ToSurfaceWaterAquacultureSystems.py +51 -0
  164. tests/models/ipcc2019/test_aboveGroundBiomass.py +4 -0
  165. tests/models/ipcc2019/test_belowGroundBiomass.py +4 -0
  166. tests/models/ipcc2019/test_co2ToAirSoilOrganicCarbonStockChange.py +1 -1
  167. tests/models/ipcc2019/test_no3ToGroundwaterExcreta.py +24 -9
  168. tests/models/ipcc2019/test_organicCarbonPerHa.py +2 -2
  169. tests/models/ipcc2019/{test_organicCarbonPerHa_tier_1_utils.py → test_organicCarbonPerHa_tier_1.py} +2 -2
  170. tests/models/ipcc2019/{test_organicCarbonPerHa_tier_2_utils.py → test_organicCarbonPerHa_tier_2.py} +2 -2
  171. tests/models/pooreNemecek2018/test_ch4ToAirAquacultureSystems.py +1 -7
  172. tests/models/pooreNemecek2018/test_n2OToAirAquacultureSystemsDirect.py +1 -7
  173. tests/models/pooreNemecek2018/test_n2ToAirAquacultureSystems.py +1 -7
  174. tests/models/pooreNemecek2018/test_nh3ToAirAquacultureSystems.py +1 -7
  175. tests/models/pooreNemecek2018/test_noxToAirAquacultureSystems.py +1 -7
  176. tests/models/utils/test_source.py +6 -1
  177. tests/orchestrator/strategies/run/test_add_blank_node_if_missing.py +1 -1
  178. hestia_earth/models/blonkConsultants2016/__init__.py +0 -13
  179. hestia_earth/models/blonkConsultants2016/ch4ToAirNaturalVegetationBurning.py +0 -78
  180. hestia_earth/models/blonkConsultants2016/co2ToAirAboveGroundBiomassStockChangeLandUseChange.py +0 -78
  181. hestia_earth/models/blonkConsultants2016/n2OToAirNaturalVegetationBurningDirect.py +0 -78
  182. hestia_earth/models/blonkConsultants2016/utils.py +0 -30
  183. tests/models/blonkConsultants2016/__init__.py +0 -0
  184. tests/models/blonkConsultants2016/test_ch4ToAirNaturalVegetationBurning.py +0 -34
  185. tests/models/blonkConsultants2016/test_co2ToAirAboveGroundBiomassStockChangeLandUseChange.py +0 -36
  186. tests/models/blonkConsultants2016/test_n2OToAirNaturalVegetationBurningDirect.py +0 -34
  187. tests/models/blonkConsultants2016/test_utils.py +0 -9
  188. {hestia_earth_models-0.68.0.dist-info → hestia_earth_models-0.69.0.dist-info}/LICENSE +0 -0
  189. {hestia_earth_models-0.68.0.dist-info → hestia_earth_models-0.69.0.dist-info}/WHEEL +0 -0
  190. {hestia_earth_models-0.68.0.dist-info → hestia_earth_models-0.69.0.dist-info}/top_level.txt +0 -0
@@ -1,13 +1,3 @@
1
- """
2
- Cycle Pasture Grass
3
-
4
- This model estimates the energetic requirements of ruminants and can be used to estimate the amount of grass they graze.
5
- Source:
6
- [IPCC 2019, Vol.4, Chapter 10](https://www.ipcc-nggip.iges.or.jp/public/2019rf/pdf/4_Volume4/19R_V4_Ch10_Livestock.pdf).
7
-
8
- This version of the model will run at the Cycle level, if at least one Cycle Input is given as feed
9
- (see https://www.hestia.earth/schema/Input#isAnimalFeed).
10
- """
11
1
  from hestia_earth.schema import TermTermType
12
2
  from hestia_earth.utils.model import filter_list_term_type
13
3
  from hestia_earth.utils.tools import list_sum, non_empty_list
@@ -1,12 +1,3 @@
1
- """
2
- Above Ground Crop Residue
3
-
4
- This model returns the amounts and destinations of above ground crop residue, working in the following order:
5
- 1. [Above ground crop residue, removed](https://hestia.earth/term/aboveGroundCropResidueRemoved);
6
- 2. [Above ground crop residue, incorporated](https://hestia.earth/term/aboveGroundCropResidueIncorporated);
7
- 3. [Above ground crop residue, burnt](https://hestia.earth/term/aboveGroundCropResidueBurnt);
8
- 4. [Above ground crop residue, left on field](https://hestia.earth/term/aboveGroundCropResidueLeftOnField).
9
- """
10
1
  from functools import reduce
11
2
  from hestia_earth.utils.model import find_term_match
12
3
  from hestia_earth.utils.tools import flatten, list_sum, list_average
@@ -1,9 +1,3 @@
1
- """
2
- Residue
3
-
4
- Re-scale all [crop residue management](https://hestia.earth/glossary?termType=cropResidueManagement) Practices
5
- to make sure they all add up to 100%. Note: only practices added by HESTIA will be recalculated.
6
- """
7
1
  from hestia_earth.schema import TermTermType
8
2
  from hestia_earth.utils.model import filter_list_term_type
9
3
  from hestia_earth.utils.tools import list_sum
@@ -1,8 +1,3 @@
1
- """
2
- Emissions
3
-
4
- A model which takes recalculated data from an Impact Assessment linked to an Input in a Cycle.
5
- """
6
1
  from functools import reduce
7
2
  from hestia_earth.schema import EmissionMethodTier
8
3
  from hestia_earth.utils.lookup import download_lookup, get_table_value, column_name