hestia-earth-models 0.73.6__py3-none-any.whl → 0.73.8__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 (64) hide show
  1. hestia_earth/models/config/Cycle.json +116 -26
  2. hestia_earth/models/config/ImpactAssessment.json +239 -199
  3. hestia_earth/models/dammgen2009/noxToAirExcreta.py +11 -9
  4. hestia_earth/models/ecoalimV9/cycle.py +29 -39
  5. hestia_earth/models/ecoalimV9/impact_assessment.py +38 -40
  6. hestia_earth/models/ecoalimV9/utils.py +82 -16
  7. hestia_earth/models/ecoinventV3/__init__.py +3 -3
  8. hestia_earth/models/emepEea2019/n2OToAirFuelCombustionDirect.py +2 -2
  9. hestia_earth/models/hestia/default_emissions.py +2 -6
  10. hestia_earth/models/hestia/default_resourceUse.py +2 -5
  11. hestia_earth/models/hestia/landCover.py +3 -3
  12. hestia_earth/models/hestia/pastureSystem.py +1 -1
  13. hestia_earth/models/hestia/seed_emissions.py +7 -3
  14. hestia_earth/models/impact_assessment/emissions.py +3 -5
  15. hestia_earth/models/ipcc2019/biocharOrganicCarbonPerHa.py +9 -3
  16. hestia_earth/models/ipcc2019/co2ToAirAboveGroundBiomassStockChange.py +1 -5
  17. hestia_earth/models/ipcc2019/co2ToAirBelowGroundBiomassStockChange.py +1 -5
  18. hestia_earth/models/ipcc2019/co2ToAirCarbonStockChange_utils.py +1 -33
  19. hestia_earth/models/ipcc2019/co2ToAirSoilOrganicCarbonStockChange.py +1 -5
  20. hestia_earth/models/ipcc2019/n2OToAirAquacultureSystemsIndirect.py +44 -0
  21. hestia_earth/models/ipcc2019/n2OToAirCropResidueBurningIndirect.py +43 -0
  22. hestia_earth/models/ipcc2019/n2OToAirCropResidueDecompositionIndirect.py +13 -70
  23. hestia_earth/models/ipcc2019/n2OToAirExcretaIndirect.py +13 -70
  24. hestia_earth/models/ipcc2019/n2OToAirFuelCombustionIndirect.py +43 -0
  25. hestia_earth/models/ipcc2019/n2OToAirInorganicFertiliserIndirect.py +13 -70
  26. hestia_earth/models/ipcc2019/n2OToAirNaturalVegetationBurningIndirect.py +43 -0
  27. hestia_earth/models/ipcc2019/n2OToAirOrganicFertiliserIndirect.py +13 -70
  28. hestia_earth/models/ipcc2019/n2OToAirOrganicSoilBurningIndirect.py +43 -0
  29. hestia_earth/models/ipcc2019/n2OToAirOrganicSoilCultivationIndirect.py +43 -0
  30. hestia_earth/models/ipcc2019/n2OToAir_indirect_emissions_utils.py +112 -0
  31. hestia_earth/models/ipcc2019/utils.py +0 -25
  32. hestia_earth/models/jarvisAndPain1994/n2ToAirExcreta.py +11 -9
  33. hestia_earth/models/linkedImpactAssessment/emissions.py +24 -15
  34. hestia_earth/models/linkedImpactAssessment/utils.py +5 -1
  35. hestia_earth/models/mocking/search-results.json +1284 -1284
  36. hestia_earth/models/utils/background_emissions.py +17 -10
  37. hestia_earth/models/utils/emission.py +18 -8
  38. hestia_earth/models/utils/impact_assessment.py +3 -3
  39. hestia_earth/models/utils/indicator.py +8 -1
  40. hestia_earth/models/utils/lookup.py +38 -21
  41. hestia_earth/models/utils/productivity.py +1 -1
  42. hestia_earth/models/version.py +1 -1
  43. hestia_earth/orchestrator/strategies/merge/merge_list.py +41 -54
  44. {hestia_earth_models-0.73.6.dist-info → hestia_earth_models-0.73.8.dist-info}/METADATA +3 -3
  45. {hestia_earth_models-0.73.6.dist-info → hestia_earth_models-0.73.8.dist-info}/RECORD +64 -49
  46. tests/models/dammgen2009/test_noxToAirExcreta.py +2 -2
  47. tests/models/ecoalimV9/test_cycle.py +1 -1
  48. tests/models/ecoalimV9/test_impact_assessment.py +1 -1
  49. tests/models/ecoalimV9/test_utils.py +13 -0
  50. tests/models/ipcc2019/test_biocharOrganicCarbonPerHa.py +2 -1
  51. tests/models/ipcc2019/test_n2OToAirAquacultureSystemsIndirect.py +45 -0
  52. tests/models/ipcc2019/test_n2OToAirCropResidueBurningIndirect.py +45 -0
  53. tests/models/ipcc2019/test_n2OToAirCropResidueDecompositionIndirect.py +6 -32
  54. tests/models/ipcc2019/test_n2OToAirExcretaIndirect.py +6 -32
  55. tests/models/ipcc2019/test_n2OToAirFuelCombustionIndirect.py +45 -0
  56. tests/models/ipcc2019/test_n2OToAirInorganicFertiliserIndirect.py +6 -32
  57. tests/models/ipcc2019/test_n2OToAirNaturalVegetationBurningIndirect.py +45 -0
  58. tests/models/ipcc2019/test_n2OToAirOrganicFertiliserIndirect.py +6 -32
  59. tests/models/ipcc2019/test_n2OToAirOrganicSoilBurningIndirect.py +45 -0
  60. tests/models/ipcc2019/test_n2OToAirOrganicSoilCultivationIndirect.py +45 -0
  61. tests/models/ipcc2019/test_n2OToAir_indirect_emissions_utils.py +19 -0
  62. {hestia_earth_models-0.73.6.dist-info → hestia_earth_models-0.73.8.dist-info}/LICENSE +0 -0
  63. {hestia_earth_models-0.73.6.dist-info → hestia_earth_models-0.73.8.dist-info}/WHEEL +0 -0
  64. {hestia_earth_models-0.73.6.dist-info → hestia_earth_models-0.73.8.dist-info}/top_level.txt +0 -0
@@ -5,7 +5,7 @@ hestia_earth/models/cache_sites.py,sha256=XpXnkYt823PQzrswgP__L4CT8xZG_n7a41CIHK
5
5
  hestia_earth/models/log.py,sha256=eRuH86v7Thuw-QXdKqaqVmA_MkwnOCo0UBEwtuDq4Oc,3554
6
6
  hestia_earth/models/preload_requests.py,sha256=vK_G1UzhNMhYy7ymnCtHUz_vv3cfApCSKqv29VREEBQ,1943
7
7
  hestia_earth/models/requirements.py,sha256=eU4yT443fx7BnaokhrLB_PCizJI7Y6m4auyo8vQauNg,17363
8
- hestia_earth/models/version.py,sha256=gitCsBIWkcodAN8Lqch7WqL2CaXjTfpeoB_0nJ451NM,19
8
+ hestia_earth/models/version.py,sha256=RjO6hNJ9JTVFwVNMGHDNmvua92wU_hvx1vjlQtMYN6s,19
9
9
  hestia_earth/models/agribalyse2016/__init__.py,sha256=WvK0qCQbnYtg9oZxrACd1wGormZyXibPtpCnIQeDqbw,415
10
10
  hestia_earth/models/agribalyse2016/fuelElectricity.py,sha256=1ngl8pdxeNhlVV8keAeWRwGorr_1uFXM9EoPUWx-uSc,4382
11
11
  hestia_earth/models/agribalyse2016/machineryInfrastructureDepreciatedAmountPerCycle.py,sha256=queToXuzq0tQ9_XuUJ2pJgSywXmbt9uX3ZoIKgqkROM,2660
@@ -35,8 +35,8 @@ hestia_earth/models/cml2001Baseline/terrestrialAcidificationPotentialIncludingFa
35
35
  hestia_earth/models/cml2001NonBaseline/__init__.py,sha256=vI8wp8Og_e8DiJqYYvp33YoI3t4ffAC31LWlnV20JTg,419
36
36
  hestia_earth/models/cml2001NonBaseline/eutrophicationPotentialIncludingFateAverageEurope.py,sha256=lcgyRHY08KCBFPERJNqV4DYGEJCvyHBDnJXD0kEkVqM,1097
37
37
  hestia_earth/models/cml2001NonBaseline/terrestrialAcidificationPotentialExcludingFate.py,sha256=xcrxfs9UoV_EWvV-XzMt35oPWCUsTzqg2SGA3j2MFIw,1091
38
- hestia_earth/models/config/Cycle.json,sha256=DSwKJd-5UX4Lnt3C3sHeYKHh6Zr2Fe-RgTas2DoDTGA,57840
39
- hestia_earth/models/config/ImpactAssessment.json,sha256=VLkGnDNGLilYK2410STpB63MO_hzOQCaY6QgUcvJLz0,60323
38
+ hestia_earth/models/config/Cycle.json,sha256=sS1OhNU_2-jQYKXOMsAEA4QMGF2CPlM-vxBQhLUshsM,60324
39
+ hestia_earth/models/config/ImpactAssessment.json,sha256=UsjAlJIgF74aG_MIwhlD3kZ1aAQwEy9d1lpltsVWS7I,60297
40
40
  hestia_earth/models/config/Site.json,sha256=4DPSziHnDIngyub3Of8OvDEKa446q3Yx48R2Eobqk24,14374
41
41
  hestia_earth/models/config/__init__.py,sha256=l1WqL7ezlank86ABP4zUia_hIvM9ba-sOE3z6wNrea8,2333
