hestia-earth-models 0.64.10__py3-none-any.whl → 0.64.12__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.

Potentially problematic release.


This version of hestia-earth-models might be problematic. Click here for more details.

Files changed (71) hide show
  1. hestia_earth/models/cml2001Baseline/eutrophicationPotentialExcludingFate.py +2 -2
  2. hestia_earth/models/cml2001Baseline/terrestrialAcidificationPotentialIncludingFateAverageEurope.py +2 -2
  3. hestia_earth/models/cml2001NonBaseline/eutrophicationPotentialIncludingFateAverageEurope.py +2 -2
  4. hestia_earth/models/cml2001NonBaseline/terrestrialAcidificationPotentialExcludingFate.py +2 -2
  5. hestia_earth/models/cycle/completeness/cropResidue.py +15 -10
  6. hestia_earth/models/cycle/completeness/freshForage.py +60 -0
  7. hestia_earth/models/cycle/concentrateFeed.py +31 -19
  8. hestia_earth/models/edip2003/ozoneDepletionPotential.py +2 -2
  9. hestia_earth/models/fantkeEtAl2016/damageToHumanHealthParticulateMatterFormation.py +7 -17
  10. hestia_earth/models/faostat2018/utils.py +72 -12
  11. hestia_earth/models/hestia/__init__.py +13 -0
  12. hestia_earth/models/hestia/landCover.py +725 -0
  13. hestia_earth/models/ipcc2013ExcludingFeedbacks/gwp100.py +2 -2
  14. hestia_earth/models/ipcc2013IncludingFeedbacks/gwp100.py +2 -2
  15. hestia_earth/models/ipcc2019/animal/fatContent.py +1 -1
  16. hestia_earth/models/ipcc2019/animal/milkYieldPerAnimal.py +91 -0
  17. hestia_earth/models/ipcc2019/animal/trueProteinContent.py +1 -1
  18. hestia_earth/models/ipcc2019/animal/utils.py +17 -12
  19. hestia_earth/models/ipcc2019/co2ToAirAboveGroundBiomassStockChange.py +8 -4
  20. hestia_earth/models/ipcc2019/co2ToAirBelowGroundBiomassStockChange.py +7 -3
  21. hestia_earth/models/ipcc2019/co2ToAirCarbonStockChange_utils.py +45 -3
  22. hestia_earth/models/ipcc2019/co2ToAirSoilOrganicCarbonStockChange.py +7 -3
  23. hestia_earth/models/ipcc2021/gwp100.py +2 -2
  24. hestia_earth/models/lcImpactAllEffects100Years/damageToFreshwaterEcosystemsClimateChange.py +2 -2
  25. hestia_earth/models/lcImpactAllEffects100Years/damageToHumanHealthClimateChange.py +2 -2
  26. hestia_earth/models/lcImpactAllEffects100Years/damageToHumanHealthStratosphericOzoneDepletion.py +2 -2
  27. hestia_earth/models/lcImpactAllEffects100Years/damageToTerrestrialEcosystemsClimateChange.py +2 -2
  28. hestia_earth/models/lcImpactAllEffectsInfinite/damageToFreshwaterEcosystemsClimateChange.py +2 -2
  29. hestia_earth/models/lcImpactAllEffectsInfinite/damageToHumanHealthClimateChange.py +2 -2
  30. hestia_earth/models/lcImpactAllEffectsInfinite/damageToHumanHealthStratosphericOzoneDepletion.py +2 -2
  31. hestia_earth/models/lcImpactAllEffectsInfinite/damageToTerrestrialEcosystemsClimateChange.py +2 -2
  32. hestia_earth/models/lcImpactCertainEffects100Years/damageToHumanHealthClimateChange.py +2 -2
  33. hestia_earth/models/lcImpactCertainEffects100Years/damageToHumanHealthStratosphericOzoneDepletion.py +2 -2
  34. hestia_earth/models/lcImpactCertainEffects100Years/damageToTerrestrialEcosystemsClimateChange.py +2 -2
  35. hestia_earth/models/lcImpactCertainEffectsInfinite/damageToHumanHealthClimateChange.py +2 -2
  36. hestia_earth/models/lcImpactCertainEffectsInfinite/damageToHumanHealthStratosphericOzoneDepletion.py +2 -2
  37. hestia_earth/models/lcImpactCertainEffectsInfinite/damageToTerrestrialEcosystemsClimateChange.py +2 -2
  38. hestia_earth/models/mocking/search-results.json +335 -335
  39. hestia_earth/models/recipe2016Egalitarian/ecosystemDamageOzoneFormation.py +2 -2
  40. hestia_earth/models/recipe2016Egalitarian/freshwaterEutrophicationPotential.py +2 -2
  41. hestia_earth/models/recipe2016Egalitarian/humanDamageOzoneFormation.py +2 -2
  42. hestia_earth/models/recipe2016Egalitarian/marineEutrophicationPotential.py +2 -2
  43. hestia_earth/models/recipe2016Egalitarian/ozoneDepletionPotential.py +2 -2
  44. hestia_earth/models/recipe2016Egalitarian/terrestrialAcidificationPotential.py +2 -2
  45. hestia_earth/models/recipe2016Hierarchist/ecosystemDamageOzoneFormation.py +2 -2
  46. hestia_earth/models/recipe2016Hierarchist/freshwaterEutrophicationPotential.py +2 -2
  47. hestia_earth/models/recipe2016Hierarchist/humanDamageOzoneFormation.py +2 -2
  48. hestia_earth/models/recipe2016Hierarchist/marineEutrophicationPotential.py +2 -2
  49. hestia_earth/models/recipe2016Hierarchist/ozoneDepletionPotential.py +2 -2
  50. hestia_earth/models/recipe2016Hierarchist/terrestrialAcidificationPotential.py +2 -2
  51. hestia_earth/models/recipe2016Individualist/ecosystemDamageOzoneFormation.py +2 -2
  52. hestia_earth/models/recipe2016Individualist/freshwaterEutrophicationPotential.py +2 -2
  53. hestia_earth/models/recipe2016Individualist/humanDamageOzoneFormation.py +2 -2
  54. hestia_earth/models/recipe2016Individualist/marineEutrophicationPotential.py +2 -2
  55. hestia_earth/models/recipe2016Individualist/ozoneDepletionPotential.py +2 -2
  56. hestia_earth/models/recipe2016Individualist/terrestrialAcidificationPotential.py +2 -2
  57. hestia_earth/models/utils/impact_assessment.py +18 -8
  58. hestia_earth/models/utils/lookup.py +2 -1
  59. hestia_earth/models/version.py +1 -1
  60. {hestia_earth_models-0.64.10.dist-info → hestia_earth_models-0.64.12.dist-info}/METADATA +2 -2
  61. {hestia_earth_models-0.64.10.dist-info → hestia_earth_models-0.64.12.dist-info}/RECORD +71 -62
  62. tests/models/cycle/completeness/test_freshForage.py +21 -0
  63. tests/models/faostat2018/test_faostat_utils.py +84 -0
  64. tests/models/hestia/__init__.py +0 -0
  65. tests/models/hestia/test_landCover.py +209 -0
  66. tests/models/ipcc2019/animal/test_milkYieldPerAnimal.py +21 -0
  67. tests/models/ipcc2019/test_co2ToAirSoilOrganicCarbonStockChange.py +48 -1
  68. tests/models/utils/test_impact_assessment.py +3 -3
  69. {hestia_earth_models-0.64.10.dist-info → hestia_earth_models-0.64.12.dist-info}/LICENSE +0 -0
  70. {hestia_earth_models-0.64.10.dist-info → hestia_earth_models-0.64.12.dist-info}/WHEEL +0 -0
  71. {hestia_earth_models-0.64.10.dist-info → hestia_earth_models-0.64.12.dist-info}/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  from hestia_earth.models.log import logRequirements, logShouldRun
