hestia-earth-models 0.64.4__py3-none-any.whl → 0.64.6__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 (63) hide show
  1. hestia_earth/models/blonkConsultants2016/ch4ToAirNaturalVegetationBurning.py +5 -9
  2. hestia_earth/models/blonkConsultants2016/co2ToAirAboveGroundBiomassStockChangeLandUseChange.py +5 -9
  3. hestia_earth/models/blonkConsultants2016/n2OToAirNaturalVegetationBurningDirect.py +6 -13
  4. hestia_earth/models/cycle/animal/input/properties.py +6 -0
  5. hestia_earth/models/cycle/completeness/soilAmendment.py +3 -2
  6. hestia_earth/models/cycle/concentrateFeed.py +10 -4
  7. hestia_earth/models/cycle/input/properties.py +6 -0
  8. hestia_earth/models/cycle/liveAnimal.py +2 -2
  9. hestia_earth/models/cycle/milkYield.py +3 -3
  10. hestia_earth/models/cycle/otherSitesArea.py +59 -0
  11. hestia_earth/models/cycle/otherSitesUnusedDuration.py +9 -8
  12. hestia_earth/models/cycle/pastureSystem.py +3 -2
  13. hestia_earth/models/cycle/product/properties.py +6 -0
  14. hestia_earth/models/cycle/siteArea.py +83 -0
  15. hestia_earth/models/cycle/stockingDensityAnimalHousingAverage.py +28 -16
  16. hestia_earth/models/cycle/utils.py +1 -1
  17. hestia_earth/models/environmentalFootprintV3/soilQualityIndexLandOccupation.py +128 -0
  18. hestia_earth/models/environmentalFootprintV3/utils.py +17 -0
  19. hestia_earth/models/ipcc2006/co2ToAirOrganicSoilCultivation.py +17 -6
  20. hestia_earth/models/ipcc2006/n2OToAirOrganicSoilCultivationDirect.py +17 -6
  21. hestia_earth/models/ipcc2019/ch4ToAirEntericFermentation.py +3 -1
  22. hestia_earth/models/ipcc2019/co2ToAirCarbonStockChange_utils.py +904 -0
  23. hestia_earth/models/ipcc2019/co2ToAirSoilOrganicCarbonStockChangeManagementChange.py +70 -618
  24. hestia_earth/models/mocking/search-results.json +392 -320
  25. hestia_earth/models/pooreNemecek2018/saplings.py +10 -7
  26. hestia_earth/models/site/management.py +18 -14
  27. hestia_earth/models/utils/__init__.py +38 -0
  28. hestia_earth/models/utils/array_builders.py +63 -52
  29. hestia_earth/models/utils/blank_node.py +137 -82
  30. hestia_earth/models/utils/descriptive_stats.py +3 -239
  31. hestia_earth/models/utils/feedipedia.py +15 -2
  32. hestia_earth/models/utils/landCover.py +9 -0
  33. hestia_earth/models/utils/lookup.py +13 -2
  34. hestia_earth/models/utils/measurement.py +3 -28
  35. hestia_earth/models/utils/stats.py +429 -0
  36. hestia_earth/models/utils/term.py +15 -3
  37. hestia_earth/models/utils/time_series.py +90 -0
  38. hestia_earth/models/version.py +1 -1
  39. {hestia_earth_models-0.64.4.dist-info → hestia_earth_models-0.64.6.dist-info}/METADATA +1 -1
  40. {hestia_earth_models-0.64.4.dist-info → hestia_earth_models-0.64.6.dist-info}/RECORD +63 -49
  41. tests/models/blonkConsultants2016/test_ch4ToAirNaturalVegetationBurning.py +2 -2
  42. tests/models/blonkConsultants2016/test_co2ToAirAboveGroundBiomassStockChangeLandUseChange.py +2 -2
  43. tests/models/blonkConsultants2016/test_n2OToAirNaturalVegetationBurningDirect.py +2 -2
  44. tests/models/cycle/completeness/test_soilAmendment.py +1 -1
  45. tests/models/cycle/test_liveAnimal.py +1 -1
  46. tests/models/cycle/test_milkYield.py +1 -1
  47. tests/models/cycle/test_otherSitesArea.py +68 -0
  48. tests/models/cycle/test_siteArea.py +51 -0
  49. tests/models/cycle/test_stockingDensityAnimalHousingAverage.py +2 -2
  50. tests/models/environmentalFootprintV3/test_soilQualityIndexLandOccupation.py +136 -0
  51. tests/models/ipcc2019/test_co2ToAirCarbonStockChange_utils.py +50 -0
  52. tests/models/ipcc2019/test_co2ToAirSoilOrganicCarbonStockChangeManagementChange.py +1 -39
  53. tests/models/pooreNemecek2018/test_saplings.py +1 -1
  54. tests/models/site/test_management.py +3 -153
  55. tests/models/utils/test_array_builders.py +67 -6
  56. tests/models/utils/test_blank_node.py +191 -7
  57. tests/models/utils/test_descriptive_stats.py +2 -86
  58. tests/models/utils/test_measurement.py +1 -22
  59. tests/models/utils/test_stats.py +186 -0
  60. tests/models/utils/test_time_series.py +88 -0
  61. {hestia_earth_models-0.64.4.dist-info → hestia_earth_models-0.64.6.dist-info}/LICENSE +0 -0
  62. {hestia_earth_models-0.64.4.dist-info → hestia_earth_models-0.64.6.dist-info}/WHEEL +0 -0
  63. {hestia_earth_models-0.64.4.dist-info → hestia_earth_models-0.64.6.dist-info}/top_level.txt +0 -0
@@ -4,7 +4,7 @@ hestia_earth/models/cache_sites.py,sha256=KQp9cUKE-aIcYJoMWEtKFYS8gBFfsx5LKQhqoW
4
4
  hestia_earth/models/log.py,sha256=DbfNcGzaC5hzkuMDxQqW6XYoNBI4Uxw4SIoOYoZA6og,3474
5
5
  hestia_earth/models/preload_requests.py,sha256=Ibx-YOhR_1yuyFBxsLUbvJHVK7PLyMLoPu5l9jDN_Qk,1342
6
6
  hestia_earth/models/requirements.py,sha256=eU4yT443fx7BnaokhrLB_PCizJI7Y6m4auyo8vQauNg,17363
7
- hestia_earth/models/version.py,sha256=LaDtOBoFznCDnauZfj0nYNmRMiVXWIWV8CNR0xo5dqc,19
7
+ hestia_earth/models/version.py,sha256=zKnLZtyskCFM1o4QvK1WYD9h60tOljr4jMaMTzDcp9Q,19
8
8
  hestia_earth/models/agribalyse2016/__init__.py,sha256=WvK0qCQbnYtg9oZxrACd1wGormZyXibPtpCnIQeDqbw,415
9
9
  hestia_earth/models/agribalyse2016/fuelElectricity.py,sha256=tnGxBmJdPfPFfehLUQcefEqy1lHvzsSpx_s7O8nf3Zs,4412
10
10
  hestia_earth/models/agribalyse2016/machineryInfrastructureDepreciatedAmountPerCycle.py,sha256=BPjnWmg73i_OxM2ouCdMTWZtPIqyoUAXrvutntyteE0,3390
@@ -17,10 +17,10 @@ hestia_earth/models/akagiEtAl2011AndIpcc2006/utils.py,sha256=aHsit7ezqCE-RfRmZX1
17
17
  hestia_earth/models/aware/__init__.py,sha256=F8XRo9nRiX-fHAqyeMARYtFmJWRPs-hnIaCiHcZhyMw,406
18
18
  hestia_earth/models/aware/scarcityWeightedWaterUse.py,sha256=NOGWGMVg4qxaubriihR_24UHQNCi_UAdH4opaPMy5b4,4520
19
19
  hestia_earth/models/blonkConsultants2016/__init__.py,sha256=jJhYkwblgQZRg3QOERBZfl4Nw9szPn-Mljz7KMWlXXM,421
20
- hestia_earth/models/blonkConsultants2016/ch4ToAirNaturalVegetationBurning.py,sha256=KkjPXCwikZqi2V6Gcq1ICsRT4Bp6X--BntUWCGXz7lA,3201
21
- hestia_earth/models/blonkConsultants2016/co2ToAirAboveGroundBiomassStockChangeLandUseChange.py,sha256=X-G3JgjoSe0--2iIiuouf4F0-hmAB87skwnB_fY8DuY,3142
20
+ hestia_earth/models/blonkConsultants2016/ch4ToAirNaturalVegetationBurning.py,sha256=i9hPs8w3MTbo-3oio-vIkLeQ9VApKrhfNVihsmL8ZUA,3065
21
+ hestia_earth/models/blonkConsultants2016/co2ToAirAboveGroundBiomassStockChangeLandUseChange.py,sha256=h3l6l6t950dPYkz-vj4w_MGHLwW4CTwH_l5eXlA1u5A,3006
22
22
  hestia_earth/models/blonkConsultants2016/landTransformationFromForest20YearAverageDuringCycle.py,sha256=YKajTDFoX46FgQlxpTymbth37zB4CGxy3pT0-KGPyHk,3706
23
- hestia_earth/models/blonkConsultants2016/n2OToAirNaturalVegetationBurningDirect.py,sha256=FswygR2utDoA4aT3dy9B2hZyLuDvo9Mqc3iku3bgfGk,3292
23
+ hestia_earth/models/blonkConsultants2016/n2OToAirNaturalVegetationBurningDirect.py,sha256=qU7FRqYJm47olbUY239YHhdn2OkMQ_GTDP5O27VTlmY,3071
24
24
  hestia_earth/models/blonkConsultants2016/utils.py,sha256=hmPnzJLmFgZvdzkk6Au2euglrvCGtCWtjM8w0rYQHr4,1517
25
25
  hestia_earth/models/chaudharyBrooks2018/__init__.py,sha256=LKxQu7-6gyWPpdXaYHDTawzsBNm7CpDrk98I5_TTLhA,420
