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

@@ -1 +1 @@
1
- VERSION = '0.74.15'
1
+ VERSION = '0.74.16'
@@ -1,12 +1,11 @@
1
- Metadata-Version: 2.1
2
- Name: hestia-earth-models
3
- Version: 0.74.15
1
+ Metadata-Version: 2.4
2
+ Name: hestia_earth_models
3
+ Version: 0.74.16
4
4
  Summary: HESTIA's set of modules for filling gaps in the activity data using external datasets (e.g. populating soil properties with a geospatial dataset using provided coordinates) and internal lookups (e.g. populating machinery use from fuel use). Includes rules for when gaps should be filled versus not (e.g. never gap fill yield, gap fill crop residue if yield provided etc.).
5
5
  Home-page: https://gitlab.com/hestia-earth/hestia-engine-models
6
6
  Author: HESTIA Team
7
7
  Author-email: guillaumeroyer.mail@gmail.com
8
8
  License: MIT
9
- Platform: UNKNOWN
10
9
  Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
11
10
  Classifier: Programming Language :: Python :: 3.6
12
11
  Description-Content-Type: text/markdown
@@ -19,6 +18,17 @@ Requires-Dist: pydash
19
18
  Requires-Dist: area
20
19
  Provides-Extra: spatial
21
20
  Requires-Dist: hestia-earth-earth-engine>=0.5.0; extra == "spatial"
21
+ Dynamic: author
22
+ Dynamic: author-email
23
+ Dynamic: classifier
24
+ Dynamic: description
25
+ Dynamic: description-content-type
26
+ Dynamic: home-page
27
+ Dynamic: license
28
+ Dynamic: license-file
29
+ Dynamic: provides-extra
30
+ Dynamic: requires-dist
31
+ Dynamic: summary
22
32
 
23
33
  # HESTIA Engine Models
24
34
 
@@ -94,5 +104,3 @@ ecoinvent is a consistent, transparent, and well validated life cycle inventory
94
104
  We use ecoinvent data to ascertain the environmental impacts of activities that occur outside of our system boundary, for example data on the environmental impacts of extracting oil and producing diesel, or the impacts of manufacturing plastics.
95
105
 