42
42
  hestia_earth/models/config/run-calculations.json,sha256=e3nJ4M6CP1iFzfv8ou_ZUFbFxYkDxJgwuNDXTm4PBDc,615
@@ -93,16 +93,16 @@ hestia_earth/models/cycle/product/revenue.py,sha256=BYuzhdWw0VQGhOwshy6FPwtJ-OKQ
93
93
  hestia_earth/models/cycle/product/utils.py,sha256=nCQIFgwfI4meSRftV9v4vuxKAy3uUtShpN1pr2mywCw,359
94
94
  hestia_earth/models/cycle/product/value.py,sha256=JYHlfmOakU1xgDcgGWc78WzRd50HYqWHJGkIhGfLdnc,1431
95
95
  hestia_earth/models/dammgen2009/__init__.py,sha256=dZ8tIXl6e3ZEixYrWiW7rzoqRJVFOoxi4RPvM3N0L1E,412
96
- hestia_earth/models/dammgen2009/noxToAirExcreta.py,sha256=Zy_7MybvSH-vYJg4ajQzQhDx0Ji9Av-bKtJVKR7pAUM,1523
96
+ hestia_earth/models/dammgen2009/noxToAirExcreta.py,sha256=LeTrgk4I1S8kNseNKXVYnn3VPyz2D2N_22S6Dsf29zA,1632
97
97
  hestia_earth/models/data/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
98
98
  hestia_earth/models/data/ecoinventV3/__init__.py,sha256=DK1avgh58KlsUJY4nOTAaRlKsISJF4MOrrxdByHDr4o,1240
99
99
  hestia_earth/models/deRuijterEtAl2010/__init__.py,sha256=lbH6mB98dmZZlwdZctNYtEmVwAow957l80Dv7JSPDsI,418
100
100
  hestia_earth/models/deRuijterEtAl2010/nh3ToAirCropResidueDecomposition.py,sha256=2z10WqMsGUDDO8xJ3lmXvSUHgzz2t6PPRDha5NHoT5s,3291
101
101
  hestia_earth/models/ecoalimV9/__init__.py,sha256=_evwL-DZejYohms9PUi4TNqLic44-UbOzw178wak7Pk,410
102
- hestia_earth/models/ecoalimV9/cycle.py,sha256=szYlf0ri_QURkBsMHmLiiwuh1w1Lea6RFYp-FzImV0o,4832
103
- hestia_earth/models/ecoalimV9/impact_assessment.py,sha256=1TmGamdh_Omfasv7ZYctNPwOUEJ8dn7MyjXNUpupyGw,4614
104
- hestia_earth/models/ecoalimV9/utils.py,sha256=AWmWQhjvze3J6s35bH-EQIGc58xCeMA8_56hQD7CX8A,1170
105
- hestia_earth/models/ecoinventV3/__init__.py,sha256=YWgl_9REghCgd2BjpOrsTRIJOFOT2ZuWH1jFnhGMWGs,5766
102
+ hestia_earth/models/ecoalimV9/cycle.py,sha256=qsfr1U7A7VWT2QlBlIXGCZe6UU0MPZxkzhE6NXO_FhE,4282
103
+ hestia_earth/models/ecoalimV9/impact_assessment.py,sha256=Y_8oFr5kZ8aCCHKKrF2-AhoxWge9L9ox0EIloWnTAG8,4320
104
+ hestia_earth/models/ecoalimV9/utils.py,sha256=Qqcl3y3qgKgpvtqZymKiCFSOWBt70S99m-EXb40Uyvg,3426
105
+ hestia_earth/models/ecoinventV3/__init__.py,sha256=VSnrjvUTr4Ig_0IQCCvMCyp5W1n3TK_DTFVb0uEkbYw,5736
106
106
  hestia_earth/models/ecoinventV3/utils.py,sha256=RxqaHB9hr0RdTKSjfvDN0pC8DIOyxMCr4I_xjas1POw,460
107
107
  hestia_earth/models/ecoinventV3AndEmberClimate/__init__.py,sha256=fSFKMzDDRJi8OvKdhRMFRrGcD07hWDNMTjDa-_Yp-C0,5951
108
108
  hestia_earth/models/ecoinventV3AndEmberClimate/utils.py,sha256=6niH2MArBK4KFzW-PeT09RZJElDtb-ILWqBEMU1SqXA,1141
@@ -110,7 +110,7 @@ hestia_earth/models/edip2003/__init__.py,sha256=nyB0CI2gNmRAXj-203aJHQMmETYhcY-d
110
110
  hestia_earth/models/edip2003/ozoneDepletionPotential.py,sha256=YkBct4eDUidGukaVdd2iaEouq_FckuG8l_7pgBQgCBw,1033
111
111
  hestia_earth/models/emepEea2019/__init__.py,sha256=l90-pWrqIzt1ap1WNk0gF4iZeF5_TSG62hE83bIi4rQ,412
112
112
  hestia_earth/models/emepEea2019/co2ToAirFuelCombustion.py,sha256=TPzbKxV-AZ9yx_tJNGhuNsfRJQNfH4a0JEtPGLKc-tA,1833
113
- hestia_earth/models/emepEea2019/n2OToAirFuelCombustionDirect.py,sha256=y0N_GhixisN6ScfKCpahrZe2CWOwl9ayDesO_erXX68,1839
113
+ hestia_earth/models/emepEea2019/n2OToAirFuelCombustionDirect.py,sha256=HwagFnpCAeAqf-xm-J2AlVfbkFcC4j9VffOQJcYWlGk,1839
114
114
  hestia_earth/models/emepEea2019/nh3ToAirExcreta.py,sha256=DssSjl_Kug9jE5laqJs9X4xOdOrJBnsXSnk-uA_anyE,2153
115
115
  hestia_earth/models/emepEea2019/nh3ToAirInorganicFertiliser.py,sha256=7G0_S0G6X9slTykxs6CDb68DvtXB7yfq1iSKg0ReXS8,6036
116
116
  hestia_earth/models/emepEea2019/noxToAirFuelCombustion.py,sha256=OlrCPBuOBGlvPh_ufO8fFzSvxvkJduX7tlqzEab6qzs,1833
@@ -192,8 +192,8 @@ hestia_earth/models/hestia/coldDressedCarcassWeightPerHead.py,sha256=NE1aw4-rmKs
192
192
  hestia_earth/models/hestia/concentrateFeed.py,sha256=HnuG3zAECtFVdPRbTATGz5ImO2Ve1NruqD8brbrO2c4,6647
193
193
  hestia_earth/models/hestia/cropResidueManagement.py,sha256=VlubB0q5MtvBM2dQSWdrENBMOYpvFbGu36TEwxoDl7A,2301
194
194
  hestia_earth/models/hestia/croppingIntensity.py,sha256=xev3GOE06nBJ8ZY3XtbnE0eR2YR_kqAFPnrTuKFtLrQ,1777
195
- hestia_earth/models/hestia/default_emissions.py,sha256=BJkdwoKMWSBdWD0XE55Oc1qbvuZzu7ulBczMgTolOCI,3457
196
- hestia_earth/models/hestia/default_resourceUse.py,sha256=BG7DouJDIr9JP_LPRSFwv9rb-dDsnJxn2xWFGg8fAHA,3724
195
+ hestia_earth/models/hestia/default_emissions.py,sha256=b_7i0tHuNyKZWbIX0-ARcpbLfFRKI0HjVwPnGBsDKxw,3356
196
+ hestia_earth/models/hestia/default_resourceUse.py,sha256=LQ-pTxLWI-34B1kaxCwvCj-3RzBbR5cIRYzik_POTn0,3689
197
197
  hestia_earth/models/hestia/energyContentLowerHeatingValue.py,sha256=2gR7Iu5nUUCGSXjFrkTnss6XBGtQz-yKwexCQoy8TJU,2214
198
198
  hestia_earth/models/hestia/excretaKgMass.py,sha256=pBhD3I2NPjJ-Dbnp_P508J7OCLI_fxOAyTi_wKtrkcg,4017
199
199
  hestia_earth/models/hestia/excretaKgN.py,sha256=J2TuRGzA8KHDgsRnZflF8LMcd8993YPguY-cdbQOJ8Y,2878
@@ -203,7 +203,7 @@ hestia_earth/models/hestia/freshWater.py,sha256=Q-dmFJLZfyYEyFyYkJUOjgmQR3G5YXCX
203
203
  hestia_earth/models/hestia/histosol.py,sha256=IexiWTSlSJYGjrdpYmRooW6v8LjhYATPQ8smMz1UZBA,1612
204
204
  hestia_earth/models/hestia/inorganicFertiliser.py,sha256=We4PBaTXyGwEQTfhX0-J8Xt03p-FB9i9j3tEK5JQ8uE,9026
205
205
  hestia_earth/models/hestia/irrigatedTypeUnspecified.py,sha256=VdYzfYxcRzWv21qxRkDn9HBid7-Bt_CgIv4iyXJH03g,1929
206
- hestia_earth/models/hestia/landCover.py,sha256=VI3DiDxbdHe54S47ixO4PIPyGVtt-Hw_QRScQokOEVo,35569
206
+ hestia_earth/models/hestia/landCover.py,sha256=MIW2-zOlIL4SVt5Ti8kO30HM4W6PJns2azvqsx8YANM,35513
207
207
  hestia_earth/models/hestia/landTransformation100YearAverageDuringCycle.py,sha256=hF7_DDvrs7swH6ott_ihgYx13UzEKHH6pccYCtzrN8o,1069
208
208
  hestia_earth/models/hestia/landTransformation20YearAverageDuringCycle.py,sha256=05SCH6ZjEV3mIleRusBg677zu0xgu5YK0f9FCddgNPg,1067