26
26
  hestia_earth/models/chaudharyBrooks2018/damageToTerrestrialEcosystemsLandOccupation.py,sha256=A-YA_zBgP6jSwk-xiDzcKYC5drpjnJpRPDc_d5e47hI,3887
@@ -37,7 +37,7 @@ hestia_earth/models/cycle/__init__.py,sha256=VowO3kOHb0LpURsljNaJsYO7s6vgjhul6bF
37
37
  hestia_earth/models/cycle/aboveGroundCropResidueTotal.py,sha256=9swq4YEeJQ2YjVOmghgBYWkMZWdNU4MKCUBY5FsmBSU,3088
38
38
  hestia_earth/models/cycle/coldCarcassWeightPerHead.py,sha256=fQ7huuxyS5PQkRmR_tRCOz9rV3LJwLfLQJjH_TcTz6k,2955
39
39
  hestia_earth/models/cycle/coldDressedCarcassWeightPerHead.py,sha256=k0xg5SIfJGwEKteFr2Fh-lh8yDC_sqQw_lBnnfwl9zU,3069
40
- hestia_earth/models/cycle/concentrateFeed.py,sha256=0oL2Odcl9PEZJyG6gfH8bGPNHAICpTFfuL1bJalTJg0,5985
40
+ hestia_earth/models/cycle/concentrateFeed.py,sha256=ly7TyEnw46D7AmFCftO8GWFDu-4_lFnqeDcoqLZCCRA,6219
41
41
  hestia_earth/models/cycle/cropResidueManagement.py,sha256=QTRCCFu9VvD_a3_8aAj216vsuhAJEhlAwTJH7ifMkDo,2237
42
42
  hestia_earth/models/cycle/croppingIntensity.py,sha256=44CgDqXg9CBRfTPYTyOleQT-M4_tsQgPba-0vjjk_C4,1770
43
43
  hestia_earth/models/cycle/cycleDuration.py,sha256=ccODF5CJBEd55-CMttCr0eI4uH7OoRvYJZjcth09QMg,3193
@@ -48,31 +48,33 @@ hestia_earth/models/cycle/excretaKgN.py,sha256=mgJTneQIYJ9Su-rTK5ppb_k3YhICFNWsf
48
48
  hestia_earth/models/cycle/excretaKgVs.py,sha256=ed-DcQoQXZgWF8UZDs2N-G6EBIOPmpXu3BD6jdmh0V0,2973
49
49
  hestia_earth/models/cycle/inorganicFertiliser.py,sha256=Yt5NcP9FQEzWwlritrPGbhh2W9wR378OM3lDPBzDiL4,6967
50
50
  hestia_earth/models/cycle/irrigatedTypeUnspecified.py,sha256=KlIa5eDvT47Twz6Q1kpw0rMlRjCK25CExaW58DEvc9w,2125
51
- hestia_earth/models/cycle/liveAnimal.py,sha256=LWAMnNKRoLDdChrGApVIN-Ns7em0Lspz5UtLbf7PPLY,3988
51
+ hestia_earth/models/cycle/liveAnimal.py,sha256=5dlvuVAu24hLLOVXsozcVzWyDVzddzoungUBwrBDS-g,3986
52
52
  hestia_earth/models/cycle/longFallowRatio.py,sha256=_h0kub99sACO87IfjMeiu8IgdK2jaeBlgGA9A9-ViZA,1683
53
- hestia_earth/models/cycle/milkYield.py,sha256=RhzePjkvEAGicTzRA4eatc0K_4NSGHhyEhYF0EbbGXw,5820
54
- hestia_earth/models/cycle/otherSitesUnusedDuration.py,sha256=HkjCfllhtodAQ3LBjoEXCiii1t2LJxM9HZNyYWaAqas,2984
53
+ hestia_earth/models/cycle/milkYield.py,sha256=cq0-C7qdXbgrK1xtyrEcKKAd_VmjshBC1WCz4ozpL9E,5817
54
+ hestia_earth/models/cycle/otherSitesArea.py,sha256=Xhi6C1K1v4VXv1Mhkg-b9JCAG-DfTQoEi9ICs71418w,1650
55
+ hestia_earth/models/cycle/otherSitesUnusedDuration.py,sha256=ZqQaI9FvNVpONmsIiRo1BqSJJKC5Mgi-W6lt18sxTiA,2985
55
56
  hestia_earth/models/cycle/pastureGrass.py,sha256=7PrmDMJPtsbKGa8WIOh_4NXNtbH3Pxb23pmjawQuY9o,1226
56
- hestia_earth/models/cycle/pastureSystem.py,sha256=uksVgl_3bp_t2niwZ5BvS3VT-Kndx26Se6GpzqG0bX8,2709
57
+ hestia_earth/models/cycle/pastureSystem.py,sha256=K7AAh-9gWv4jMdsK8F2PXVyU1WuN1aT8lpJZKOddmT8,2767
57
58
  hestia_earth/models/cycle/readyToCookWeightPerHead.py,sha256=R1Rt3WsTzwnI2Bqljx03RpdG0A1-bGV4M7EqmcP7Dzg,2955
58
59
  hestia_earth/models/cycle/residueBurnt.py,sha256=HwU1D9ibiIul-FlXDUcEMDEc_KxpB8ug0SLz-4rXxKk,2106
59
60
  hestia_earth/models/cycle/residueIncorporated.py,sha256=9_s2RMOy5D20eq9ziDBEA_Y7RiFFMeK0bDJ65CW4qlE,2763
60
61
  hestia_earth/models/cycle/residueLeftOnField.py,sha256=qYxKGAdUORN7Vjqj7AZC2VGV_rM3MN0-padDGhgjiNU,2175
61
62
  hestia_earth/models/cycle/residueRemoved.py,sha256=jxDu_Jfcyd-rm-qo8ZuRIf-GGxtFBMpmGy1zHOavwy0,2135
63
+ hestia_earth/models/cycle/siteArea.py,sha256=ueWaQqH4POYynLG1aVXYcOm8pRehmo4IxkbsYcy4Gvc,2661
62
64
  hestia_earth/models/cycle/siteDuration.py,sha256=8VCYn608Lw1A6gLOG2bA1Z2tAQbmDg_yXeq6sgkrXac,2342
63
65
  hestia_earth/models/cycle/siteUnusedDuration.py,sha256=orYGlbzGMpjuDAtZe7KkCOLWrwUYR1H4A0ccAbutW3s,2189
64
66
  hestia_earth/models/cycle/startDate.py,sha256=pbBi55b6uJezPE8EOovOCSwQVrbwpmxwmravOCIh2zg,2683
65
67
  hestia_earth/models/cycle/startDateDefinition.py,sha256=6oJmT6XRKYbv2Jer2UJpkOQqHQKjIAEqPz7yv7k-HP4,2187
66
- hestia_earth/models/cycle/stockingDensityAnimalHousingAverage.py,sha256=RQaVqyWSBWOSDl7pcnOm-nqWqgZlMsJaXd2Stu08-Qg,1542
68
+ hestia_earth/models/cycle/stockingDensityAnimalHousingAverage.py,sha256=f1houLdigq6EGMrG3dL8WqAaGVlpXNJB74VbSxWQUCY,1843
67
69
  hestia_earth/models/cycle/transformation.py,sha256=06KTfVubh2I47dfnG9Iv6AbuUBbURM8BAVOkRu7XmHw,1255
68
70
  hestia_earth/models/cycle/unknownPreSeasonWaterRegime.py,sha256=9EP8FMXO5fHqmhVNSqR_Dfe38KxwyPOCF6kMewiI_VE,1478
69
- hestia_earth/models/cycle/utils.py,sha256=ZcVwvRwVNK48jZfnhrHl2ai4a96YzcmRgO-eQXwQNjo,1408
71
+ hestia_earth/models/cycle/utils.py,sha256=SaJyQEufLlUCeA6P2rgK5nev1D8J1eCthPUwG0ZPvRE,1407
70
72
  hestia_earth/models/cycle/animal/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
71
73
  hestia_earth/models/cycle/animal/milkYield.py,sha256=O5-OruRhUpKpxsfhGskTHLP8PDd-awAxlEh8acq_PaQ,3011
72
74
  hestia_earth/models/cycle/animal/properties.py,sha256=OGjRl79w-h439jTkjA8b4V61fMuo0McoUs3JrgK-0Zc,596
73
75
  hestia_earth/models/cycle/animal/input/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
74
76
  hestia_earth/models/cycle/animal/input/hestiaAggregatedData.py,sha256=EpJ6qU0jsoSMEuZYIKCn1f-loJ53_nmpnyDhH5sZTuw,2529
75
- hestia_earth/models/cycle/animal/input/properties.py,sha256=qFdvoRa5RtQrf-CnWHdi6g40lD4Rncrb_610O0lhUq0,3439
77
+ hestia_earth/models/cycle/animal/input/properties.py,sha256=8hqVh4AtW4ZBo3z0mz93etfKCEZgZwBeBVRF9yNYsf0,3609
76
78
  hestia_earth/models/cycle/completeness/__init__.py,sha256=rkwGtxIay_AleJCT7al_ngnix_xRqySVie7qvHXMQI0,1517
77
79
  hestia_earth/models/cycle/completeness/animalFeed.py,sha256=8Fo1TqwSuiPudvd2vJ-LVxSyOdD8mDCOZMvjuj5W2uo,1012
78
80
  hestia_earth/models/cycle/completeness/cropResidue.py,sha256=zSiu9h0NxEBDUWlaKBh1QcX4jDIklrs0BC2NWMCQQ80,2549
@@ -80,7 +82,7 @@ hestia_earth/models/cycle/completeness/electricityFuel.py,sha256=FWG8EuOPubTLDc3
80
82
  hestia_earth/models/cycle/completeness/excreta.py,sha256=2yVxcuWjAh4hoEukaMJ90VZpkCL7SfpwIgzigbjVaF4,996
81
83
  hestia_earth/models/cycle/completeness/material.py,sha256=UQH2oRnUY-Q-_MVuOlTAYqQxc7wWDM5mi_iFmp9PlIQ,1362