2
2
  from hestia_earth.models.utils.indicator import _new_indicator
3
- from hestia_earth.models.utils.impact_assessment import impact_lookup_value
3
+ from hestia_earth.models.utils.impact_assessment import impact_emission_lookup_value
4
4
  from . import MODEL
5
5
 
6
6
  REQUIREMENTS = {
@@ -26,7 +26,7 @@ def _indicator(value: float):
26
26
 
27
27
 
28
28
  def run(impact_assessment: dict):
29
- value = impact_lookup_value(MODEL, TERM_ID, impact_assessment, LOOKUPS['emission'])
29
+ value = impact_emission_lookup_value(MODEL, TERM_ID, impact_assessment, LOOKUPS['emission'])
30
30
  logRequirements(impact_assessment, model=MODEL, term=TERM_ID,
31
31
  value=value)
32
32
  logShouldRun(impact_assessment, MODEL, TERM_ID, True)
@@ -1,6 +1,6 @@
1
1
  from hestia_earth.models.log import logRequirements, logShouldRun
2
2
  from hestia_earth.models.utils.indicator import _new_indicator
3
- from hestia_earth.models.utils.impact_assessment import impact_lookup_value
3
+ from hestia_earth.models.utils.impact_assessment import impact_emission_lookup_value
4
4
  from . import MODEL
5
5
 
6
6
  REQUIREMENTS = {
@@ -26,7 +26,7 @@ def _indicator(value: float):
26
26
 
27
27
 
28
28
  def run(impact_assessment: dict):
29
- value = impact_lookup_value(MODEL, TERM_ID, impact_assessment, LOOKUPS['emission'])
29
+ value = impact_emission_lookup_value(MODEL, TERM_ID, impact_assessment, LOOKUPS['emission'])
30
30
  logRequirements(impact_assessment, model=MODEL, term=TERM_ID,
31
31
  value=value)
32
32
  logShouldRun(impact_assessment, MODEL, TERM_ID, True)