209
209
  hestia_earth/models/hestia/liveAnimal.py,sha256=d7HuUi40c-7TN1kecdRuqbht8PAe7x4ps0NhSuWG34Q,3868
@@ -219,7 +219,7 @@ hestia_earth/models/hestia/organicMatterPerKgSoil.py,sha256=fJpFVkpuCjnrBhgV0Rtw
219
219
  hestia_earth/models/hestia/organicMatterPerM3Soil.py,sha256=FTNc0FKnWt91BvbsIrBx_0SoGfuqnAC0AlTUL5RvzZ8,1945
220
220
  hestia_earth/models/hestia/pToSurfaceWaterAquacultureSystems.py,sha256=K-Remsxa3FG2OVNPioPO2PgwVJ608XoizHGyQTGCWuI,5528
221
221
  hestia_earth/models/hestia/pastureGrass.py,sha256=2k3wvHDozW4cHW5JpmRvMOitA1x-80OIhRHhnRC1e0s,1275
222
- hestia_earth/models/hestia/pastureSystem.py,sha256=Cremfv1q55pX1U1FYNvLz8gvZ-DX33o4P_i4VEfJsKo,2573
222
+ hestia_earth/models/hestia/pastureSystem.py,sha256=DBI82HT5qZftlZx_Zsp7_baEEXysLhUnxnpGXB1IQho,2584
223
223
  hestia_earth/models/hestia/potentialEvapotranspirationAnnual.py,sha256=FTMY7fjTg1Z4owSoXrxDKpWaIpVUm5HQ47jz4EdcQqU,2011
224
224
  hestia_earth/models/hestia/potentialEvapotranspirationMonthly.py,sha256=UCjpq7pqkCYrrFoPSZKq2Pqt3t9OhYfcj-8dIm0Ta_M,1890
225
225
  hestia_earth/models/hestia/precipitationAnnual.py,sha256=ypAkk627MeiJGi_qAa03m57J17wndhCkzpIlcqnz0H8,1969
@@ -233,7 +233,7 @@ hestia_earth/models/hestia/residueLeftOnField.py,sha256=EZoPlDhh1aNJvPT52Bvro6xc
233
233
  hestia_earth/models/hestia/residueRemoved.py,sha256=2I4wTJJcORrhkWiRJOzjwxRMIn3Jjeggh1dhFC2CK4Y,4969
234
234
  hestia_earth/models/hestia/resourceUse_utils.py,sha256=SYMN-40NW76LaVo2jVdnCbTgYN03mmSqvYRzgDzm5jI,8564
235
235
  hestia_earth/models/hestia/salineWater.py,sha256=rqiF3KfjvvNx3sxWFiXsP1_e5aB3ekA4QGC8vtcFHmo,1270
236
- hestia_earth/models/hestia/seed_emissions.py,sha256=kP1VPDDm5M6EOOFyKhEI3L5GuUuKb7-4ni_WXrB-nSU,11930
236
+ hestia_earth/models/hestia/seed_emissions.py,sha256=1TxXfDjtIYS7yEZLDs70j6D3-x-68K9KZQGwHIBl7EE,12107
237
237
  hestia_earth/models/hestia/soilMeasurement.py,sha256=cP4nuz2DE-FLaFbP-0fG5wbIgU28s3n4-lo8-RTFpF0,7088
238
238
  hestia_earth/models/hestia/stockingDensityAnimalHousingAverage.py,sha256=WIRmBSTk70Dffm_KcbTqpAhtnrV4rzl_m0gKED5NIAo,1844
239
239
  hestia_earth/models/hestia/temperatureAnnual.py,sha256=IhMoO-SkSp1JBxgu9bSr1OCtr7QQlZsoCXqhsWeEprs,1963
@@ -251,7 +251,7 @@ hestia_earth/models/hestia/feedConversionRatio/feedConversionRatioFedWeight.py,s
251
251
  hestia_earth/models/hestia/feedConversionRatio/feedConversionRatioNitrogen.py,sha256=RV7lLd4PiFRCkH83-DvuZKnOCA9bXbYOcDHea8Wz4LY,2603
252
252
  hestia_earth/models/impact_assessment/__init__.py,sha256=B6UO8z3NR6JjIycyT7adZbnNKcBC49qnF2bOhVcufy4,355
253
253
  hestia_earth/models/impact_assessment/allocationMethod.py,sha256=x52IjSmyu8vSyr9_IfMzF00w_DcQyav4WBqnHOdkJHA,1090
254
- hestia_earth/models/impact_assessment/emissions.py,sha256=6oimd954XEcIw5A-MZAQksrNd0v81MQ_z97KQjDM_mA,3859
254
+ hestia_earth/models/impact_assessment/emissions.py,sha256=RquAfyIbuCaDKEfJVXs762twBOVRf8q38LoQOYP9AUI,3762
255
255
  hestia_earth/models/impact_assessment/irrigated.py,sha256=syD3r4wykOHnC9PC-J67QXlWHnJ6K6MjTC2InccWxXI,674
256
256
  hestia_earth/models/impact_assessment/organic.py,sha256=FtYco3NwhSJEsMjjK_JDRyxwuSoKH_8y17x-RBl3exM,645
257
257
  hestia_earth/models/impact_assessment/post_checks/__init__.py,sha256=rkHO4Z3Zz8LCT1OoDgHmUuGURvXsdzh2nQqgU2M4tjU,304
@@ -285,7 +285,7 @@ hestia_earth/models/ipcc2019/aboveGroundBiomass.py,sha256=T50NcJoyGrHYUSzJBXJKAO
285
285
  hestia_earth/models/ipcc2019/aboveGroundCropResidueTotal.py,sha256=lT2QVV5c2LvQqZRfPEvFT_bMTayMXgIsFLnx8I6iYzw,3089
286
286
  hestia_earth/models/ipcc2019/belowGroundBiomass.py,sha256=WN3R5kUIc5Ij4HxMFcTGKeNRoPChRY6ws0x3nQNeEMw,19421
287
287
  hestia_earth/models/ipcc2019/belowGroundCropResidue.py,sha256=qbfsLBPaMIt4oQzYAzbsZdkJozTbwuztNr48TLYC5-Y,3507
288
- hestia_earth/models/ipcc2019/biocharOrganicCarbonPerHa.py,sha256=--qSO-v0X6qlti5NmUD5bcjGpf4tX352vPVDU0ECAI0,13276
288
+ hestia_earth/models/ipcc2019/biocharOrganicCarbonPerHa.py,sha256=6zZOhhDIJVfvvsJfoyBtZsM4akWizQUciVnKHlufMnA,13414
289
289
  hestia_earth/models/ipcc2019/biomass_utils.py,sha256=NkTPGMl-0tqvhUZKZ1rxW0XTBnZOvgFJki_IPzEEyu0,15796
290
290
  hestia_earth/models/ipcc2019/carbonContent.py,sha256=XhXDu6DRQxANBsRsCEgw4f0UJDOgWsvhVyEwK1-4YT0,7263
291
291
  hestia_earth/models/ipcc2019/ch4ToAirAquacultureSystems.py,sha256=JeyF4tUPn3KIDbXwgM_MFp18hnTZjLBBqMFMH_ciZ1Q,3529
@@ -293,25 +293,32 @@ hestia_earth/models/ipcc2019/ch4ToAirEntericFermentation.py,sha256=b9FIMIGMGcpOh
293
293
  hestia_earth/models/ipcc2019/ch4ToAirExcreta.py,sha256=4GI_d4sTlskQiSK7xR2f1EaFhBt5Mu7sx0Xq9eUhiJk,6608
294
294
  hestia_earth/models/ipcc2019/ch4ToAirFloodedRice.py,sha256=26WZtckmb7b3sbUN7hpshEdaSdvJpL3-Oer60III_KU,10225
295
295
  hestia_earth/models/ipcc2019/ch4ToAirOrganicSoilCultivation.py,sha256=oXK35mLD6rkHG0Zv5F0Atyn0OxQgwuUs6Pkr7E7_qcg,9544
296
- hestia_earth/models/ipcc2019/co2ToAirAboveGroundBiomassStockChange.py,sha256=YRNjJgi_aBKwi-nDd0b20w3ebQ33vNgdf4zCLyTFcBw,6516
297
- hestia_earth/models/ipcc2019/co2ToAirBelowGroundBiomassStockChange.py,sha256=5HdFdHkvMdwmA4ppSqbrAoASQaSX-Znq7WZqAaekqjk,6564
298
- hestia_earth/models/ipcc2019/co2ToAirCarbonStockChange_utils.py,sha256=xatfT3BQU4mHW8aIk4uJwWtsOyAIH2VtlKS46xSPWCU,58508
296
+ hestia_earth/models/ipcc2019/co2ToAirAboveGroundBiomassStockChange.py,sha256=cA7COPsb8WFDiObqaxm1MQfUVLvkq9-jZSm1UtrVUaI,6414
297
+ hestia_earth/models/ipcc2019/co2ToAirBelowGroundBiomassStockChange.py,sha256=MNX8uNxLfzwy8j3EchD0KqLXsXoMz7bA2Rma1djXqi0,6462
298
+ hestia_earth/models/ipcc2019/co2ToAirCarbonStockChange_utils.py,sha256=c8UIroBrVT7V8bEGiZ4MirnZiofWZrnRREfUX4WVT58,57220
299
299
  hestia_earth/models/ipcc2019/co2ToAirLimeHydrolysis.py,sha256=X3-M4Mn3fdGsUR7ZGjBXXWrPFBGD1ipV8_4O94lB7Z8,2487
300
300
  hestia_earth/models/ipcc2019/co2ToAirOrganicSoilCultivation.py,sha256=PvWxWlIQiDy-PvaZH9GqKD8GYiE6Vrkypkr-zWKY2bY,7609