82
84
  hestia_earth/models/cycle/completeness/seed.py,sha256=g4GOzRx249pEfr2beU9n5tzBiWA3hhxnqyiGri7QbEI,1662
83
- hestia_earth/models/cycle/completeness/soilAmendment.py,sha256=sNGXORTCk7tjWAQ7ILWc0-1aGs7j8M7Nyig1TwfWHHA,1334
85
+ hestia_earth/models/cycle/completeness/soilAmendment.py,sha256=AXGtO1d8oLWgvmVLoNBqknsH2lmr5y15E2xkgZpkCSU,1392
84
86
  hestia_earth/models/cycle/feedConversionRatio/__init__.py,sha256=28bB2lN7gY-b0XuUZNIIlBdzJmzfdpqB4Q8JSZ_Drsk,2505
85
87
  hestia_earth/models/cycle/feedConversionRatio/feedConversionRatioCarbon.py,sha256=21_PXoKXJCxPOPOspKqqq-E7dh-2tVQnR4cnGZ9JGj8,1992
86
88
  hestia_earth/models/cycle/feedConversionRatio/feedConversionRatioDryMatter.py,sha256=zf-v-cAPLpSe7sr1auzUUXkjXwpXRTVvsCrzbZrwBI8,2388
@@ -89,7 +91,7 @@ hestia_earth/models/cycle/feedConversionRatio/feedConversionRatioFedWeight.py,sh
89
91
  hestia_earth/models/cycle/feedConversionRatio/feedConversionRatioNitrogen.py,sha256=RV7lLd4PiFRCkH83-DvuZKnOCA9bXbYOcDHea8Wz4LY,2603
90
92
  hestia_earth/models/cycle/input/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
91
93
  hestia_earth/models/cycle/input/hestiaAggregatedData.py,sha256=XkO72m16xZxX0ykBOw8Dx14eM4yTEOG12m7HwoUZ9HA,5035
92
- hestia_earth/models/cycle/input/properties.py,sha256=r5EF18b_KW8evmdlev0mLQyqwBVgSicKEyilGaBRF6I,3017
94
+ hestia_earth/models/cycle/input/properties.py,sha256=xJojLiaMSqFVunJi8aOiTtn8wzkizduinMSxsGGhKN4,3187
93
95
  hestia_earth/models/cycle/input/value.py,sha256=kolH9Fc5GIn9OVH2DgHEaW8ksS4xisy0LerS3WkKK9E,1550
94
96
  hestia_earth/models/cycle/post_checks/__init__.py,sha256=5ThdvGKp7ilFOzn8Tq23c4XXqhA345PYIe63yOtGJTY,336
95
97
  hestia_earth/models/cycle/post_checks/cache.py,sha256=39zoY-eaYB7zb1R7YLsIdwozDFuA2mmYctXhW3ChE0I,291
@@ -106,7 +108,7 @@ hestia_earth/models/cycle/product/currency.py,sha256=lB1pCD1747Ke3oFoqjAKEHbIdHP
106
108
  hestia_earth/models/cycle/product/economicValueShare.py,sha256=jSuwTa94OKnI4vn8B_DVkVyjRHSqDGoF6rAwl4NK1zk,8540
107
109
  hestia_earth/models/cycle/product/price.py,sha256=BUkY9V2Frg442HEGG7PLmXZFTrBPbBFDTk5LbS40Ajs,1588
108
110
  hestia_earth/models/cycle/product/primary.py,sha256=FYyl-Mv8AmEml1nhDJwU01N4LrszJm6E31eztQDHzdg,1853
109
- hestia_earth/models/cycle/product/properties.py,sha256=PiwCod4dlMScTm_MQhY35QpeLRuHvdsc_nijv_7TqNM,1377
111
+ hestia_earth/models/cycle/product/properties.py,sha256=7iKIAYLi2_11HsizwAdNbEmx-C7CH_tTrgBFEePTcWs,1547
110
112
  hestia_earth/models/cycle/product/revenue.py,sha256=-PmQWbdOLyoemo2afzYPbI5Te7-BslGK7er1HxDL-t0,2438
111
113
  hestia_earth/models/cycle/product/utils.py,sha256=nCQIFgwfI4meSRftV9v4vuxKAy3uUtShpN1pr2mywCw,359
112
114
  hestia_earth/models/cycle/product/value.py,sha256=8f_6Ornn06lbNR2U70qmxn-iwh_TIEFGjB3_8TzCFxs,1596
@@ -136,6 +138,8 @@ hestia_earth/models/emepEea2019/utils.py,sha256=oTHjbRRwJZv_tpO9MOlfpyQRmN0a1kvE
136
138
  hestia_earth/models/emissionNotRelevant/__init__.py,sha256=nIuPIkQR1ghv_T_Ab4Ckq5wmGdWVmgbaOjhtKfIJ-WE,2183
137
139
  hestia_earth/models/environmentalFootprintV3/__init__.py,sha256=lzg9qccwd9tbspw0lQ58YPprnvvSLTn3QV5T2-tPcC4,425
138
140
  hestia_earth/models/environmentalFootprintV3/freshwaterEcotoxicityPotentialCtue.py,sha256=X62-4v0NJdM_Z5kLK3NuU4GNEeSrXlKlMZQB_o4JZ6c,1018
141
+ hestia_earth/models/environmentalFootprintV3/soilQualityIndexLandOccupation.py,sha256=33lGSdexLPZGEMCm09xzr4myp74B5-hG8pb7HhPvaGk,4278
142
+ hestia_earth/models/environmentalFootprintV3/utils.py,sha256=HKz_ckzuMZvo8YL-laApyhiccl2NoJUxHs2npwBCMWw,712
139
143
  hestia_earth/models/epa2014/__init__.py,sha256=ckGf_6X7CCzI_18OqchEkuJAXKXM1x7V53u480ckknM,408
140
144
  hestia_earth/models/epa2014/no3ToGroundwaterExcreta.py,sha256=fN4fOOcjBg3tl0lzNeJ8mzg6mrvQRxilx-R5Gc4l4Nw,1724
141
145
  hestia_earth/models/fantkeEtAl2016/__init__.py,sha256=NtOlRmjTA4e8i0nW8erwdm-DDtfYlbLiARqqv82bkU4,415
@@ -218,7 +222,7 @@ hestia_earth/models/ipcc2006/__init__.py,sha256=ReUFPLqIyp16QEOGaiHmz41QbuwYBQYD
218
222
  hestia_earth/models/ipcc2006/aboveGroundCropResidueRemoved.py,sha256=6FDgMH5eiO1mEn20oerYpWty6t9058JS3MCdfVmeY_o,2714
219
223
  hestia_earth/models/ipcc2006/aboveGroundCropResidueTotal.py,sha256=vD_kpvOJmjTOjDEnlqSYBSZxjuPGvzpmCr0JIC84GKE,3431
220
224
  hestia_earth/models/ipcc2006/belowGroundCropResidue.py,sha256=KzeRphJb1IWB_EPVcxa9tbCoNmEe80D9lKxgQOqfKoU,4138
221
- hestia_earth/models/ipcc2006/co2ToAirOrganicSoilCultivation.py,sha256=UqjYsbpcSnNb20zLTZ2qkO_tLfDBL1iJmwndeuuwGYk,3133
225
+ hestia_earth/models/ipcc2006/co2ToAirOrganicSoilCultivation.py,sha256=kCWC_Zibs0uZ1a1mQy-9fXzmvVL-2l_FopDnkt-ayy0,3852
222
226
  hestia_earth/models/ipcc2006/n2OToAirCropResidueDecompositionDirect.py,sha256=_2oTngpspikbFwgFTtOWs-SgEVF8LzznvITGITTtol4,2913
223
227
  hestia_earth/models/ipcc2006/n2OToAirCropResidueDecompositionIndirect.py,sha256=kf4WjdMzs6d8h433LFuUH9LJKJ_aMHTqEHDToGY5-Xk,2315
224
228
  hestia_earth/models/ipcc2006/n2OToAirExcretaDirect.py,sha256=VvQTIh58JyhrdPk5FdJQBkjBDr5-Cv7CnGkNEcco3P4,1986
@@ -227,7 +231,7 @@ hestia_earth/models/ipcc2006/n2OToAirInorganicFertiliserDirect.py,sha256=0Lyhqh3
227
231
  hestia_earth/models/ipcc2006/n2OToAirInorganicFertiliserIndirect.py,sha256=s5-pnhzz3fEYkdMZEGGlecp7XlPh_9vxyN78VoOUP2Y,3171
228
232
  hestia_earth/models/ipcc2006/n2OToAirOrganicFertiliserDirect.py,sha256=xB-5jp551knTSWvJeeowO1ERpLCdXrZJKttN7xU_6RY,2396
229
233
  hestia_earth/models/ipcc2006/n2OToAirOrganicFertiliserIndirect.py,sha256=NAdGaG6-5Mrrwe17ED8R_3en-zuMqHFDtrRlqi9USSI,3103
230
- hestia_earth/models/ipcc2006/n2OToAirOrganicSoilCultivationDirect.py,sha256=7Y8sT1mTpd_Qu160-nekOdjCNMJsVA51DjpAWzof2nU,3030
234
+ hestia_earth/models/ipcc2006/n2OToAirOrganicSoilCultivationDirect.py,sha256=TzwfuMnyQv_iLsi15Vq1cxU7Kgnu5VK6Ru9yWXtBQIA,3749
231
235
  hestia_earth/models/ipcc2006/utils.py,sha256=flB7HWrynzOorKlmrpbETGD63NMv45H8Wxjj3RCav98,739
232
236
  hestia_earth/models/ipcc2013ExcludingFeedbacks/__init__.py,sha256=v4Qe-X4w3tqIHGJBNnEAK81x4ZuQMwYxQYXRncugmcU,427
233
237
  hestia_earth/models/ipcc2013ExcludingFeedbacks/gwp100.py,sha256=8VRg-Vvzc86_CQmBH-iHNhaSnAFHew2swAMecT0aXW4,979