96
106
  The `ecoinventV3` model requires a valid [license](https://ecoinvent.org/offerings/licences/) to run. We are currently working on a way to enable users of this code with a valid ecoinvent licence to run these models themselves, but for now, these models are only available on the public platform.
97
-
98
-
@@ -1,11 +1,11 @@
1
1
  hestia_earth/__init__.py,sha256=G-d438vPx7m_ks5e9XTtM3u7LDRO5dSSukibukWmyPM,56
2
2
  hestia_earth/models/__init__.py,sha256=qEFeq3yuf3lQKVseALmL8aPM8fpCS54B_5pry00M3hk,76
3
- hestia_earth/models/cache_nodes.py,sha256=CqcTkvT0SQw-MKExUJgM3wDRt2sgdxgVYb6ylNnfC4I,5423
3
+ hestia_earth/models/cache_nodes.py,sha256=wJj3IrxGlZ1Ro7mWZe3ad5yeWzBtroJoaKuvK2FFTrw,5449
4
4
  hestia_earth/models/cache_sites.py,sha256=0TK08ewVobQkXQ-qph_uB_mfoOhEqcPr4KKwlPWgUKs,6439
5
- hestia_earth/models/log.py,sha256=CGQw2VGbGzVw0ezjlzejTFFUpaHvTED2meLFDW589eo,6362
5
+ hestia_earth/models/log.py,sha256=8rZGVAztD5Cy-w9MJWVN7U3pKyxuYHTYnrtn_LmGebI,6524
6
6
  hestia_earth/models/preload_requests.py,sha256=-eb4TA4m-A4bLcdAwbKqr3TIsDteVSXhJGCp95mQCew,2504
7
7
  hestia_earth/models/requirements.py,sha256=eU4yT443fx7BnaokhrLB_PCizJI7Y6m4auyo8vQauNg,17363
8
- hestia_earth/models/version.py,sha256=vO9Eir4oHyHd47pkxODdM0pYKudLMviS6FXpd_kDsSI,20
8
+ hestia_earth/models/version.py,sha256=pAjI0uPlS9PobHdqZ_gfWUEgMfjtQh6Isw1ziaZ56XM,20
9
9
  hestia_earth/models/agribalyse2016/__init__.py,sha256=WvK0qCQbnYtg9oZxrACd1wGormZyXibPtpCnIQeDqbw,415
10
10
  hestia_earth/models/agribalyse2016/fuelElectricity.py,sha256=FraWAl06a8OSqbAiHYYLv9e4fYZkVw42S9wikfjeTdw,4377
11
11
  hestia_earth/models/agribalyse2016/machineryInfrastructureDepreciatedAmountPerCycle.py,sha256=qRkDqpEt3WwleMfHdxMi2nezLmCAxa1TlJZ0IPHDTtI,2584
@@ -38,7 +38,7 @@ hestia_earth/models/cml2001NonBaseline/__init__.py,sha256=vI8wp8Og_e8DiJqYYvp33Y
38
38
  hestia_earth/models/cml2001NonBaseline/eutrophicationPotentialIncludingFateAverageEurope.py,sha256=i6zOr4KAe0FYBEnT9M7Aj1bQqtNqVYDZKYOJ4LLhHlE,972
39
39
  hestia_earth/models/cml2001NonBaseline/terrestrialAcidificationPotentialExcludingFate.py,sha256=JAzphWh_hY437frP0WLobRjnysMsESNcCaNthvCnGd8,966
40
40
  hestia_earth/models/config/Cycle.json,sha256=3QSThmSDNw0dDREXKnHnxyi1Jb8yCMprTmdjI2HcSlI,61355
41
- hestia_earth/models/config/ImpactAssessment.json,sha256=X_CgEB1m8M4uEubhvcgQSovwMwuwSSTFWfkTXM6tChU,61069
41
+ hestia_earth/models/config/ImpactAssessment.json,sha256=0t8zv-zZXMwhYqjLhSgXPrIBu1KbEWskvW2Mrtn2EXk,60405
42
42
  hestia_earth/models/config/Site.json,sha256=ygHgsrrBHKlj7gY7p_9lGXOGPNFWjZnfnnCHkeLhdOM,14992
43
43
  hestia_earth/models/config/__init__.py,sha256=7ZqOGd4dO2Stonte6fbktVZqbY7vp8Ls_LifgofCu8I,3009
44
44
  hestia_earth/models/config/run-calculations.json,sha256=e3nJ4M6CP1iFzfv8ou_ZUFbFxYkDxJgwuNDXTm4PBDc,615
@@ -68,7 +68,7 @@ hestia_earth/models/cycle/completeness/cropResidue.py,sha256=7SNfYvP4erJ2keem3DH
68
68
  hestia_earth/models/cycle/completeness/electricityFuel.py,sha256=ZXljdjAxYgu75GdHioYjNYTgF97LClEP_1g3hFcvJYU,1927
69
69
  hestia_earth/models/cycle/completeness/excreta.py,sha256=wgrinfKnsXMG4I01g0iyFIpz2Ir-T69YB00pgrM_zvY,821
70
70
  hestia_earth/models/cycle/completeness/freshForage.py,sha256=4gKLpZN_WxYU9W6VNpRshSu5oJktBVzbU_7XPhUKByY,2224
71
- hestia_earth/models/cycle/completeness/material.py,sha256=cF33MJkVBUnoicmecdsR78Snrv1Zng097aUeEfYDfdc,1185
71
+ hestia_earth/models/cycle/completeness/material.py,sha256=_O_gZavBa3P_6HSVQpvZKHkQ-zeNxOTxjUh_DN5LJNQ,1096
72
72
  hestia_earth/models/cycle/completeness/seed.py,sha256=vufXOV-KZ860U5DdoTno1WTuM3AK5-ecCUkeKDMiFyE,1775
73
73
  hestia_earth/models/cycle/completeness/soilAmendment.py,sha256=RQPq1Y5VWJbz50tKFtcW54DdQ1YT48mQOteidW8sFcQ,1226
74
74
  hestia_earth/models/cycle/input/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -242,7 +242,7 @@ hestia_earth/models/hestia/residueBurnt.py,sha256=2r53JRfR-im2rfxs9hRKEG4qyNSGxH
242
242
  hestia_earth/models/hestia/residueIncorporated.py,sha256=3Y3l5aiA040YqRpeRE6ljCYSehsp5x7gUYSgj5XyeJk,2679
243
243
  hestia_earth/models/hestia/residueLeftOnField.py,sha256=YKTb_FLcBfHGvnjBf7IC6XvIR4Zum3mnXLMdUWIasTw,2091
244
244
  hestia_earth/models/hestia/residueRemoved.py,sha256=zCGIfdC1DE51rkvK5uUSYxw6jTWI9ahEsrbFRTabIq8,4933
245
- hestia_earth/models/hestia/resourceUse_utils.py,sha256=ctjeJBu2AJ2WJ9ZlFPFBcnmMiyygmz6PSZCX6vV0s3Q,6153
245
+ hestia_earth/models/hestia/resourceUse_utils.py,sha256=fWdK9EnXy3kTHEG1rR7rUk6VyWhNJo4yUztpVShp-qk,7036
246
246
  hestia_earth/models/hestia/salineWater.py,sha256=6P0L24tD0-r4VoFt0Uh8djiMgtivGAePXmHlT0zJPUI,1266
247
247
  hestia_earth/models/hestia/seed_emissions.py,sha256=UbWTnfI76FRX9XSno09bxVSBKxKkuMv6zU7xEyVpVWk,12454
248
248
  hestia_earth/models/hestia/slope.py,sha256=2LdcRvRecUkwmlGVqWBQIeaYfRMvsSWKfS9hWvV_DbU,1160
@@ -310,13 +310,13 @@ hestia_earth/models/ipcc2019/ch4ToAirEntericFermentation.py,sha256=piSmwF1G5mYO3
310
310
  hestia_earth/models/ipcc2019/ch4ToAirExcreta.py,sha256=5Ujxec6f5lFZaPbKRcg7XMUBmyYeWcMdaR3ZQ6iStrQ,6489
311
311
  hestia_earth/models/ipcc2019/ch4ToAirFloodedRice.py,sha256=3173-WEI_4TpvPdl55VNpmXANPoM92o8hTqcGidj7ds,9979
312
312
  hestia_earth/models/ipcc2019/ch4ToAirOrganicSoilCultivation.py,sha256=0NX2SGFVXcT2bi-icSc-AiscLI2QqgVsOmWV05nOHpM,9552
313
- hestia_earth/models/ipcc2019/co2ToAirAboveGroundBiomassStockChange.py,sha256=HaqqfVT19OTp943QpPkdxv6R8eDSYmEddHq9J2fN6b0,4570
314
- hestia_earth/models/ipcc2019/co2ToAirBelowGroundBiomassStockChange.py,sha256=4kQ0jAnvr1tNS12_FCJpD3K5f9SCkMheNheXu2evaKE,4094
315
- hestia_earth/models/ipcc2019/co2ToAirBiocharStockChange.py,sha256=ngZcV_0Gyowccx5PXhYF56Q7YyxcvmfOjgXkU-Odyyw,3762
316
- hestia_earth/models/ipcc2019/co2ToAirCarbonStockChange_utils.py,sha256=Y9l9DZs9xsojplhFMLWdwNsvnzyMKijX_Y7fvFn3vwA,60998
313
+ hestia_earth/models/ipcc2019/co2ToAirAboveGroundBiomassStockChange.py,sha256=bt9JoG68MBg-u4tw_H7UdpOKj6MMz4QWLEa3ooerghw,4174
314
+ hestia_earth/models/ipcc2019/co2ToAirBelowGroundBiomassStockChange.py,sha256=DmvEDPjZeDv8ikby7vPGHVH-T_099-XbiNq-zHPX_1U,3699
315
+ hestia_earth/models/ipcc2019/co2ToAirBiocharStockChange.py,sha256=khkNR2Z5aFNiF098YLSqr0yQdVlXVXX2_ZagmCzB9PA,3509
316
+ hestia_earth/models/ipcc2019/co2ToAirCarbonStockChange_utils.py,sha256=TtE72p3TYsPYV1cdUCNO1gDK2y94JZG8Ra_wnNWTRt8,63246
317
317
  hestia_earth/models/ipcc2019/co2ToAirLimeHydrolysis.py,sha256=5ciisz0wFbjlwfshDzMlvRIjvw_E8NsphX0IulzVD3A,2479
318
318
  hestia_earth/models/ipcc2019/co2ToAirOrganicSoilCultivation.py,sha256=MZGAlJEGs7DiiFw40tGzx-e8ZMze7sgC-R2X-FZl3aE,7613
319
- hestia_earth/models/ipcc2019/co2ToAirSoilOrganicCarbonStockChange.py,sha256=Ti1koM7k_fV7iWklSFngYaBpAERf3yOaUM5BTbWmDxs,4106
319
+ hestia_earth/models/ipcc2019/co2ToAirSoilOrganicCarbonStockChange.py,sha256=CmKMmW0O6pDcg-uCUIhLXm2xf3c2AktxGS6Cl939xpY,3712
320
320
  hestia_earth/models/ipcc2019/co2ToAirUreaHydrolysis.py,sha256=IInWDQCfMQWd6rXDRZnLMQlaQGghVQJcwFSGtRMdkzo,3871
321
321
  hestia_earth/models/ipcc2019/croppingDuration.py,sha256=AEOnzVc8mbx0kHpm5BIEiXr1zP0IDUl9qKktNlgURnk,3080
322
322
  hestia_earth/models/ipcc2019/ligninContent.py,sha256=nAhwrl0b3pbGQnAycEESAzakdpXajONTnbhNwgPR7nw,7293
@@ -344,7 +344,7 @@ hestia_earth/models/ipcc2019/no3ToGroundwaterCropResidueDecomposition.py,sha256=
344
344
  hestia_earth/models/ipcc2019/no3ToGroundwaterExcreta.py,sha256=BV7kdeGlDbSQASBtYZuLNTQktrteaMWGJzIbG97flH0,4319
345
345
  hestia_earth/models/ipcc2019/no3ToGroundwaterInorganicFertiliser.py,sha256=zww-PDlLdz3XbrlXfW7F8nWzP3Iud1uLW-mRo8HZf2o,3250
346
346
  hestia_earth/models/ipcc2019/no3ToGroundwaterOrganicFertiliser.py,sha256=AHCYaj_al-cLFtvWHhxZLlrZfpjIyWg2rKR435qqGxM,3184
347
- hestia_earth/models/ipcc2019/nonCo2EmissionsToAirNaturalVegetationBurning.py,sha256=MSg_43Pybi5Tf2RVlSv_2pCBk2RSV6PiwoYlEm2Z0Hg,33455
347
+ hestia_earth/models/ipcc2019/nonCo2EmissionsToAirNaturalVegetationBurning.py,sha256=Yja5IxLgc-oRnKHCW7f1Yezr4Kb0uvjG3U5YBG_gCI8,33472
348
348
  hestia_earth/models/ipcc2019/noxToAirInorganicFertiliser.py,sha256=nBBiKzGMUYtHkU49AKBxQ7OdD61cb9_Ehe7ixFWKHR4,4336
349
349
  hestia_earth/models/ipcc2019/noxToAirOrganicFertiliser.py,sha256=yONOR8ppiOXQlPPz68GQ2_3MFzvnOQTJTHpJ956ubW0,4008
350
350
  hestia_earth/models/ipcc2019/organicCarbonPerHa.py,sha256=qYR1iB95Uz841xPe727ZYUtrRhg_Unbktf1YEjZHqyU,8000
@@ -472,7 +472,7 @@ hestia_earth/models/linkedImpactAssessment/utils.py,sha256=uxRu5thfTDGpCNIuv3Nak
472
472
  hestia_earth/models/mocking/__init__.py,sha256=-mJ_zrVWZSGc3awWW2YJfXAK3Nku77sAUgmmFa99Xmo,733
473
473
  hestia_earth/models/mocking/build_mock_search.py,sha256=p15ccEUmkmLp1RiGNznxMz3OFHbI8P1-29ExuohiQN8,1355
474
474
  hestia_earth/models/mocking/mock_search.py,sha256=uvklojTAbjDI7Jw43jGAUDcTHk1R3A3CWiYBJZI6rao,1493
475
- hestia_earth/models/mocking/search-results.json,sha256=Y38gcp5sPNm7P-Bd2dUk6XMpJGUKQAZNCOJRj37ZD70,103984
475
+ hestia_earth/models/mocking/search-results.json,sha256=p952Ct-tBlBsZZCWvszxcEg2Fkv2UpbLLE3QBoZrZtc,103986
476
476
  hestia_earth/models/pooreNemecek2018/__init__.py,sha256=nPboL7ULJzL5nJD5q7q9VOZt_fxbKVm8fmn1Az5YkVY,417
477
477
  hestia_earth/models/pooreNemecek2018/aboveGroundCropResidueTotal.py,sha256=FoiRk-bULfC9VbhT7L-wgjehrUkG_74XiG2WnW1Rc-U,2402
478
478
  hestia_earth/models/pooreNemecek2018/belowGroundCropResidue.py,sha256=r7Wqo5v29NrKfhDd0g1QCharR2k6H5XFyAsKZ6pvYKY,2321
@@ -675,6 +675,7 @@ hestia_earth/orchestrator/strategies/run/__init__.py,sha256=At0V8CI4vyiSY-Vh2PHM
675
675
  hestia_earth/orchestrator/strategies/run/add_blank_node_if_missing.py,sha256=lAfL-NK-gh2YQnTis2lIyb1uI_fsnwFWS10qwbga43M,2756
676
676
  hestia_earth/orchestrator/strategies/run/add_key_if_missing.py,sha256=t3U-v87XpbtpsvjA_r0Ftm7MhNkGB0kcUSGFlKBIK_I,352
677
677
  hestia_earth/orchestrator/strategies/run/always.py,sha256=D0In6_kr28s-fgqspawgvj5cgFClxGvepZYqtYsjWVE,217
678
+ hestia_earth_models-0.74.16.dist-info/licenses/LICENSE,sha256=TD25LoiRJsA5CPUNrcyt1PXlGcbUGFMAeZoBcfCrCNE,1154
678
679
  tests/models/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
679
680
  tests/models/test_cache_nodes.py,sha256=lSSoBGFVXpNv_TePSetls6QbnhfLC7dNLmfiFqT6WuY,1043
680
681
  tests/models/test_cache_sites.py,sha256=eZkbgAhfA-67GhPgE4lk8byHnYvX2Ate1KPsE6jH1-c,2954
@@ -880,7 +881,7 @@ tests/models/hestia/test_landCover.py,sha256=dk5mnmCNv6gamx-xf0-_uUR31kBNavL8T9_
880
881
  tests/models/hestia/test_landCover_utils.py,sha256=o5LJ2PwTmUkxKvdHXQsdltrxeyt5kCxwtMtZXMrXqNA,6891
881
882
  tests/models/hestia/test_landOccupationDuringCycle.py,sha256=0IVJH7jL8q6Gu4gVo-ENYNw8aetOb-nhzvRXsFqMBEQ,2428
882
883
  tests/models/hestia/test_landTransformation100YearAverageDuringCycle.py,sha256=3qa4rWUFqP1VM5-vm_182rhiBYJDxPqJwWtBqJ5K028,956
883
- tests/models/hestia/test_landTransformation20YearAverageDuringCycle.py,sha256=bUByojQuVeuCfko1_2YtNJi1PT9yktHlcbPi_p-MPvk,1001
884
+ tests/models/hestia/test_landTransformation20YearAverageDuringCycle.py,sha256=mFCru8NoHGYD6j1qNmmfbzhzJQhTNrhqdn1yJdsnp8E,1038
884
885
  tests/models/hestia/test_liveAnimal.py,sha256=3K9cL1fwr6LlBl1_D8zIaeCOuiExqkDEU7BXx1JK_dk,2139
885
886
  tests/models/hestia/test_longFallowRatio.py,sha256=OVd6NByAXeCAOx9ux_m8IJwnEF-fqIaBOoKFSGWhyO0,1513
886
887
  tests/models/hestia/test_management.py,sha256=ROWfDX-2aeeQXaflLPzOpiC6Qi5lsbMldBbFAlWKAUQ,2755
@@ -1298,8 +1299,7 @@ tests/orchestrator/strategies/run/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeR
1298
1299
  tests/orchestrator/strategies/run/test_add_blank_node_if_missing.py,sha256=K4xg4UAXfNhSaLyknKVPO7MGBF44Z_gD7CuZ_pe28gU,3512
1299
1300
  tests/orchestrator/strategies/run/test_add_key_if_missing.py,sha256=hKwvk1ohcBVnQUCTiDhRW99J0xEa29BpwFi1KC0yWLE,329
1300
1301
  tests/orchestrator/strategies/run/test_always.py,sha256=w5-Dhp6yLzgZGAeMRz3OrqZbbAed9gZ1O266a3z9k7w,134
1301
- hestia_earth_models-0.74.15.dist-info/LICENSE,sha256=TD25LoiRJsA5CPUNrcyt1PXlGcbUGFMAeZoBcfCrCNE,1154
1302
- hestia_earth_models-0.74.15.dist-info/METADATA,sha256=4AtIGfEZBnRYTvkOa0N9lH7i7jNOr1JhKFIAJ0kg4cM,4039
1303
- hestia_earth_models-0.74.15.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
1304
- hestia_earth_models-0.74.15.dist-info/top_level.txt,sha256=1dqA9TqpOLTEgpqa-YBsmbCmmNU1y56AtfFGEceZ2A0,19
1305
- hestia_earth_models-0.74.15.dist-info/RECORD,,
1302
+ hestia_earth_models-0.74.16.dist-info/METADATA,sha256=ycs7RzeRYtoGzBHHnfIw5MRX0sEEkYYcXRGbAznZPlY,4254
1303
+ hestia_earth_models-0.74.16.dist-info/WHEEL,sha256=SmOxYU7pzNKBqASvQJ7DjX3XGUF92lrGhMb3R6_iiqI,91
1304
+ hestia_earth_models-0.74.16.dist-info/top_level.txt,sha256=1dqA9TqpOLTEgpqa-YBsmbCmmNU1y56AtfFGEceZ2A0,19
1305
+ hestia_earth_models-0.74.16.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: bdist_wheel (0.45.1)
2
+ Generator: setuptools (79.0.1)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5
 
@@ -1,3 +1,4 @@
1
+ import os
1
2
  import json
2
3
  from unittest.mock import patch, Mock
3
4
  import pytest
@@ -10,15 +11,10 @@ from hestia_earth.models.hestia.landTransformation20YearAverageDuringCycle impor
10
11
  class_path = f"hestia_earth.models.{MODEL}.{TERM_ID}"
11
12
  fixtures_folder = f"{fixtures_path}/{MODEL}/{TERM_ID}"
12
13
 
14
+ _folders = [d for d in os.listdir(fixtures_folder) if os.path.isdir(os.path.join(fixtures_folder, d))]
13
15
 
14
- @pytest.mark.parametrize(
15
- "subfolder",
16
- [
17
- "maize_brazil",
18
- "orange_iran",
19
- "aggregated"
20
- ]
21
- )
16
+
17
+ @pytest.mark.parametrize("subfolder", _folders)
22
18
  @patch("hestia_earth.models.hestia.resourceUse_utils._new_indicator", side_effect=fake_new_indicator)
23
19
  def test_run(mock_new_indicator: Mock, subfolder):
24
20
  folder = f"{fixtures_folder}/{subfolder}"