301
- hestia_earth/models/ipcc2019/co2ToAirSoilOrganicCarbonStockChange.py,sha256=4aRBzNpDNSw20IKNzz7zOq28sorrJUB5gxmHemgOZT0,6576
301
+ hestia_earth/models/ipcc2019/co2ToAirSoilOrganicCarbonStockChange.py,sha256=zKNYGiebIOmI3L4yMKUq41hF4_lVyfWwxCdeqp7XP3A,6474
302
302
  hestia_earth/models/ipcc2019/co2ToAirUreaHydrolysis.py,sha256=P6OxdUbvONaTVGchvogEnGeNxox-X1FaZ08yOdqqm6k,3879
303
303
  hestia_earth/models/ipcc2019/croppingDuration.py,sha256=X2fuBCr-mspLwJUGOlVis9lnyzdZ92vYqgDA6dgL5eo,3088
304
304
  hestia_earth/models/ipcc2019/ligninContent.py,sha256=nAhwrl0b3pbGQnAycEESAzakdpXajONTnbhNwgPR7nw,7293
305
+ hestia_earth/models/ipcc2019/n2OToAirAquacultureSystemsIndirect.py,sha256=0LzQV6sRw4nnvu4mqJ1M7I0OVLkHCM14Hk1mN337ZyA,1433
305
306
  hestia_earth/models/ipcc2019/n2OToAirCropResidueBurningDirect.py,sha256=6oMiix-1_dV5L99NEIKnxHcPrp8k-D1MzO5QDmvtC_o,1754
307
+ hestia_earth/models/ipcc2019/n2OToAirCropResidueBurningIndirect.py,sha256=rbdO80nqogRXZmeanomMTXe8Ytdu51wbDuV7wQV2iOk,1301
306
308
  hestia_earth/models/ipcc2019/n2OToAirCropResidueDecompositionDirect.py,sha256=Fand7NbT27unwgFTxi_9NxT024s63vQ7U6-tk9yp3d8,3990
307
- hestia_earth/models/ipcc2019/n2OToAirCropResidueDecompositionIndirect.py,sha256=_Oj6Jw8F4rce7FmhWkzeqyB7W3ZQWpOiA10p6xrfSwc,3777
309
+ hestia_earth/models/ipcc2019/n2OToAirCropResidueDecompositionIndirect.py,sha256=xPim8NrHV-4LJhLFRpf1ri53CqAU92-Zvg5huk1U3EY,1429
308
310
  hestia_earth/models/ipcc2019/n2OToAirExcretaDirect.py,sha256=RW_aFY409kplCYWo3oHHVk9FD3DkoEnGkprU9SaTdcw,2196
309
- hestia_earth/models/ipcc2019/n2OToAirExcretaIndirect.py,sha256=9IDV96R9EIEVLIugPcSRY0oeecwk_Rpdn-Tvb01UyWY,3646
311
+ hestia_earth/models/ipcc2019/n2OToAirExcretaIndirect.py,sha256=0S3BOz7Tbnp6K2ijM1PVKBcVeLH3ks3GYfd_RM-Slx4,1310
312
+ hestia_earth/models/ipcc2019/n2OToAirFuelCombustionIndirect.py,sha256=f1KZQoPUTuL4wm7AdPKQTELXfGpEVzz3CfUHksa0IBg,1285
310
313
  hestia_earth/models/ipcc2019/n2OToAirInorganicFertiliserDirect.py,sha256=vmUhlNGNaT3jX5CndCVWYnzJADAp-Cls4x4-NNITWdA,4369
311
- hestia_earth/models/ipcc2019/n2OToAirInorganicFertiliserIndirect.py,sha256=ilc6D3cgmvmdkmPbdbxS-SzsG2RQRNKaQooxbeLl43w,3714
314
+ hestia_earth/models/ipcc2019/n2OToAirInorganicFertiliserIndirect.py,sha256=JXHSwSg9FXSO7k1pyn0eGFeFC2Gwp05aHaWQxFEsnqQ,1394
315
+ hestia_earth/models/ipcc2019/n2OToAirNaturalVegetationBurningIndirect.py,sha256=b5zm5ftKAhcGCVU_S3ybrumJ5M89wFnX17rJtdDSKpw,1331
312
316
  hestia_earth/models/ipcc2019/n2OToAirOrganicFertiliserDirect.py,sha256=Tq0lw-zGqA6S9ZWi2OTSWXA7nVp_STJeNT4X8Cra2rU,4358
313
- hestia_earth/models/ipcc2019/n2OToAirOrganicFertiliserIndirect.py,sha256=g2ssg9GEH2ShuNtY4g4R5GUIHf85u1azx4c264Hdoag,3700
317
+ hestia_earth/models/ipcc2019/n2OToAirOrganicFertiliserIndirect.py,sha256=1izTtLx0iFsK5yRzbxoy_kN6oflHTfBEj-sFXBERAnU,1380
318
+ hestia_earth/models/ipcc2019/n2OToAirOrganicSoilBurningIndirect.py,sha256=6nyMMrhpK5ZaG_Be0ivJB6MSdbYYg6RD67appp1wJiU,1301
314
319
  hestia_earth/models/ipcc2019/n2OToAirOrganicSoilCultivationDirect.py,sha256=msMxD6m1OuVLj5eXPzD3UA-trM_W185Oy1iSvuYZkPM,5976
320
+ hestia_earth/models/ipcc2019/n2OToAirOrganicSoilCultivationIndirect.py,sha256=lXMSAIvWBsNf6TTbYIPTu_uMSBBgk_JDO6S6r630yvg,1321
321
+ hestia_earth/models/ipcc2019/n2OToAir_indirect_emissions_utils.py,sha256=PPgJUVg436E8pnM9DATJAxBlhCY-VnGA85oKWLm3Kwk,4675
315
322
  hestia_earth/models/ipcc2019/nh3ToAirInorganicFertiliser.py,sha256=gvfv4VBHmEkppEMoHUIicAelYICdOjKxKBUw5f3meiQ,4480
316
323
  hestia_earth/models/ipcc2019/nh3ToAirOrganicFertiliser.py,sha256=Oih-34cGl7AZ_sIYWXktOWrzmj3_onvk3EW5f8-7QKI,4152
317
324
  hestia_earth/models/ipcc2019/nitrogenContent.py,sha256=MnK-w0XxoRRAnZVOgT2x3MhblW_7YQbvsES2lbLr6fM,7217
@@ -329,7 +336,7 @@ hestia_earth/models/ipcc2019/organicCarbonPerHa_utils.py,sha256=DumXAbH8P97tDyP1
329
336
  hestia_earth/models/ipcc2019/organicSoilCultivation_utils.py,sha256=mJCKYZxqk5vFknckjIjGw478BjZbvKC_xQ-zYpvJ8xM,5628
330
337
  hestia_earth/models/ipcc2019/pastureGrass.py,sha256=_EwlAooSfrkcSy4rl_rk4PpeX1pcIiQcb7HE2lQkyn8,9847
331
338
  hestia_earth/models/ipcc2019/pastureGrass_utils.py,sha256=so5AFrr_0eKXkUoyBpYhHgSXhTQ5z2XADahm2At4RR0,14285
332
- hestia_earth/models/ipcc2019/utils.py,sha256=XMOxIlITt9JgZgdOtWUtHa0Eyp-10sJO9tEhK12Lgxc,6273
339
+ hestia_earth/models/ipcc2019/utils.py,sha256=s3khA5nJ0rpFsrwWoIGW0y3OYrYA5Iw2GTxN86gO_K8,5890
333
340
  hestia_earth/models/ipcc2019/animal/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
334
341
  hestia_earth/models/ipcc2019/animal/fatContent.py,sha256=rnFergteN5rwH9KLyVQR7iolh5Onj2gF785DnLIbIHI,994
335
342
  hestia_earth/models/ipcc2019/animal/hoursWorkedPerDay.py,sha256=BBByUzgM7OymWnuU-IFMD-3cp_KXSNqXtoO-QdVjroU,965
@@ -344,7 +351,7 @@ hestia_earth/models/ipcc2019/animal/weightAtMaturity.py,sha256=bdNunYwW3D6i81AkW
344
351
  hestia_earth/models/ipcc2021/__init__.py,sha256=VTgGFKhwMmk_nuI1RRq0in27fHYVPBonlXlPK00K8no,409
345
352
  hestia_earth/models/ipcc2021/gwp100.py,sha256=EQ-OBQrahSgMBFtGregiNlbm3DHVwr67o4e29Z5Gns8,1039
346
353
  hestia_earth/models/jarvisAndPain1994/__init__.py,sha256=ercUwy29sV7oPIESj8UjsGB5lqiBCss9OZcbjxeeG8E,418
347
- hestia_earth/models/jarvisAndPain1994/n2ToAirExcreta.py,sha256=003gtGusD1MFJqb2iRck4d54fw25-1h_O2Zoy8mFHrc,1452
354
+ hestia_earth/models/jarvisAndPain1994/n2ToAirExcreta.py,sha256=vAjFi_J3Si-2uTtgGK9cDo7DJp9S7_Qz-BQ2_VM0yBM,1561
348
355
  hestia_earth/models/koble2014/__init__.py,sha256=jRciLONEhGHtMLu2rlWXEEVwcJqA-URsfH1cCt-Qti4,410
349
356
  hestia_earth/models/koble2014/cropResidueManagement.py,sha256=WvO_eqiNO0jdWITEkjHPtrndjCnrDb9BXEbkwHVpr6k,2702
350
357
  hestia_earth/models/koble2014/residueBurnt.py,sha256=Sb7jZLz5AN1PWabhtu_cmw4g9vs6qGCLvIUe4jsVN8s,2074