@@ -240,11 +244,12 @@ hestia_earth/models/ipcc2019/aboveGroundCropResidueTotal.py,sha256=lT2QVV5c2LvQq
240
244
  hestia_earth/models/ipcc2019/belowGroundCropResidue.py,sha256=7AFU2Q0qPAvv6uEKWByS38jl77FvjTPbGm2GQ53waGg,3499
241
245
  hestia_earth/models/ipcc2019/carbonContent.py,sha256=tlQvu4Auhpjmaz7XrZz86xwxVrJhsYYf8DFA_aQeev4,7255
242
246
  hestia_earth/models/ipcc2019/ch4ToAirAquacultureSystems.py,sha256=q6yyEiYQhHJ2VyQy2Fa84cuTl1D8bjBXOK3UpaRuo20,3196
243
- hestia_earth/models/ipcc2019/ch4ToAirEntericFermentation.py,sha256=khX90NjkmlvosyRZ77QxgwTKwg42Z_ftOWTTAanHViw,11420
247
+ hestia_earth/models/ipcc2019/ch4ToAirEntericFermentation.py,sha256=7rA9thwYXbJkSFTEl71AbFVQfBz0CaJfblpJpO9s6D8,11611
244
248
  hestia_earth/models/ipcc2019/ch4ToAirExcreta.py,sha256=eY_yb7ncTb_2HoUUgXZnnRHiybTXYj_DTe3CmDzD3fY,6717
245
249
  hestia_earth/models/ipcc2019/ch4ToAirFloodedRice.py,sha256=TJ4J7VA5n4RPrJYZQeR3lc3ZoCw7T1E5Cb1XJewr834,7331
250
+ hestia_earth/models/ipcc2019/co2ToAirCarbonStockChange_utils.py,sha256=n87ghsqDEuZodeJOAHadfS2au4rqB-cuhZoZhrG55dw,32154
246
251
  hestia_earth/models/ipcc2019/co2ToAirLimeHydrolysis.py,sha256=7z0zdqiiWQwkyJCgSNMoK2mft3cJkTRlqwKrMuSKdWI,2454
247
- hestia_earth/models/ipcc2019/co2ToAirSoilOrganicCarbonStockChangeManagementChange.py,sha256=D-4h4a8Ob_radqS6Gj3K8eLqTeXJrFIbfO9viusd6Pc,27585
252
+ hestia_earth/models/ipcc2019/co2ToAirSoilOrganicCarbonStockChangeManagementChange.py,sha256=Fgy67gYS57QIcmbgjwyTYKT8Plh9Xy8_fuW63I6-AmY,8669
248
253
  hestia_earth/models/ipcc2019/co2ToAirUreaHydrolysis.py,sha256=Ofld5SuRKndcKB3FFFoUdzSgNq-gc4kmiNyyrPKQ3Io,3580
249
254
  hestia_earth/models/ipcc2019/croppingDuration.py,sha256=-CesZ2cNDOQoU3QyVFnSWYO-6-JXxuhRDQoHoxTawDA,3228
250
255
  hestia_earth/models/ipcc2019/ligninContent.py,sha256=Qh-UH4lv1TIf7wWlbAPwIZZHxzbbmQgND3m15pt5Si8,7285
@@ -390,7 +395,7 @@ hestia_earth/models/linkedImpactAssessment/landTransformationFromPermanentPastur
390
395
  hestia_earth/models/linkedImpactAssessment/utils.py,sha256=dGwGc2d-8_WQElTpfyPmz5vQtL-LHQRmiZnCTuPXMDs,1876
391
396
  hestia_earth/models/mocking/__init__.py,sha256=n3Fkkrvh8zHNWiJZmnfQ7WZ91JRzAO9P6pSG1JpwtXo,687
392
397
  hestia_earth/models/mocking/mock_search.py,sha256=qgABw-sZK37XtsALKt8AHF2VJPUrZSnHv5Qj1Dn93oA,2405
393
- hestia_earth/models/mocking/search-results.json,sha256=1YcAYDF-b_Qv_I2sSi0GgXvsSsv4QwUotHAmADSWwSw,53136
398
+ hestia_earth/models/mocking/search-results.json,sha256=Rr_kuhVrDnGcO6OcbNyiI3GhUjRiPB6Rofq-w3gKVWo,54779
394
399
  hestia_earth/models/pooreNemecek2018/__init__.py,sha256=nPboL7ULJzL5nJD5q7q9VOZt_fxbKVm8fmn1Az5YkVY,417
395
400
  hestia_earth/models/pooreNemecek2018/aboveGroundCropResidueTotal.py,sha256=Qt-mel4dkhK6N5uUOutNOinCTFjbjtGzITaaI0LvYc4,2396
396
401
  hestia_earth/models/pooreNemecek2018/belowGroundCropResidue.py,sha256=JT0RybbvWVlo01FO8K0Yj41HrEaJT3Kj1xfayr2X-xw,2315
@@ -415,7 +420,7 @@ hestia_earth/models/pooreNemecek2018/plantationDensity.py,sha256=-y-zXHFPet0LdIg
415
420
  hestia_earth/models/pooreNemecek2018/plantationLifespan.py,sha256=FudC-csC1IkiFOJ_uD0s6_rwsgqVrUN6Ej7A03JXDsM,959
416
421
  hestia_earth/models/pooreNemecek2018/plantationProductiveLifespan.py,sha256=Q54woX67eUab0qEEAuW2naFGhnVPJHrMas3bG92KNeg,1740
417
422
  hestia_earth/models/pooreNemecek2018/rotationDuration.py,sha256=j5hW_NEKYQbeMcdsqp2nQIDXCnUdZIKURzAmPCiegQk,1525
418
- hestia_earth/models/pooreNemecek2018/saplings.py,sha256=LS0zepV51-LlVmPBAjj5nlfgaJFnQF6wo40sgoFCr3Y,2258
423
+ hestia_earth/models/pooreNemecek2018/saplings.py,sha256=6iJKXIZvw-PIEi4FZfNPdt7dW4tI5sMNPR7LllSTRkM,2495
419
424
  hestia_earth/models/pooreNemecek2018/utils.py,sha256=to2vtONKCbuG1gVSDvsUcG7EnlahELfG_57gzIAHlv0,1710
420
425
  hestia_earth/models/poschEtAl2008/__init__.py,sha256=nvyyGglxCTV4PpxcOjY7jJb0v8Bjzj435Zt1j6VcryM,414
421
426
  hestia_earth/models/poschEtAl2008/terrestrialAcidificationPotentialAccumulatedExceedance.py,sha256=gbD8fgvdHANXsuPPWRx4Flcqhk3fPD5ROrrb2LMgmS8,1279
@@ -492,7 +497,7 @@ hestia_earth/models/site/brackishWater.py,sha256=vLEhIZv5PUKwzwvIuYrWi7K---fq7ZX
492
497
  hestia_earth/models/site/cationExchangeCapacityPerKgSoil.py,sha256=0eH4A-tXJ0hvIkiYXWxlx8TfrdbIKUGYUDk97-yQJgg,3653
493
498
  hestia_earth/models/site/flowingWater.py,sha256=v3g5722GIA4zQAUQI9yGFiZvFvI1QAVZqlQrY-6_B3A,1731
494
499
  hestia_earth/models/site/freshWater.py,sha256=FXs3Vt8V4e-wn325_dwSTOKlZtn5ksNUpvYGDeLJShY,1255
495
- hestia_earth/models/site/management.py,sha256=ik1fUHUIqVeSHdUMohig_5w8I9E0EPsiYQOtUeKDrKY,11296
500
+ hestia_earth/models/site/management.py,sha256=FoLQYILOiobB4cJyOWdpG7A4q30TgOs_MGEN67-eqV8,11409
496
501
  hestia_earth/models/site/netPrimaryProduction.py,sha256=UIIQkYd911qVzrWjxBLrC37e-RARIVgDwLdARY9BuLw,1849
497
502
  hestia_earth/models/site/organicCarbonPerHa.py,sha256=F2ShinHf0m9qKa1nCYBspsDkRY6jzOl0wM8mSDre22I,14916
498
503
  hestia_earth/models/site/organicCarbonPerKgSoil.py,sha256=t--wAshiAKS-JvEKhLFRadGvgSBv5NFZ68jdyms_wh4,1945
@@ -550,12 +555,12 @@ hestia_earth/models/transformation/product/__init__.py,sha256=47DEQpj8HBSa-_TImW
550
555
  hestia_earth/models/transformation/product/excreta.py,sha256=Yj9wMF5if-zivb6qbN3vy1X51ZNYxvoyG9f4KPp3Y18,5700
551
556
  hestia_earth/models/usetoxV2/__init__.py,sha256=pK37V3H-KvYcvRKw4Mv8CWrB2N0LFLzmv0jKLdhGGqs,409
552
557
  hestia_earth/models/usetoxV2/freshwaterEcotoxicityPotentialCtue.py,sha256=oYNwThnMXjZymif5buyHiczFiOq_61jOdDMOAyy8vwQ,1018
553
- hestia_earth/models/utils/__init__.py,sha256=xC04_nMK9YSVW8Eq8BOcvi2AFjKxlVG5uAwfdZ-_cak,4964
558
+ hestia_earth/models/utils/__init__.py,sha256=bfmKUi3wdGj4CZkxd2pPxtmeTV2XN_vq_61_Euv593w,6291
554
559
  hestia_earth/models/utils/aggregated.py,sha256=sz6usleZmo_tC_hIvmGgYsX8-H0dulXmmhHK4EkA5Kg,4946
555
560
  hestia_earth/models/utils/animalProduct.py,sha256=M5IunAKGY6oZv3j1Ascl34ywyeLWApqOIlBzbtlA2FE,721
556
561
  hestia_earth/models/utils/aquacultureManagement.py,sha256=dxrbC1Xf140cohxTbSw6TxLAnAASWTdNZwBBam4yQnw,171
557
- hestia_earth/models/utils/array_builders.py,sha256=0_Ik0gKoh1QBijyb-55odh8_dIs-CWQ3lgUN1Hnc4Y8,18749
558
- hestia_earth/models/utils/blank_node.py,sha256=YlHyxirCIt7PGEBJoal7cOXzegWbX9X3cpknKEznlQc,45238
562
+ hestia_earth/models/utils/array_builders.py,sha256=QEkM7e75Y9aq5yEPEk3R8md36IuvCDkpekdGm3uA0uk,19397
563
+ hestia_earth/models/utils/blank_node.py,sha256=ExJDvsc9DeCW83SUFjbpGRIf5U_BbmbH4wmcJkS7t8w,46806
559
564
  hestia_earth/models/utils/completeness.py,sha256=2-GusD9UycobDZq8y5jar0ZcOjyqnSbzPRT_5XMc4YA,1259
560
565
  hestia_earth/models/utils/constant.py,sha256=7wn5LBdsqlLdCrPaVASYjsxNtbaOSdqVWKedOFgyzfY,3249
561
566
  hestia_earth/models/utils/crop.py,sha256=5KigEHd15nT8O9_1woxKJF5rEWiSkIkJqDAXet8BB9g,2383
@@ -563,20 +568,21 @@ hestia_earth/models/utils/cropResidue.py,sha256=_0Q35CrliJeo31xGHsPWe8A2oHxijdIs
563
568
  hestia_earth/models/utils/cropResidueManagement.py,sha256=nIDFjf39rDD10UHSVudfDyu-EiL261g8jyrgS-2aDKw,347
564
569
  hestia_earth/models/utils/currency.py,sha256=f_ArJANb--pZq4LL49SXQ1AMX_oKroqwBXKRRQqZwsM,578
565
570
  hestia_earth/models/utils/cycle.py,sha256=W-VIReb1OVooV6EIj-P6gUlr-W17_6USdnnj4ihMTTc,16741
566
- hestia_earth/models/utils/descriptive_stats.py,sha256=qOyG8_TpWYmaxZ0h99n9L71gDLLiVMrMf0ChtxnZLjw,8559
571
+ hestia_earth/models/utils/descriptive_stats.py,sha256=EMVwFvg2OnZgKRAfireAoWY2EbrSvqR0V0bK9B53p28,1583
567
572
  hestia_earth/models/utils/ecoClimateZone.py,sha256=A3ZtF_B2wr6v7clbVi0zWQ-bOXRoOKq4vGq8mhNf9Ec,4316
568
573
  hestia_earth/models/utils/emission.py,sha256=YqglUfZSyyvlgfRriZuXmJUDmjwWz5dM5AebIgLwvgk,3964
569
574
  hestia_earth/models/utils/excretaManagement.py,sha256=NuWPQjFZxMVt9sYgBjcqhGWCFk_OKb3sA9Ovcff3fRQ,428
570
- hestia_earth/models/utils/feedipedia.py,sha256=ImUAURcwJDtSvu1s4MDeM1VpbU8mVTp9jh9ENNOB0Mw,3515
575
+ hestia_earth/models/utils/feedipedia.py,sha256=wzzrMbYlda1XCpWiObLz4bFLXbAZejHcxsXJFr4U_AM,3953
571
576
  hestia_earth/models/utils/fertiliser.py,sha256=DBO4OBNgnQJ0fCQMDkIk_ZGZX-uKGaTFZCEXfAnJciY,690
572
577
  hestia_earth/models/utils/fuel.py,sha256=r1MKMMxg-PYiVlRutP83RuvY2rsdCQ1iN6ekSGGQGpA,1379
573
578
  hestia_earth/models/utils/impact_assessment.py,sha256=ma2oINLTIL1qplqC5D1_DbQu4EILpMXSgYNEslxIa2Y,7059
574
579
  hestia_earth/models/utils/indicator.py,sha256=IFrVIUYpmdVLOR1SKkrTReDbG1Tzq2b6daVvLMYpCs4,537
575
580
  hestia_earth/models/utils/inorganicFertiliser.py,sha256=_dLBY-otGkLr8PobR5dQ89bF2uwc2PB4JPrHFSksMEQ,1900
576
581
  hestia_earth/models/utils/input.py,sha256=YycsAbSBfVDMu6PftDsisMFGnEp87wOj-3rrnHnOgzo,4927
582
+ hestia_earth/models/utils/landCover.py,sha256=8-nfynzCx9gf9YfhpuoH6Cn4kQwWFpYA5RmoGW-0ETE,300
577
583
  hestia_earth/models/utils/liveAnimal.py,sha256=GnajBPZw5d94raf80KtLloaOqlfqGAPwUtP9bRlGWeE,1754
578
- hestia_earth/models/utils/lookup.py,sha256=yJB5IzsK7mZ_jQIdwb3TA5KZQL7Vneuvqr_O0GPjBDs,6758
579
- hestia_earth/models/utils/measurement.py,sha256=rxrrOVdkDm-J0QVjCEapa4z4KY3hUw-brAeb0pW1nIc,12221
584
+ hestia_earth/models/utils/lookup.py,sha256=2UztS6CHpFEsoERm5kwV3qUtzm0VpZQ4Fnmtceb2o18,7293
585
+ hestia_earth/models/utils/measurement.py,sha256=izEiPszUcPA22zaIc0OuF7Yk82JWu5cxi0Sbz_9YgBo,11142
580
586
  hestia_earth/models/utils/organicFertiliser.py,sha256=2HY-a0EBzUw4DkEAXClLMXVCEZTKYf0BwFHBo7lQ5Tg,363
581
587
  hestia_earth/models/utils/pesticideAI.py,sha256=6f8b-dFm3qr-eY049_eOvj_iDk4XBam61csozdDAvyA,2361
582
588
  hestia_earth/models/utils/practice.py,sha256=tNadOzsrNlCEt801B815XaruJXzZ5yPASam7B3sWpXE,1091
@@ -585,8 +591,10 @@ hestia_earth/models/utils/productivity.py,sha256=rTJX_nemxHpOcPN7jiM2hFHknoLUIW8
585
591
  hestia_earth/models/utils/property.py,sha256=gBy6FidNDhjzokOXOWcIDBMKcdPPBXxIZgdAxgQsmWc,5127
586
592
  hestia_earth/models/utils/site.py,sha256=zEj2PtIghk-L_vVJidlXM6_ed7HTc2-ogP0sQSh49vw,3874
587
593
  hestia_earth/models/utils/source.py,sha256=Y-CcO5Y3q5Hz4A4RdX35C1EUjL9w1NKnOrzVfOWQ7nU,1748
594
+ hestia_earth/models/utils/stats.py,sha256=-0vvhSDAhp4ZYXD1l6sO2hdok8_HgUM6OjCSYGSTHqU,15291
588
595
  hestia_earth/models/utils/temperature.py,sha256=ljlG4-yCgFFb6LRZweb18cZKLrr7K2mqd4E4Hz_D1f8,476
589
- hestia_earth/models/utils/term.py,sha256=YslK2utjWOO3ovQjkUnQol1KNPg5EvsaS7VX_RKzTTk,19241
596
+ hestia_earth/models/utils/term.py,sha256=9kdLsJjKi6uMIIRSZZDqYwBd2FlAhm-4rd06HmnGKoU,19565
597
+ hestia_earth/models/utils/time_series.py,sha256=vuv033qUZ1gAw3T3wlLNG7vJmXCCsHEzciYbxw_b_NI,3223
590
598
  hestia_earth/models/utils/transformation.py,sha256=nyT5Mz4_VgFwhkL8JoNX9kxxow0zuxzsYl3W8xOu2p0,370
591
599
  hestia_earth/models/webbEtAl2012AndSintermannEtAl2012/__init__.py,sha256=Niv7ZFMBCwThlbCKGOwA17QdkpOUDFrqrFItGNqnZAA,434
592
600
  hestia_earth/models/webbEtAl2012AndSintermannEtAl2012/nh3ToAirOrganicFertiliser.py,sha256=TGXyusrRd9shT842iqbrI6MkQhICgw7uYdrl4jsDrg8,4193
@@ -607,10 +615,10 @@ tests/models/akagiEtAl2011AndIpcc2006/test_utils.py,sha256=sCkqGJU8RGwHaxlwiyx2Y
607
615
  tests/models/aware/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
608
616
  tests/models/aware/test_scarcityWeightedWaterUse.py,sha256=JmwOQFxcFm45IKn_aJU1K6o8Cp5w_wllcRDAhwbXMj0,2278
609
617
  tests/models/blonkConsultants2016/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
610
- tests/models/blonkConsultants2016/test_ch4ToAirNaturalVegetationBurning.py,sha256=T4FjcMHaIK5Pp6ZnYKiRUxX_FuK23NWY0TeN7z0fjUc,1155
611
- tests/models/blonkConsultants2016/test_co2ToAirAboveGroundBiomassStockChangeLandUseChange.py,sha256=70j3jG0dALAnowIQb0AKqP6FmI_utjt7Jd8Jdim_hY4,1181
618
+ tests/models/blonkConsultants2016/test_ch4ToAirNaturalVegetationBurning.py,sha256=-bgFT4r1mfy9cntiTDUCTF6o6o5In8UoxHTVK2zSQXc,1203
619
+ tests/models/blonkConsultants2016/test_co2ToAirAboveGroundBiomassStockChangeLandUseChange.py,sha256=7IUZXz7IFudISwbu3-Um537jp-KGZ9pstFuIZ0Hi1ig,1229
612
620
  tests/models/blonkConsultants2016/test_landTransformationFromForest20YearAverageDuringCycle.py,sha256=0VrYyvnKnfTpElwHLKp2YxXXTQIbv5q8x10NCaZjzTs,1198
613
- tests/models/blonkConsultants2016/test_n2OToAirNaturalVegetationBurningDirect.py,sha256=JBDTKbPaP-enQLi7281NRDjgO_HtkWuQzREN3kyO5qU,1180
621
+ tests/models/blonkConsultants2016/test_n2OToAirNaturalVegetationBurningDirect.py,sha256=2ANnNfp4nl5NHUO8DdHIiAp5ojBL1vP2Bv4aekrBITk,1228
614
622
  tests/models/blonkConsultants2016/test_utils.py,sha256=9OYZVBui1pauU-ipisUGzQc9johzMYDkXhqYpCWROnU,456