@@ -438,16 +445,16 @@ hestia_earth/models/lcImpactCertainEffectsInfinite/damageToTerrestrialEcosystems
438
445
  hestia_earth/models/lcImpactCertainEffectsInfinite/damageToTerrestrialEcosystemsTerrestrialAcidification.py,sha256=mILJfHIobDE9EkW72Go731EFrfb6umF9Fa3Sy7sAqw0,1222
439
446
  hestia_earth/models/lcImpactCertainEffectsInfinite/damageToTerrestrialEcosystemsTerrestrialEcotoxicity.py,sha256=dyUfAD74qEzfIGFei1IcI2RfQXgkjns7AhJ0iYzgCBk,963
440
447
  hestia_earth/models/linkedImpactAssessment/__init__.py,sha256=SPP09DMS4zUThyQfcgLpivFwsey4WSt77CDMYHJPKWE,423
441
- hestia_earth/models/linkedImpactAssessment/emissions.py,sha256=j_vVxAoptfu1NyiTTsU8_vOJXFKbPI0DclAEqOQqsac,6384
448
+ hestia_earth/models/linkedImpactAssessment/emissions.py,sha256=hyX01-7xaVkSIOwG4nECZ2v0aXbfqw-mvYod2N2YqVU,6566
442
449
  hestia_earth/models/linkedImpactAssessment/freshwaterWithdrawalsInputsProduction.py,sha256=OTWVjPikOsZTbzgTzCJBkL6fH4Zbprq5SrV5LSLc4C0,1137
443
450
  hestia_earth/models/linkedImpactAssessment/landOccupationInputsProduction.py,sha256=M1_QXTxCdWccXPaO7YjOtBa6WkmiQj3Xs89lYIUrM7w,1141
444
451
  hestia_earth/models/linkedImpactAssessment/landTransformation100YearAverageInputsProduction.py,sha256=IqQ76I05IC79g2GXY91iWFqEeXk8Fhw-hcrifCaAbiI,1228
445
452
  hestia_earth/models/linkedImpactAssessment/landTransformation20YearAverageInputsProduction.py,sha256=yHGyhabzKdBIPSGciJ_LJPKvHbTECXDx8dGOgmT1eqM,1225
446
- hestia_earth/models/linkedImpactAssessment/utils.py,sha256=7M-E7u35fIF0uMoA1hwcr6ty39pJ_Jshgw41ndEZr0Q,4596
453
+ hestia_earth/models/linkedImpactAssessment/utils.py,sha256=DM6ZUnw23KH0oMKS3jA5qH0Evap2wJEXqJr4o5kPnog,4773
447
454
  hestia_earth/models/mocking/__init__.py,sha256=9VX50c-grz-snfd-7MBS0KfF7AadtbKuj7kK6PqtsgE,687
448
455
  hestia_earth/models/mocking/build_mock_search.py,sha256=p15ccEUmkmLp1RiGNznxMz3OFHbI8P1-29ExuohiQN8,1355
449
456
  hestia_earth/models/mocking/mock_search.py,sha256=ccFe_WrI73JElFmxp4hPNLCX7eeU--lBC1JFR901KJY,1069
450
- hestia_earth/models/mocking/search-results.json,sha256=RirhWmqO7ySe_qzdefCJuQb4iacXB_ioJLjaN940VXY,162692
457
+ hestia_earth/models/mocking/search-results.json,sha256=QayyLiVrhPbG_HauM9pyyhxRlWkXQc3ho0INGexQ7f8,162692
451
458
  hestia_earth/models/pooreNemecek2018/__init__.py,sha256=nPboL7ULJzL5nJD5q7q9VOZt_fxbKVm8fmn1Az5YkVY,417
452
459
  hestia_earth/models/pooreNemecek2018/aboveGroundCropResidueTotal.py,sha256=oXillpppAas1q9GKmODxe1YXyno3EzV-j12xhzkqtTc,2404
453
460
  hestia_earth/models/pooreNemecek2018/belowGroundCropResidue.py,sha256=_pQMPSvI--Xm00H6vXDA4ct_pQXKRGrLE2f-2tQE6y4,2323
@@ -593,7 +600,7 @@ hestia_earth/models/utils/__init__.py,sha256=0v-wjG9xzJeitWEUN3XRleM_is1AkVm2r7W
593
600
  hestia_earth/models/utils/aggregated.py,sha256=G7FNJfHqJ_eoXB66kGdjLyZGDOI_gsF56o7VnyW3bqA,4801
594
601
  hestia_earth/models/utils/animalProduct.py,sha256=M5IunAKGY6oZv3j1Ascl34ywyeLWApqOIlBzbtlA2FE,721
595
602
  hestia_earth/models/utils/aquacultureManagement.py,sha256=dxrbC1Xf140cohxTbSw6TxLAnAASWTdNZwBBam4yQnw,171
596
- hestia_earth/models/utils/background_emissions.py,sha256=54zuH4yFNc_cle3uYGtK_EjhkG0XGaG5L6eGKiTyOG4,3100
603
+ hestia_earth/models/utils/background_emissions.py,sha256=7-56BRsOpDSoBlyNXUsoIySMaiT_CumYmUObUzfr2CU,3554
597
604
  hestia_earth/models/utils/blank_node.py,sha256=Y4Q1wnddrMyo9NEqKFcmt43LKHPWDlbe9l1seDcU8K0,56105
598
605
  hestia_earth/models/utils/cache_sources.py,sha256=MBkrPpjwNiC4ApDjeYVHZjWBbpvAerXRDrMHpjasAZ0,377
599
606
  hestia_earth/models/utils/completeness.py,sha256=iRG4uviOAQQ4T2Nr4LlelPVTS_F1felGZNJYxek_JG8,1239
@@ -604,18 +611,18 @@ hestia_earth/models/utils/cropResidueManagement.py,sha256=nIDFjf39rDD10UHSVudfDy
604
611
  hestia_earth/models/utils/currency.py,sha256=f_ArJANb--pZq4LL49SXQ1AMX_oKroqwBXKRRQqZwsM,578
605
612
  hestia_earth/models/utils/cycle.py,sha256=J8ATBSDkhkEPRMRC0ufO8eC_JeGCpkpdvSz2xSTAg-8,16220
606
613
  hestia_earth/models/utils/ecoClimateZone.py,sha256=kJmXtRiq8-vWF7S1rNIA6WpWkPtt8JoNfWgG9azM_ts,4269
607
- hestia_earth/models/utils/emission.py,sha256=vzQQ4eKiC8KlmwFqT00lSV1V2dmTGMSzddOYNgFyka8,3636
614
+ hestia_earth/models/utils/emission.py,sha256=aIQA3mFbGYlnD2DqDx6GY8qd2bzcjUjfvz8wnzmQ6Tc,4227
608
615
  hestia_earth/models/utils/excretaManagement.py,sha256=PNZoaf6nvdt1t7B8Apa638rU8T4hI5VW2fy1fAoC64k,2265
609
616
  hestia_earth/models/utils/feedipedia.py,sha256=fVyEx2C5CSu0pv--tG6dOfQQ7WzThPoVuzM_FW9jP18,4009
610
617
  hestia_earth/models/utils/fertiliser.py,sha256=9Kv7czDEPDvZ5Bz6Rr_2vy2MsXrPDvBC3921cEJSks8,810
611
618
  hestia_earth/models/utils/fuel.py,sha256=XzOELV3dn506PkMKjFQ_ZKVZInd2lL2x6PKdsa6Po4M,1429
612
- hestia_earth/models/utils/impact_assessment.py,sha256=tGTlo2grQ9argk2cT8zWRToBKQWe3LB8jWEfU40ZHWs,8451
613
- hestia_earth/models/utils/indicator.py,sha256=qdXJP9PDQbEzcGYERp3d3exkDGFmgj1-2987Ls6Hums,772
619
+ hestia_earth/models/utils/impact_assessment.py,sha256=QQjiuKC_3kwAWzUlFw2agjzSZg-5U9h3u4P5_e5Zryw,8447
620
+ hestia_earth/models/utils/indicator.py,sha256=Vb5L2ziXKXiL558M0K5V5ihaDTuvX3BLJP1SCbQ_B5E,1009
614
621
  hestia_earth/models/utils/inorganicFertiliser.py,sha256=2Uq6ATWwb_YYRzBCMdrlVWyCDDtWVApUxgxDEN3-3OA,1782
615
622
  hestia_earth/models/utils/input.py,sha256=61aaJV6QApJQIQT5TMsBww46cBYpJdf__krnwV95KsY,6160
616
623
  hestia_earth/models/utils/landCover.py,sha256=8-nfynzCx9gf9YfhpuoH6Cn4kQwWFpYA5RmoGW-0ETE,300
617
624
  hestia_earth/models/utils/liveAnimal.py,sha256=-ufUs00ALXRKGbrRJi7a7eTWVvkEj_pxLDWYbMJmx2g,1770
618
- hestia_earth/models/utils/lookup.py,sha256=uDye1fnvOdmR9ch5rVNI61qHRKAxzBLk3aPK93BxnfE,7196
625
+ hestia_earth/models/utils/lookup.py,sha256=w019IjC3-rve6u3tSH6cyMU-yKSqLcFGJV-6jnRQwlA,7768
619
626
  hestia_earth/models/utils/management.py,sha256=urvoHvTw5wrO12POjGQ50Or25X1Y4Gx26l4fDoVt-Ck,376
620
627
  hestia_earth/models/utils/measurement.py,sha256=1Da0CzWu_RDzVEqcBIl_EGsRq7PmafICyBva3-QtjVQ,11744