615
623
  tests/models/chaudharyBrooks2018/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
616
624
  tests/models/chaudharyBrooks2018/test_damageToTerrestrialEcosystemsLandOccupation.py,sha256=zHIig6bQWb9XxAjcS-jRXQZxRfG5DwpTLNk9lCD_KMw,1908
@@ -639,9 +647,10 @@ tests/models/cycle/test_excretaKgVs.py,sha256=A5IzG9vcjJxba_ZjBeTprjGL4hO3NkwrS0
639
647
  tests/models/cycle/test_feedConversionRatio.py,sha256=V6zpZvUmBN0LciJW5YbHHaRQX6iEFdlFx9cSdX--owc,2149
640
648
  tests/models/cycle/test_inorganicFertiliser.py,sha256=c-JDYC0qDK4JWlYDaGX53AcKfetz_YifSfdhy-v-WMo,642
641
649
  tests/models/cycle/test_irrigatedTypeUnspecified.py,sha256=9YGwpDO_RHMaldvjJZ0xdrdfUzYDnLPt6nMJ2eRXSTI,2151
642
- tests/models/cycle/test_liveAnimal.py,sha256=7fRPgEnIwcir-tYwUNnr6gc2e5_vnZi-t8EuuiPioeM,2139
650
+ tests/models/cycle/test_liveAnimal.py,sha256=rKcd4GKl9kKlp4bft3HEr58Btv-cPQq94XdAL9O1ky8,2138
643
651
  tests/models/cycle/test_longFallowRatio.py,sha256=sztr1pysldwedTC78JWUHAVWl2oL0jTIQ13c6Nxzlso,1512
644
- tests/models/cycle/test_milkYield.py,sha256=7e5JJzLkc47OnQf3xni1Nkyq7N4xi1RglnE8caE9TfY,1778
652
+ tests/models/cycle/test_milkYield.py,sha256=gl0e9O0idVT6ld9mGc--EYWTJo452C2HOzGzHKrsq_g,1777
653
+ tests/models/cycle/test_otherSitesArea.py,sha256=Mop7guZXEyX4ZFOBpqzsbu-cuaBFAqfIRZhe-WEvVwc,2131
645
654
  tests/models/cycle/test_otherSitesUnusedDuration.py,sha256=zQejrYNwq14Pwe3d0zmfhxjdif5s_udbdVCiZcTuC8w,1635
646
655
  tests/models/cycle/test_pastureGrass.py,sha256=hNRjBLYXGybzHPMfBOCgcRjGkDBmW0k_G6tn9TLrycY,1025
647
656
  tests/models/cycle/test_pastureSystem.py,sha256=VlPn4mlaNimiu3liV5EMELJueUCqSSJ1l82yMV0UK90,1590
@@ -652,11 +661,12 @@ tests/models/cycle/test_residueBurnt.py,sha256=eBAzGR1210cBYH_s6oI1yCG6tVKUj9gGs
652
661
  tests/models/cycle/test_residueIncorporated.py,sha256=esB_wnpf6W0PB24HW0YUgtfD9mxLDIY22eNVD4WAYFA,1719
653
662
  tests/models/cycle/test_residueLeftOnField.py,sha256=_8CoSp-7z3BBLGN5Hv067FRYz8yDFw5fi_Cu5n6Rl3g,1290
654
663
  tests/models/cycle/test_residueRemoved.py,sha256=R5v8lwGyz_4a9_X_LnugBEmgVgcisS5LTM5GFCtKIco,1278
664
+ tests/models/cycle/test_siteArea.py,sha256=CFuYLfjTdjaJPwSl1NxpcnRHhTfmbqAtkY6NDWvGoss,1465
655
665
  tests/models/cycle/test_siteDuration.py,sha256=x98shgDOAPp7Bf8j7R251qzn4oVZyqmtlmwcoG2nVwE,2358
656
666
  tests/models/cycle/test_siteUnusedDuration.py,sha256=5h9R3guw6ErU_sE5omoiK9Fpke74SmQWsJYWYURE9Fo,1532
657
667
  tests/models/cycle/test_startDate.py,sha256=-U1_XIx8v5zxK3oK5fCIIsS7GFKymNh3m0SgJ0J2iZ8,1223
658
668
  tests/models/cycle/test_startDateDefinition.py,sha256=42BmsT1I7Jq_YMVN-VNU7a0fIZ2w3i5jgwy4H_r4dNM,920
659
- tests/models/cycle/test_stockingDensityAnimalHousingAverage.py,sha256=Pj3rxJNXF0rmGjRomZOHV6ZVngypzbVIGwAHbVIOLFI,1286
669
+ tests/models/cycle/test_stockingDensityAnimalHousingAverage.py,sha256=WlnuKxhK_3h6fWt036kfw1d8DIAt9L1vlsPDTiGCG18,1310
660
670
  tests/models/cycle/test_transformations.py,sha256=Ws_8KhNqeHogGFXTQ4qZXQ5Ph2I3ZUaY0yO1itFUHLk,464
661
671
  tests/models/cycle/test_unknownPreSeasonWaterRegime.py,sha256=4JSSpDvBQEQrDoytNVzuIcm9UVio4TzZpZm52iMWBVA,1220
662
672
  tests/models/cycle/animal/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -672,7 +682,7 @@ tests/models/cycle/completeness/test_electricityFuel.py,sha256=TbaSwsx8IIS1xWXhx
672
682
  tests/models/cycle/completeness/test_excretaManagement.py,sha256=GGKQTZZj_F6EkvTOVjunVixFC584HmsCgPP5H6radc8,345
673
683
  tests/models/cycle/completeness/test_material.py,sha256=bA1_32wmtdd77cD8vinkIjspZfheQuyeyum1fm-Ei0k,498
674
684
  tests/models/cycle/completeness/test_seed.py,sha256=txpypNeoX08QC3wPUd92gnWuvPTsVSqT9RJb6Z5AUUE,1018
675
- tests/models/cycle/completeness/test_soilAmendment.py,sha256=EjvXIKioQx4vCqrotD33kLZCtZTYohzYtXSifMGnO6w,636
685
+ tests/models/cycle/completeness/test_soilAmendment.py,sha256=2kXOyux6wVIbjIbsaCFNEN3Ic-RMLtli-pH7fAXZpo4,641
676
686
  tests/models/cycle/input/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
677
687
  tests/models/cycle/input/test_hestiaAggregatedData.py,sha256=qKe_XrIK9CTXx2V2XJefEOzx9A0GoZFwg4WUs3Hxkw4,3080
678
688
  tests/models/cycle/input/test_properties.py,sha256=5O2ubBE_WSLz5NRtLTGwsE-gADIcw7sZyJqL0w7GYcQ,1962
@@ -714,6 +724,7 @@ tests/models/emepEea2019/test_tspToAirAnimalHousing.py,sha256=4MNDsxIeUk5_3IvZwE
714
724
  tests/models/emepEea2019/test_utils.py,sha256=G6z8tEfWM0OPnUBaFCQgQyEi5-kRF_DqsqdYaPnzR_I,8761
715
725
  tests/models/environmentalFootprintV3/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
716
726
  tests/models/environmentalFootprintV3/test_freshwaterEcotoxicityPotentialCtue.py,sha256=lIgsdGh_0eDi-rPcCOrSSjVYNiET2GCSRkAHdugAkDk,851
727
+ tests/models/environmentalFootprintV3/test_soilQualityIndexLandOccupation.py,sha256=3UGN-FM6jn0IimqtjNHh-QlD41nmszrkU--SqlS-Mk8,4411
717
728
  tests/models/epa2014/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
718
729
  tests/models/epa2014/test_no3ToGroundwaterExcreta.py,sha256=ESVz4UURvQfhjGBTxjuAV_bymMBcvGNfLAkYMvNup9U,1217
719
730
  tests/models/fantkeEtAl2016/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -820,8 +831,9 @@ tests/models/ipcc2019/test_ch4ToAirAquacultureSystems.py,sha256=o7bHOS4JkwexRrDh
820
831
  tests/models/ipcc2019/test_ch4ToAirEntericFermentation.py,sha256=3Hv86L4X_Va2mZL4KI-36AV00z-KBbKo0cb2ABg6Rv8,7928
821
832
  tests/models/ipcc2019/test_ch4ToAirExcreta.py,sha256=e58NXmBW2SNVLUqQO9A66Xq6jiGTyhdFZDZk51JApF8,2902
822
833
  tests/models/ipcc2019/test_ch4ToAirFloodedRice.py,sha256=FAp5b45WdX5Ih4yGUOZ4CmVD8smW1Lw1tnulx9AKVBI,1980
834
+ tests/models/ipcc2019/test_co2ToAirCarbonStockChange_utils.py,sha256=uet7ue1K1zNtBRd-6uxC20Sxl0DOq_jT0wIMZ6LzBZY,2165
823
835
  tests/models/ipcc2019/test_co2ToAirLimeHydrolysis.py,sha256=e5iuZ-kQNEVih0ZRgRPWqaUtXcLpfkoU7sQypbqA9_Y,1345
824
- tests/models/ipcc2019/test_co2ToAirSoilOrganicCarbonStockChangeManagementChange.py,sha256=kUGdV_G1cb0bWzxhyMXnJVeiRrlOPv4v1UdHoXI3uM8,4423
836
+ tests/models/ipcc2019/test_co2ToAirSoilOrganicCarbonStockChangeManagementChange.py,sha256=WMWU3INQEy_hzrAP7gG36YeUFUcJaX8Y_JzHCLw4M6s,2852
825
837
  tests/models/ipcc2019/test_co2ToAirUreaHydrolysis.py,sha256=MmtEME0xjsa3KojFk_fxOLK6RZM_6p5HIpY2DOFHVu4,1530
826
838
  tests/models/ipcc2019/test_croppingDuration.py,sha256=gLRXeR6Tqa7ciD9KTRfsIflSeIIWT2iOpZMdcxAQla4,1871
827
839
  tests/models/ipcc2019/test_ligninContent.py,sha256=eIKEN__ab-0R52EhlhPSBiHnmTl6xOf1XbI33O-W9A4,4146
@@ -985,7 +997,7 @@ tests/models/pooreNemecek2018/test_plantationDensity.py,sha256=CCNloLCmTUADDya0n
985
997
  tests/models/pooreNemecek2018/test_plantationLifespan.py,sha256=Pcbnhbt_HVfEet12ndIyUu9yuFhTiworu-3vYNGlAVY,925
986
998
  tests/models/pooreNemecek2018/test_plantationProductiveLifespan.py,sha256=ifvjTXJxmbS3GH4a7S9T2mgPseajX8WL4KQ5lT_2Rus,935
987
999
  tests/models/pooreNemecek2018/test_rotationDuration.py,sha256=tD2E91beAXdyT-xf5QSqc7kp5UPDDEaCE-FgsoSGorg,923
988
- tests/models/pooreNemecek2018/test_saplings.py,sha256=uJyUWUocvrcPndv-YFLs0WfxGEAG1kM8HEWZwutRhvs,1621
1000
+ tests/models/pooreNemecek2018/test_saplings.py,sha256=S70y9JUplSH9MIrrBUkrGsVsN9ZEBplTugyR-b-n6ZY,1643
989
1001
  tests/models/poschEtAl2008/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
990
1002
  tests/models/poschEtAl2008/test_terrestrialAcidificationPotentialAccumulatedExceedance.py,sha256=NJ_W-ypWwjBuGiaXUeJvaQ9ZufoqlSWk1NYE9tt94ZA,1612
991
1003
  tests/models/poschEtAl2008/test_terrestrialEutrophicationPotentialAccumulatedExceedance.py,sha256=m-AUbdVDBEFEcmNOv13cYvNZQgDMYhHX33kfWywXQWM,1485
@@ -1060,7 +1072,7 @@ tests/models/site/test_brackishWater.py,sha256=YGCp4glaWudKklYBSp-50KbfvIRtp3F4Q
1060
1072
  tests/models/site/test_cationExchangeCapacityPerKgSoil.py,sha256=tNMhN998vcjQ15I-5mNnFh2d7mHzEBIBO6o1VSfQNUE,1075
1061
1073
  tests/models/site/test_flowingWater.py,sha256=t_rxvdlmUVDsFBoDF20_zDM-0iiLKkNCV7knO9l1T7o,1370
1062
1074
  tests/models/site/test_freshWater.py,sha256=GOeAxHhPW_2E1wQdQRX4W-r7mnb_LgmiAVLImitoApw,982
1063
- tests/models/site/test_management.py,sha256=eIZN1PKB3rlUVrHK_Bkwc3hald3-y68rIl8cRVGEDgk,14160
1075
+ tests/models/site/test_management.py,sha256=X3yfYTJEdMXtnEXkCizj1XNYBuA7hJSsqwUcEEyjoCY,7178
1064
1076
  tests/models/site/test_netPrimaryProduction.py,sha256=JCxG0MODbKVvl3hOqmKzh4FjHYn3Xs9KsVod6LvKQII,1108
1065
1077
  tests/models/site/test_organicCarbonPerHa.py,sha256=XtGrE7ZqthTF0x8lDxJ1slNd_GvYHEyEydcRgA46jEc,3207
1066
1078
  tests/models/site/test_organicCarbonPerKgSoil.py,sha256=0M-NMg_T3UXzGT_VlKOKhSxg4cZ0_zhd3FRgY5Hpj6o,1087
@@ -1116,13 +1128,13 @@ tests/models/transformation/product/test_excreta.py,sha256=Q9OQpk8qVPv3alIz2i5XQ
1116
1128
  tests/models/usetoxV2/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
1117
1129
  tests/models/usetoxV2/test_freshwaterEcotoxicityPotentialCtue.py,sha256=eq7Gcmfya9g0eOKKkuBhz8vq7xi_CmZ_LTSxueBwZt4,835
1118
1130
  tests/models/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
1119
- tests/models/utils/test_array_builders.py,sha256=1zTc5r6Y9fcQ3x67S9Am0G3ip4Kp9_MmiSqIvY-M6yc,6470
1120
- tests/models/utils/test_blank_node.py,sha256=QE7rIKiak2hkLWowlQvifGrLbZy7mP_xb6Os408wA3o,29563
1131
+ tests/models/utils/test_array_builders.py,sha256=uHxO4beJhdJD-1lI5aPEAsYziQP8SN7AJ9PEY67DpaI,8417
1132
+ tests/models/utils/test_blank_node.py,sha256=1zFutgEN0sUzA-hUT1dZNKAhqIXenN9xkAQXUUCqB5M,37624
1121
1133
  tests/models/utils/test_crop.py,sha256=ve_BqT2XuLTWAH-8YOnVY4nzMUSXYYXPB8S-5RtGlf4,463
1122
1134
  tests/models/utils/test_cropResidueManagement.py,sha256=RQt8lexeJzCyxZceIutgDpw7BpcqmjsUB0C0yZC2QpY,930
1123
1135
  tests/models/utils/test_currency.py,sha256=BPsojPsY9QW2aj8vgbjkPQXU8GU6wDwwtPZ3HdC4KTU,277
1124
1136
  tests/models/utils/test_dataCompleteness.py,sha256=mW6rA7ddhtjZsLxwo5xDnvBdxmqTsivy4RTIU-2Lvk0,1713
1125
- tests/models/utils/test_descriptive_stats.py,sha256=S-N4-JavFw8UQKju7QhvtimsAIe0TI4DjQT-0q_Y-Sk,3988
1137
+ tests/models/utils/test_descriptive_stats.py,sha256=BpCuUBzvrqc_LjXutIGyyVPhsmbpKiZggTvLibuGjKA,1282
1126
1138
  tests/models/utils/test_ecoClimateZone.py,sha256=Pzy1wuCqkz4Ftms-6eCxdYg1sdOVu8bobTNVd-TUm3U,4280
1127
1139
  tests/models/utils/test_emission.py,sha256=3KfhQGV5Vh_WXTPt6McvZ2dBp9TVM7eAUTLgRHkBOvU,2146
1128
1140
  tests/models/utils/test_feedipedia.py,sha256=S7c1W4bJ5xWXPh42pPbl3R7lDX_iEeaEtFaPXgB7hgE,906
@@ -1131,17 +1143,19 @@ tests/models/utils/test_indicator.py,sha256=GwYKV5N_yEPcJWz7FirRnK48rl62ofAn_TkA
1131
1143
  tests/models/utils/test_input.py,sha256=bSG6YKmT2ofY2oD5CGbNwR8-To-ihyNyr14Td5-jNRU,585
1132
1144
  tests/models/utils/test_liveAnimal.py,sha256=bntT4vULWsDF2DOigtiMjpS0gJS5ipalPsfrk-JxC-I,986
1133
1145
  tests/models/utils/test_lookup.py,sha256=107k7wsqDkxm_HFQ41W6gU1naslx3TXz1yDRQ5OhF10,401
1134
- tests/models/utils/test_measurement.py,sha256=8_sdjySFeZOAS9USZg_CxSSmSSxawutfG_zS-lwcnVI,4436
1146
+ tests/models/utils/test_measurement.py,sha256=KBJobXlBUOwf2KuUduM1oQSR22JX6Pq0h5e3TRbQn-w,3678
1135
1147
  tests/models/utils/test_practice.py,sha256=ILaxkb3qICor9AquAGYiOtA-YKnq0hppmJQzNC_VNyA,612
1136
1148
  tests/models/utils/test_product.py,sha256=kwvgAeeEoRgkeStX0zQcFd-4DJhoUhX6Apaks0MU2L0,2305
1137
1149
  tests/models/utils/test_property.py,sha256=t2npw86IK7C6G4ypiPtanFi0db4PB7G5VBR1GjRGl34,618
1138
1150
  tests/models/utils/test_site.py,sha256=9MXbP5JXl0mYaH-yVHJINnZu_MYwj-ogsJWZ3XTHxas,1196
1139
1151
  tests/models/utils/test_source.py,sha256=_Ol-OrJs2Tt9iZAZ_RY2qRuSbnE4yz5OuEGkDSbZPyI,631
1152
+ tests/models/utils/test_stats.py,sha256=S8MiRh_-VJ7bqpeVGFR4DxLhm_4WYq-1vK7Z_ryKCqI,7119
1140
1153
  tests/models/utils/test_term.py,sha256=M5Sa26v2gzQYbZ4H_fo7DspnaCx__-WtL-MULGapCWk,3509
1154
+ tests/models/utils/test_time_series.py,sha256=LMhRPf8rp3nAriKAC-2K3FDkrMWntRTUUCERw7Lt68g,2686
1141
1155
  tests/models/webbEtAl2012AndSintermannEtAl2012/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
1142
1156
  tests/models/webbEtAl2012AndSintermannEtAl2012/test_nh3ToAirOrganicFertiliser.py,sha256=qi2FNXS5Af2WDtm7nq_FsprH3BfCF0XxnE0XHmC4aIY,2244