621
628
  hestia_earth/models/utils/method.py,sha256=ZYN2_Fyeiwr9pmvD84ZPg7ZHBlvaIY2A6XL4F_KByS0,740
@@ -623,7 +630,7 @@ hestia_earth/models/utils/organicFertiliser.py,sha256=2HY-a0EBzUw4DkEAXClLMXVCEZ
623
630
  hestia_earth/models/utils/pesticideAI.py,sha256=DQIAjgkWjKPyuMLUvnEgVkeQGCEOBjyJJktWU747b00,2047
624
631
  hestia_earth/models/utils/practice.py,sha256=GEu2G2yMPbcIHldOzgv5OFp8bQ1Jt9OFgj0c_0F_kUc,372
625
632
  hestia_earth/models/utils/product.py,sha256=Oha4lMvediC1Lc5DksA6sAUT94Q1Cs9F4LFVe_uaqP4,11177
626
- hestia_earth/models/utils/productivity.py,sha256=947w8LzR7HqAQlM7AGibHbqton8RmeXvErHo7heag4I,601
633
+ hestia_earth/models/utils/productivity.py,sha256=KIyrIuGcf8QgdBY54i7i038ZPXGqArM6mCzi2vwU3pI,601
627
634
  hestia_earth/models/utils/property.py,sha256=glfINBxB59d6dRRfN09C9U3CxfFyM_dTEWdlPi6_l0c,5422
628
635
  hestia_earth/models/utils/site.py,sha256=5S-53PHQnstr4LVveRuNhk4kpvGJtR8oc-t3OsxRyms,4128
629
636
  hestia_earth/models/utils/source.py,sha256=D_QlW7Ul_NV1iOucMNE3szT64b1RdSdecIEm6OukYhw,2459
@@ -644,7 +651,7 @@ hestia_earth/orchestrator/strategies/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeu
644
651
  hestia_earth/orchestrator/strategies/merge/__init__.py,sha256=9fytXEII6aSbc0edEp0Dg1QMVayU3eMUXdwKYVky_24,1416
645
652
  hestia_earth/orchestrator/strategies/merge/merge_append.py,sha256=5xJ8fqu2UqCDotVkSxj7yRDRdw0RM2tERsA4j_1Zlu8,915
646
653
  hestia_earth/orchestrator/strategies/merge/merge_default.py,sha256=ssKq5ZIoQr4k2HHpkyPqHJSQQj-AGqu8zUzEQIRafv8,45
647
- hestia_earth/orchestrator/strategies/merge/merge_list.py,sha256=euvr-BdiKxF9-AKf35Q30KnQsuzgcldkV0EmXTZXG28,4531
654
+ hestia_earth/orchestrator/strategies/merge/merge_list.py,sha256=LR82y-JVI4pHC93Wz9pQPYRmFgAQLbmGgExvV5C_q1k,4029
648
655
  hestia_earth/orchestrator/strategies/merge/merge_node.py,sha256=iAgxHVVR7y2kXtR_pdNzS4Fq-iLmwaqNHXMfjIBG6eE,2622
649
656
  hestia_earth/orchestrator/strategies/run/__init__.py,sha256=At0V8CI4vyiSY-Vh2PHMhTYfnp7vl31gq78RyCeIqJk,307
650
657
  hestia_earth/orchestrator/strategies/run/add_blank_node_if_missing.py,sha256=lAfL-NK-gh2YQnTis2lIyb1uI_fsnwFWS10qwbga43M,2756
@@ -739,12 +746,13 @@ tests/models/cycle/product/test_properties.py,sha256=7pcBH_Ny8JeQ2dWXBU-ZSmY5iYl
739
746
  tests/models/cycle/product/test_revenue.py,sha256=H_LxjvMEyyr8dr8SAC3zWezGsGcD4lglVt26eT8QoL8,849
740
747
  tests/models/cycle/product/test_value.py,sha256=IfkcE8kgrvXg_iIbnoJ3n0CIjlfgg_lHkILQ8u38HVE,963
741
748
  tests/models/dammgen2009/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
742
- tests/models/dammgen2009/test_noxToAirExcreta.py,sha256=fFy1oUTJPjAMVrNxTXM_nu-5RSZL1o4BQBM4FnjAd5M,1616
749
+ tests/models/dammgen2009/test_noxToAirExcreta.py,sha256=NeUaj7eb597prutS0ynUdsnlNWB-t_6CHJZJu8iGNBU,1618
743
750
  tests/models/deRuijterEtAl2010/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
744
751
  tests/models/deRuijterEtAl2010/test_nh3ToAirCropResidueDecomposition.py,sha256=kS1nUBVohOSCb386g6Wq7iVclmx0haekUDYo7VQ4NCA,2030
745
752
  tests/models/ecoalimV9/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
746
- tests/models/ecoalimV9/test_cycle.py,sha256=Wb-i6BJM48JGSlwF6cZ0-CxG973Tq_xEyq02hiIs5bU,640
747
- tests/models/ecoalimV9/test_impact_assessment.py,sha256=9Br_jis2MT85kS1IvBfPE9x7mKD41x8hYf3kzlR7WgE,838
753
+ tests/models/ecoalimV9/test_cycle.py,sha256=BWaZhVSt9zNFnju12m809Nxa2edj5OkWxSUn6FT7V7U,653
754
+ tests/models/ecoalimV9/test_impact_assessment.py,sha256=5h9jx7wSPah_FvRDyT-NEejRKlXc5ZmtVucHfkxVMQ8,862
755
+ tests/models/ecoalimV9/test_utils.py,sha256=styD2B9ZM4WppVcjEVh3Edw4X2KnH_jQWi36uv24WhY,450
748
756
  tests/models/edip2003/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
749
757
  tests/models/edip2003/test_ozoneDepletionPotential.py,sha256=z0kimdTxzSr8_K5eScbkxq2SB9nbBp41IHqVNR4Nh4Y,688
750
758
  tests/models/emepEea2019/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -917,7 +925,7 @@ tests/models/ipcc2019/test_aboveGroundBiomass.py,sha256=zzsE1zr8qYWgc1EWNrCZggjk
917
925
  tests/models/ipcc2019/test_aboveGroundCropResidueTotal.py,sha256=HrTsqm1r5c5di5JONu7P4_95JMp1kbDuKfQjWLE0Jhs,2573
918
926
  tests/models/ipcc2019/test_belowGroundBiomass.py,sha256=Cu41RM63R-xti0qi_mLD0J5TClo61OkjsR4FI3caNxs,7579
919
927
  tests/models/ipcc2019/test_belowGroundCropResidue.py,sha256=no71pfxgOhn_tEWc_EwuWvlKRtHFqlIqNIvnP7cj0Tc,2568
920
- tests/models/ipcc2019/test_biocharOrganicCarbonPerHa.py,sha256=19SX8sCKjyqThydHBh7jE9S46Y6SBd-pJx_RUmuZ0nU,3785
928
+ tests/models/ipcc2019/test_biocharOrganicCarbonPerHa.py,sha256=8Y5dwe_ZHSKxijLn3CMA6U5uQxHeBXYWsd93nPT16d4,3825
921
929
  tests/models/ipcc2019/test_biomass_utils.py,sha256=I2q4pDGAD0aY_kpZCMPJoC-KbRYxdzY1rhr4xtJFWIA,3592
922
930
  tests/models/ipcc2019/test_carbonContent.py,sha256=_GWF5nGy-PxiqBZ5V7W_sHMz75YRzmxr79R-sZZg7yk,4146
923
931
  tests/models/ipcc2019/test_ch4ToAirAquacultureSystems.py,sha256=hG1zunH2gCeix8fxxkoGfl_I0GRyAcLbwEtwWVE9i5M,1925
@@ -934,16 +942,23 @@ tests/models/ipcc2019/test_co2ToAirSoilOrganicCarbonStockChange.py,sha256=gPT_yy
934
942
  tests/models/ipcc2019/test_co2ToAirUreaHydrolysis.py,sha256=2u4_jtekmVzLTwKpNr1fVcAzgegm17Fh9h59JRXFpOM,1030
935
943
  tests/models/ipcc2019/test_croppingDuration.py,sha256=1oRW1QaEwQvBadyVhaDi-jlkjuNqodyAinl88TdPmiY,1879
936
944
  tests/models/ipcc2019/test_ligninContent.py,sha256=eIKEN__ab-0R52EhlhPSBiHnmTl6xOf1XbI33O-W9A4,4146
945
+ tests/models/ipcc2019/test_n2OToAirAquacultureSystemsIndirect.py,sha256=WnUJGP-f_wUK7JDQCwm5iE2GaZbjXgpXIQEc_HtYOkw,1518
937
946
  tests/models/ipcc2019/test_n2OToAirCropResidueBurningDirect.py,sha256=Zg21yPx5lsf1lwbEzBNvyG2-06Qq5MUVDhteLcukp94,1528
947
+ tests/models/ipcc2019/test_n2OToAirCropResidueBurningIndirect.py,sha256=zDuT0ZB0gtOMdNYLrXA8JxErMgfKqPCE1NNBxlUUiuI,1518
938
948
  tests/models/ipcc2019/test_n2OToAirCropResidueDecompositionDirect.py,sha256=vKbWQNZAGPtsqonM-Cc3n3hNitft0hcjn2TNrTFC1iY,2729
939
- tests/models/ipcc2019/test_n2OToAirCropResidueDecompositionIndirect.py,sha256=it2PVNYBNAvQWmWLDJ9Evjqtx7SJl-X0ZyQz3Fuvb3k,2119
949
+ tests/models/ipcc2019/test_n2OToAirCropResidueDecompositionIndirect.py,sha256=DD-DXCrKoZ5MT_uSI_DVDMe8W49MHcjxv3FI5Vb9WyM,1524
940
950
  tests/models/ipcc2019/test_n2OToAirExcretaDirect.py,sha256=-ddwSZia_QQXSrCbIrv_uQMUO3X9_WNk2WtKF8gSYTM,1627