1143
- hestia_earth_models-0.64.4.dist-info/LICENSE,sha256=AC7h7GAgCZGJK_Tzh6LUCrML9gQEfowWwecEw2w54QM,1154
1144
- hestia_earth_models-0.64.4.dist-info/METADATA,sha256=C3SCtTmEIhSB6heG-RANYgdLAN6qncOUSZra2tgwG3E,3343
1145
- hestia_earth_models-0.64.4.dist-info/WHEEL,sha256=eOLhNAGa2EW3wWl_TU484h7q1UNgy0JXjjoqKoxAAQc,92
1146
- hestia_earth_models-0.64.4.dist-info/top_level.txt,sha256=1dqA9TqpOLTEgpqa-YBsmbCmmNU1y56AtfFGEceZ2A0,19
1147
- hestia_earth_models-0.64.4.dist-info/RECORD,,
1157
+ hestia_earth_models-0.64.6.dist-info/LICENSE,sha256=AC7h7GAgCZGJK_Tzh6LUCrML9gQEfowWwecEw2w54QM,1154
1158
+ hestia_earth_models-0.64.6.dist-info/METADATA,sha256=taQ9SloAcfzJDxjgcUAZMjcjgHm4LwKkcIpm1m-c9-E,3343
1159
+ hestia_earth_models-0.64.6.dist-info/WHEEL,sha256=eOLhNAGa2EW3wWl_TU484h7q1UNgy0JXjjoqKoxAAQc,92
1160
+ hestia_earth_models-0.64.6.dist-info/top_level.txt,sha256=1dqA9TqpOLTEgpqa-YBsmbCmmNU1y56AtfFGEceZ2A0,19
1161
+ hestia_earth_models-0.64.6.dist-info/RECORD,,
@@ -13,12 +13,12 @@ fixtures_folder = f"{fixtures_path}/{MODEL}/{TERM_ID}"
13
13
  def test_should_run(mock_factor, mock_landOccupation):
14
14
  # with land occupation => no run
15
15
  mock_landOccupation.return_value = 10
16
- should_run, *args = _should_run({})
16
+ should_run, *args = _should_run({'functionalUnit': '1 ha'})
17
17
  assert not should_run
18
18
 
19
19
  # with emission factor => run
20
20
  mock_factor.return_value = 10
21
- should_run, *args = _should_run({})
21
+ should_run, *args = _should_run({'functionalUnit': '1 ha'})
22
22
  assert should_run is True
23
23
 
24
24
 
@@ -15,12 +15,12 @@ fixtures_folder = f"{fixtures_path}/{MODEL}/{TERM_ID}"
15
15
  def test_should_run(mock_factor, mock_landOccupation):
16
16
  # with land occupation => no run
17
17
  mock_landOccupation.return_value = 10
18
- should_run, *args = _should_run({})
18
+ should_run, *args = _should_run({'functionalUnit': '1 ha'})
19
19
  assert not should_run
20
20
 
21
21
  # with emission factor => run
22
22
  mock_factor.return_value = 10
23
- should_run, *args = _should_run({})
23
+ should_run, *args = _should_run({'functionalUnit': '1 ha'})
24
24
  assert should_run is True
25
25
 
26
26
 
@@ -13,12 +13,12 @@ fixtures_folder = f"{fixtures_path}/blonkConsultants2016/{TERM_ID}"
13
13
  def test_should_run(mock_factor, mock_landOccupation):
14
14
  # with land occupation => no run
15
15
  mock_landOccupation.return_value = 10
16
- should_run, *args = _should_run({})
16
+ should_run, *args = _should_run({'functionalUnit': '1 ha'})
17
17
  assert not should_run
18
18
 
19
19
  # with emission factor => run
20
20
  mock_factor.return_value = 10
21
- should_run, *args = _should_run({})
21
+ should_run, *args = _should_run({'functionalUnit': '1 ha'})
22
22
  assert should_run is True
23
23
 
24
24
 
@@ -5,7 +5,7 @@ from hestia_earth.models.cycle.completeness.soilAmendment import run, MODEL_KEY
5
5
  class_path = f"hestia_earth.models.cycle.completeness.{MODEL_KEY}"
6
6
 
7
7
 
8
- @patch(f"{class_path}.most_relevant_measurement")
8
+ @patch(f"{class_path}.most_relevant_blank_node_by_id")
9
9
  def test_run(mock_measurement):
10
10
  measurement = {}
11
11
  mock_measurement.return_value = measurement
@@ -9,7 +9,7 @@ class_path = f"hestia_earth.models.{MODEL}.{MODEL_KEY}"
9
9
  fixtures_folder = f"{fixtures_path}/{MODEL}/{MODEL_KEY}"
10
10
 
11
11
 
12
- @patch(f"{class_path}._get_liveAnimal_term_id", return_value='chicken')
12
+ @patch(f"{class_path}.get_liveAnimal_term_id", return_value='chicken')
13
13
  @patch(f"{class_path}.valid_site_type", return_value=False)
14
14
  @patch(f"{class_path}.find_primary_product", return_value=None)
15
15
  def test_should_run(mock_primary_product, mock_valid_site_type, *args):
@@ -9,7 +9,7 @@ class_path = f"hestia_earth.models.{MODEL}.{MODEL_KEY}"
9
9
  fixtures_folder = f"{fixtures_path}/{MODEL}/{MODEL_KEY}"
10
10
 
11
11
 
12
- @patch(f"{class_path}._get_liveAnimal_term_id", return_value='chicken')
12
+ @patch(f"{class_path}.get_liveAnimal_term_id", return_value='chicken')
13
13
  @patch(f"{class_path}.get_lookup_value", return_value='id')
14
14
  @patch(f"{class_path}.valid_site_type", return_value=False)
15
15
  def test_should_run(mock_valid_site_type, *args):
@@ -0,0 +1,68 @@
1
+ import json
2
+ import pytest
3
+ from tests.utils import fixtures_path
4
+
5
+ from hestia_earth.models.cycle import MODEL
6
+ from hestia_earth.models.cycle.otherSitesArea import MODEL_KEY, run, _should_run
7
+
8
+ fixtures_folder = f"{fixtures_path}/{MODEL}/{MODEL_KEY}"
9
+
10
+
11
+ @pytest.mark.parametrize(
12
+ 'test_name,cycle,expected_should_run',
13
+ [
14
+ (
15
+ 'no animals => no run',
16
+ {},
17
+ False
18
+ ),
19
+ (
20
+ 'with animals => no run',
21
+ {
22
+ 'animals': [{'term': {'termType': 'liveAnimal'}, 'value': 10}]
23
+ },
24
+ False
25
+ ),
26
+ (
27
+ 'with animals and otherSites => no run',
28
+ {
29
+ 'animals': [{'term': {'termType': 'liveAnimal'}, 'value': 10}],
30
+ 'otherSites': [{'siteType': 'animal housing'}]
31
+ },
32
+ False
33
+ ),
34
+ (
35
+ 'with animals, otherSites and stocking density => run',
36
+ {
37
+ 'animals': [{'term': {'termType': 'liveAnimal'}, 'value': 10}],
38
+ 'otherSites': [{'siteType': 'animal housing'}],
39
+ 'practices': [{'term': {'@id': 'stockingDensityAnimalHousingAverage'}, 'value': [10]}]
40
+ },
41
+ True
42
+ ),
43
+ (
44
+ 'with multiple animal housing sites => no run',
45
+ {
46
+ 'animals': [{'term': {'termType': 'liveAnimal'}, 'value': 10}],
47
+ 'site': {'siteType': 'animal housing'},
48
+ 'otherSites': [{'siteType': 'animal housing'}],
49
+ 'practices': [{'term': {'@id': 'stockingDensityAnimalHousingAverage'}, 'value': [10]}]
50
+ },
51
+ False
52
+ )
53
+ ]
54
+ )
55
+ def test_should_run(test_name, cycle, expected_should_run):
56
+ should_run = _should_run(cycle)
57
+ assert should_run == expected_should_run, test_name
58
+
59
+
60
+ def test_run():
61
+ with open(f"{fixtures_folder}/cycle.jsonld", encoding='utf-8') as f:
62
+ data = json.load(f)
63
+
64
+ with open(f"{fixtures_folder}/result.txt", encoding='utf-8') as f:
65
+ expected = f.read().strip()
66
+
67
+ value = run(data)
68
+ assert value == [float(expected), None]
@@ -0,0 +1,51 @@
1
+ import json
2
+ import pytest
3
+ from tests.utils import fixtures_path
4
+
5
+ from hestia_earth.models.cycle.siteArea import MODEL, MODEL_KEY, _should_run, run
6
+
7
+ fixtures_folder = f"{fixtures_path}/{MODEL}/{MODEL_KEY}"
8
+
9
+
10
+ @pytest.mark.parametrize(
11
+ 'test_name,cycle,site,expected_should_run',
12
+ [
13
+ (
14
+ 'no animals => no run',
15
+ {},
16
+ {'siteType': 'animal housing'},
17
+ False
18
+ ),
19
+ (
20
+ 'with animals => no run',
21
+ {
22
+ 'animals': [{'term': {'termType': 'liveAnimal'}, 'value': 10}]
23
+ },
24
+ {'siteType': 'animal housing'},
25
+ False
26
+ ),
27
+ (
28
+ 'with animals and stocking density => run',
29
+ {
30
+ 'animals': [{'term': {'termType': 'liveAnimal'}, 'value': 10}],
31
+ 'practices': [{'term': {'@id': 'stockingDensityAnimalHousingAverage'}, 'value': [10]}]
32
+ },
33
+ {'siteType': 'animal housing'},
34
+ True
35
+ )
36
+ ]
37
+ )
38
+ def test_should_run(test_name, cycle, site, expected_should_run):
39
+ should_run = _should_run(cycle, site)
40
+ assert should_run == expected_should_run, test_name
41
+
42
+
43
+ def test_run():
44
+ with open(f"{fixtures_folder}/cycle.jsonld", encoding='utf-8') as f:
45
+ data = json.load(f)
46
+
47
+ with open(f"{fixtures_folder}/result.txt", encoding='utf-8') as f:
48
+ expected = f.read().strip()
49
+
50
+ value = run(data)
51
+ assert float(value) == float(expected)
@@ -14,12 +14,12 @@ fixtures_folder = f"{fixtures_path}/{MODEL}/{TERM_ID}"
14
14
  [
15
15
  (
16
16
  'no live animal => no run',
17
- {'products': [{'term': {'termType': 'crop'}}]},
17
+ {'animals': [{'term': {'termType': 'crop'}, 'value': 10}]},
18
18
  False
19
19
  ),
20
20
  (
21
21
  'with live animal => run',
22
- {'products': [{'term': {'termType': 'liveAnimal'}}]},
22
+ {'animals': [{'term': {'termType': 'liveAnimal'}, 'value': 10}]},
23
23
  True
24
24
  ),
25
25
  ]