941
- tests/models/ipcc2019/test_n2OToAirExcretaIndirect.py,sha256=z46L5JMB4-W0uCyyFlLKTEyDnt2gUHRkH7dEXK6ioHk,2098
951
+ tests/models/ipcc2019/test_n2OToAirExcretaIndirect.py,sha256=_x2yv87LnmlFzbS_JL3lhzrt-D1coc3g7XfXLdcANow,1507
952
+ tests/models/ipcc2019/test_n2OToAirFuelCombustionIndirect.py,sha256=poR0qHIRCutFLPrvJZWYuMl6lZ0_8H2wE-57r8AHQ2I,1514
942
953
  tests/models/ipcc2019/test_n2OToAirInorganicFertiliserDirect.py,sha256=uSdklDRTxYfMo3J6lMxUJeIeinLHvY_MRZiN9NdHmdA,2718
943
- tests/models/ipcc2019/test_n2OToAirInorganicFertiliserIndirect.py,sha256=RnU8CkUCYBBO1bgJALnoVgjTHLL1L1sja2nsyeVA_cg,2113
954
+ tests/models/ipcc2019/test_n2OToAirInorganicFertiliserIndirect.py,sha256=UBG8cbUDg9C4K-3U2sXnAd4VDNXQ0gLpDA-LF4ma2Ok,1519
955
+ tests/models/ipcc2019/test_n2OToAirNaturalVegetationBurningIndirect.py,sha256=LUN1kAn1JZ-ztzfbx6t3W31xiyOnTiZoAyaX5iPW-Og,1524
944
956
  tests/models/ipcc2019/test_n2OToAirOrganicFertiliserDirect.py,sha256=ofEcYrwvvXfoZHRWaaMtKMK2NbEtX_67laDeu_lDTXg,2714
945
- tests/models/ipcc2019/test_n2OToAirOrganicFertiliserIndirect.py,sha256=hW84sTlhB8mKRSFJX_iQS4gYo74zCtY-9zr1VHLC5GU,2111
957
+ tests/models/ipcc2019/test_n2OToAirOrganicFertiliserIndirect.py,sha256=IegWAWxyTJQZQu3LLj9knsB3mN4cEqJxuaszVok9YE4,1517
958
+ tests/models/ipcc2019/test_n2OToAirOrganicSoilBurningIndirect.py,sha256=o6wnoNTVHpagLflYUwPUJ4A33tLWZvaFNDNjl9vCq4M,1518
946
959
  tests/models/ipcc2019/test_n2OToAirOrganicSoilCultivationDirect.py,sha256=VrBvbs9AVrRDwjGQAYfr_5rpB-fas0QQBGwQJBEax0o,1766
960
+ tests/models/ipcc2019/test_n2OToAirOrganicSoilCultivationIndirect.py,sha256=7qVxZs2fsKDjX7bO6UvBBhfVAXRak7Z3M-1NfJqrf6A,1522
961
+ tests/models/ipcc2019/test_n2OToAir_indirect_emissions_utils.py,sha256=nX9wprnWGmNKr7wdT38te9st99fjhte0B2KrzITnBt4,655
947
962
  tests/models/ipcc2019/test_nh3ToAirInorganicFertiliser.py,sha256=xmRHSTmyh--EZX29Z5NHD4LqEZl7Lkc5HntBCXlIRHE,1537
948
963
  tests/models/ipcc2019/test_nh3ToAirOrganicFertiliser.py,sha256=Z4a20I2UnZdzm6FqHnlHRXXVCY993_SHT7nG-zAhx-c,1104
949
964
  tests/models/ipcc2019/test_nitrogenContent.py,sha256=rKl_05PCC0OSsAhG0cHJOqnt9LsCaFnRpJorkm1TShA,3704
@@ -1248,8 +1263,8 @@ tests/orchestrator/strategies/run/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeR
1248
1263
  tests/orchestrator/strategies/run/test_add_blank_node_if_missing.py,sha256=K4xg4UAXfNhSaLyknKVPO7MGBF44Z_gD7CuZ_pe28gU,3512
1249
1264
  tests/orchestrator/strategies/run/test_add_key_if_missing.py,sha256=hKwvk1ohcBVnQUCTiDhRW99J0xEa29BpwFi1KC0yWLE,329
1250
1265
  tests/orchestrator/strategies/run/test_always.py,sha256=w5-Dhp6yLzgZGAeMRz3OrqZbbAed9gZ1O266a3z9k7w,134
1251
- hestia_earth_models-0.73.6.dist-info/LICENSE,sha256=TD25LoiRJsA5CPUNrcyt1PXlGcbUGFMAeZoBcfCrCNE,1154
1252
- hestia_earth_models-0.73.6.dist-info/METADATA,sha256=sI6oUwv9y6tLBVv_TWI8Wj7LWgBYs0ij46PzkKOYypc,4065
1253
- hestia_earth_models-0.73.6.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
1254
- hestia_earth_models-0.73.6.dist-info/top_level.txt,sha256=1dqA9TqpOLTEgpqa-YBsmbCmmNU1y56AtfFGEceZ2A0,19
1255
- hestia_earth_models-0.73.6.dist-info/RECORD,,
1266
+ hestia_earth_models-0.73.8.dist-info/LICENSE,sha256=TD25LoiRJsA5CPUNrcyt1PXlGcbUGFMAeZoBcfCrCNE,1154
1267
+ hestia_earth_models-0.73.8.dist-info/METADATA,sha256=hfNbFbfhpKzoty2_KclgDzWXlgqHKy3p5yGc2paMgqI,4075
1268
+ hestia_earth_models-0.73.8.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
1269
+ hestia_earth_models-0.73.8.dist-info/top_level.txt,sha256=1dqA9TqpOLTEgpqa-YBsmbCmmNU1y56AtfFGEceZ2A0,19
1270
+ hestia_earth_models-0.73.8.dist-info/RECORD,,
@@ -2,7 +2,7 @@ from unittest.mock import patch
2
2
  import json
3
3
  from tests.utils import fixtures_path, fake_new_emission
4
4
 
5
- from hestia_earth.models.dammgen2009.noxToAirExcreta import MODEL, TERM_ID, run, _should_run, N2O_TERM_ID
5
+ from hestia_earth.models.dammgen2009.noxToAirExcreta import MODEL, TERM_ID, run, _should_run, _N2O_TERM_ID
6
6
 
7
7
  class_path = f"hestia_earth.models.{MODEL}.{TERM_ID}"
8
8
  fixtures_folder = f"{fixtures_path}/{MODEL}/{TERM_ID}"
@@ -36,7 +36,7 @@ def test_should_run():
36
36
  "emissions": [{
37
37
  "@type": "Emission",
38
38
  "term": {
39
- "@id": N2O_TERM_ID,
39
+ "@id": _N2O_TERM_ID,
40
40
  "termType": "emission"
41
41
  },
42
42
  "value": [10.7],
@@ -15,7 +15,7 @@ def test_run(*args):
15
15
  cycle = json.load(f)
16
16
 
17
17
  with open(f"{fixtures_folder}/result.jsonld", encoding='utf-8') as f:
18
- expected = json.load(f)
18
+ expected = json.load(f)['emissions']
19
19
 
20
20
  result = run(cycle)
21
21
  assert result == expected
@@ -18,7 +18,7 @@ def test_run(*args):
18
18
  impact['cycle'] = cycle
19
19
 
20
20
  with open(f"{fixtures_folder}/result.jsonld", encoding='utf-8') as f:
21
- expected = json.load(f)
21
+ expected = json.load(f)['emissionsResourceUse']
22
22
 
23
23
  result = run(impact)
24
24
  assert result == expected
@@ -0,0 +1,13 @@
1
+ from hestia_earth.models.ecoalimV9.utils import _values_from_column
2
+
3
+
4
+ def test_values_from_column():
5
+ column = 'landTransformation+landCover[pond]+previousLandCover[permanentCropland]+country[GADM-BRA]'
6
+ assert _values_from_column(column, '10') == {
7
+ 'landTransformation': {
8
+ 'value': 10,
9
+ 'landCover': 'pond',
10
+ 'previousLandCover': 'permanentCropland',
11
+ 'country': 'GADM-BRA'
12
+ }
13
+ }
@@ -74,7 +74,8 @@ PARAMS_SHOULD_RUN = [
74
74
  ("no-cycles", False),
75
75
  ("with-organic-soils", False),
76
76
  ("with-relative-func-unit", False),
77
- ("with-site-type-forest", False)
77
+ ("with-site-type-forest", False),
78
+ ("with-missing-start-dates", True)
78
79
  ]
79
80
  IDS_SHOULD_RUN = [p[0] for p in PARAMS_SHOULD_RUN]
80
81
 
@@ -0,0 +1,45 @@
1
+ from unittest.mock import patch
2
+ import json
3
+ from tests.utils import fixtures_path, fake_new_emission
4
+
5
+ from hestia_earth.models.ipcc2019 import MODEL
6
+ from hestia_earth.models.ipcc2019.n2OToAirAquacultureSystemsIndirect import TERM_ID, run
7
+
8
+ utils_path = f"hestia_earth.models.{MODEL}.n2OToAir_indirect_emissions_utils"
9
+ fixtures_folder = f"{fixtures_path}/{MODEL}/{TERM_ID}"
10
+
11
+
12
+ @patch(f"{utils_path}._new_emission", side_effect=fake_new_emission)
13
+ def test_run(*args):
14
+ with open(f"{fixtures_folder}/cycle.jsonld", encoding='utf-8') as f:
15
+ cycle = json.load(f)
16
+
17
+ with open(f"{fixtures_folder}/result.jsonld", encoding='utf-8') as f:
18
+ expected = json.load(f)
19
+
20
+ value = run(cycle)
21
+ assert value == expected
22
+
23
+
24
+ @patch(f"{utils_path}._new_emission", side_effect=fake_new_emission)
25
+ def test_run_wet(*args):
26
+ with open(f"{fixtures_folder}/ecoClimateZone-wet/cycle.jsonld", encoding='utf-8') as f:
27
+ cycle = json.load(f)
28
+
29
+ with open(f"{fixtures_folder}/ecoClimateZone-wet/result.jsonld", encoding='utf-8') as f:
30
+ expected = json.load(f)
31
+
32
+ value = run(cycle)
33
+ assert value == expected
34
+
35
+
36
+ @patch(f"{utils_path}._new_emission", side_effect=fake_new_emission)
37
+ def test_run_dry(*args):
38
+ with open(f"{fixtures_folder}/ecoClimateZone-dry/cycle.jsonld", encoding='utf-8') as f:
39
+ cycle = json.load(f)
40
+
41
+ with open(f"{fixtures_folder}/ecoClimateZone-dry/result.jsonld", encoding='utf-8') as f:
42
+ expected = json.load(f)
43
+
44
+ value = run(cycle)
45
+ assert value == expected
@@ -0,0 +1,45 @@
1
+ from unittest.mock import patch
2
+ import json
3
+ from tests.utils import fixtures_path, fake_new_emission
4
+
5
+ from hestia_earth.models.ipcc2019 import MODEL
6
+ from hestia_earth.models.ipcc2019.n2OToAirCropResidueBurningIndirect import TERM_ID, run
7
+
8
+ utils_path = f"hestia_earth.models.{MODEL}.n2OToAir_indirect_emissions_utils"
9
+ fixtures_folder = f"{fixtures_path}/{MODEL}/{TERM_ID}"
10
+
11
+
12
+ @patch(f"{utils_path}._new_emission", side_effect=fake_new_emission)
13
+ def test_run(*args):
14
+ with open(f"{fixtures_folder}/cycle.jsonld", encoding='utf-8') as f:
15
+ cycle = json.load(f)
16
+
17
+ with open(f"{fixtures_folder}/result.jsonld", encoding='utf-8') as f:
18
+ expected = json.load(f)
19
+
20
+ value = run(cycle)
21
+ assert value == expected
22
+
23
+
24
+ @patch(f"{utils_path}._new_emission", side_effect=fake_new_emission)
25
+ def test_run_wet(*args):
26
+ with open(f"{fixtures_folder}/ecoClimateZone-wet/cycle.jsonld", encoding='utf-8') as f:
27
+ cycle = json.load(f)
28
+
29
+ with open(f"{fixtures_folder}/ecoClimateZone-wet/result.jsonld", encoding='utf-8') as f:
30
+ expected = json.load(f)
31
+
32
+ value = run(cycle)
33
+ assert value == expected
34
+
35
+
36
+ @patch(f"{utils_path}._new_emission", side_effect=fake_new_emission)
37
+ def test_run_dry(*args):
38
+ with open(f"{fixtures_folder}/ecoClimateZone-dry/cycle.jsonld", encoding='utf-8') as f:
39
+ cycle = json.load(f)
40
+
41
+ with open(f"{fixtures_folder}/ecoClimateZone-dry/result.jsonld", encoding='utf-8') as f:
42
+ expected = json.load(f)
43
+
44
+ value = run(cycle)
45
+ assert value == expected
@@ -2,40 +2,14 @@ from unittest.mock import patch
2
2
  import json
3
3
  from tests.utils import fixtures_path, fake_new_emission
4
4
 
5
- from hestia_earth.models.ipcc2019.n2OToAirCropResidueDecompositionIndirect import (
6
- MODEL, TERM_ID, run, _should_run, NH3_TERM_ID, NO3_TERM_ID, NOX_TERM_ID
7
- )
5
+ from hestia_earth.models.ipcc2019 import MODEL
6
+ from hestia_earth.models.ipcc2019.n2OToAirCropResidueDecompositionIndirect import TERM_ID, run
8
7
 
9
- class_path = f"hestia_earth.models.{MODEL}.{TERM_ID}"
8
+ utils_path = f"hestia_earth.models.{MODEL}.n2OToAir_indirect_emissions_utils"
10
9
  fixtures_folder = f"{fixtures_path}/{MODEL}/{TERM_ID}"
11
10
 
12
11
 
13
- def test_should_run():
14
- # no emissions => no run
15
- cycle = {'completeness': {'cropResidue': True}, 'emissions': []}
16
- should_run, *args = _should_run(cycle)
17
- assert not should_run
18
-
19
- # with no3 emission => run
20
- cycle['emissions'] = [
21
- {
22
- 'term': {'@id': NO3_TERM_ID},
23
- 'value': [100]
24
- },
25
- {
26
- 'term': {'@id': NH3_TERM_ID},
27
- 'value': [100]
28
- },
29
- {
30
- 'term': {'@id': NOX_TERM_ID},
31
- 'value': [100]
32
- }
33
- ]
34
- should_run, *args = _should_run(cycle)
35
- assert should_run is True
36
-
37
-
38
- @patch(f"{class_path}._new_emission", side_effect=fake_new_emission)
12
+ @patch(f"{utils_path}._new_emission", side_effect=fake_new_emission)
39
13
  def test_run(*args):
40
14
  with open(f"{fixtures_folder}/cycle.jsonld", encoding='utf-8') as f:
41
15
  cycle = json.load(f)
@@ -47,7 +21,7 @@ def test_run(*args):
47
21
  assert value == expected
48
22
 
49
23
 
50
- @patch(f"{class_path}._new_emission", side_effect=fake_new_emission)
24
+ @patch(f"{utils_path}._new_emission", side_effect=fake_new_emission)
51
25
  def test_run_wet(*args):
52
26
  with open(f"{fixtures_folder}/ecoClimateZone-wet/cycle.jsonld", encoding='utf-8') as f:
53
27
  cycle = json.load(f)
@@ -59,7 +33,7 @@ def test_run_wet(*args):
59
33
  assert value == expected
60
34
 
61
35
 
62
- @patch(f"{class_path}._new_emission", side_effect=fake_new_emission)
36
+ @patch(f"{utils_path}._new_emission", side_effect=fake_new_emission)
63
37
  def test_run_dry(*args):
64
38
  with open(f"{fixtures_folder}/ecoClimateZone-dry/cycle.jsonld", encoding='utf-8') as f:
65
39
  cycle = json.load(f)
@@ -2,40 +2,14 @@ from unittest.mock import patch
2
2
  import json
3
3
  from tests.utils import fixtures_path, fake_new_emission
4
4
 
5
- from hestia_earth.models.ipcc2019.n2OToAirExcretaIndirect import (
6
- MODEL, TERM_ID, run, _should_run, NH3_TERM_ID, NO3_TERM_ID, NOX_TERM_ID
7
- )
5
+ from hestia_earth.models.ipcc2019 import MODEL
6
+ from hestia_earth.models.ipcc2019.n2OToAirExcretaIndirect import TERM_ID, run
8
7
 
9
- class_path = f"hestia_earth.models.{MODEL}.{TERM_ID}"
8
+ utils_path = f"hestia_earth.models.{MODEL}.n2OToAir_indirect_emissions_utils"
10
9
  fixtures_folder = f"{fixtures_path}/{MODEL}/{TERM_ID}"
11
10
 
12
11
 
13
- def test_should_run():
14
- # no emissions => no run
15
- cycle = {'completeness': {'excreta': True}, 'emissions': []}
16
- should_run, *args = _should_run(cycle)
17
- assert not should_run
18
-
19
- # with no3 emission => run
20
- cycle['emissions'] = [
21
- {
22
- 'term': {'@id': NO3_TERM_ID},
23
- 'value': [100]
24
- },
25
- {
26
- 'term': {'@id': NH3_TERM_ID},
27
- 'value': [100]
28
- },
29
- {
30
- 'term': {'@id': NOX_TERM_ID},
31
- 'value': [100]
32
- }
33
- ]
34
- should_run, *args = _should_run(cycle)
35
- assert should_run is True
36
-
37
-
38
- @patch(f"{class_path}._new_emission", side_effect=fake_new_emission)
12
+ @patch(f"{utils_path}._new_emission", side_effect=fake_new_emission)
39
13
  def test_run(*args):
40
14
  with open(f"{fixtures_folder}/cycle.jsonld", encoding='utf-8') as f:
41
15
  cycle = json.load(f)
@@ -47,7 +21,7 @@ def test_run(*args):
47
21
  assert value == expected
48
22
 
49
23
 
50
- @patch(f"{class_path}._new_emission", side_effect=fake_new_emission)
24
+ @patch(f"{utils_path}._new_emission", side_effect=fake_new_emission)
51
25
  def test_run_wet(*args):
52
26
  with open(f"{fixtures_folder}/ecoClimateZone-wet/cycle.jsonld", encoding='utf-8') as f:
53
27
  cycle = json.load(f)
@@ -59,7 +33,7 @@ def test_run_wet(*args):
59
33
  assert value == expected
60
34
 
61
35
 
62
- @patch(f"{class_path}._new_emission", side_effect=fake_new_emission)
36
+ @patch(f"{utils_path}._new_emission", side_effect=fake_new_emission)
63
37
  def test_run_dry(*args):
64
38
  with open(f"{fixtures_folder}/ecoClimateZone-dry/cycle.jsonld", encoding='utf-8') as f:
65
39
  cycle = json.load(f)