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

@@ -3650,19 +3650,19 @@ def _log_inventory(inventory: dict) -> str:
3650
3650
  group.get(_InventoryKey.CI_CATEGORY).value if group.get(_InventoryKey.CI_CATEGORY) else None
3651
3651
  ),
3652
3652
  "temperature-monthly": (
3653
- " ".join(f"{val:.1f}" for val in group.get(_InventoryKey.TEMP_MONTHLY))
3653
+ " ".join(f"{val:.1f}" for val in group.get(_InventoryKey.TEMP_MONTHLY, []))
3654
3654
  if group.get(_InventoryKey.TEMP_MONTHLY) else None
3655
3655
  ),
3656
3656
  "precipitation-monthly": (
3657
- " ".join(f"{val:.1f}" for val in group.get(_InventoryKey.PRECIP_MONTHLY))
3657
+ " ".join(f"{val:.1f}" for val in group.get(_InventoryKey.PRECIP_MONTHLY, []))
3658
3658
  if group.get(_InventoryKey.PRECIP_MONTHLY) else None
3659
3659
  ),
3660
3660
  "pet-monthly": (
3661
- " ".join(f"{val:.1f}" for val in group.get(_InventoryKey.PET_MONTHLY))
3661
+ " ".join(f"{val:.1f}" for val in group.get(_InventoryKey.PET_MONTHLY, []))
3662
3662
  if group.get(_InventoryKey.PET_MONTHLY) else None
3663
3663
  ),
3664
3664
  "irrigated-monthly": (
3665
- " ".join(str(val) for val in group.get(_InventoryKey.IRRIGATED_MONTHLY))
3665
+ " ".join(str(val) for val in group.get(_InventoryKey.IRRIGATED_MONTHLY, []))
3666
3666
  if group.get(_InventoryKey.PET_MONTHLY) else None
3667
3667
  ),
3668
3668
  "sand-content": group.get(_InventoryKey.SAND_CONTENT, None),
@@ -918,11 +918,11 @@
918
918
  },
919
919
  {
920
920
  "@type": "Term",
921
- "@id": "residueIncorporatedMoreThan30DaysBeforeCultivation"
921
+ "@id": "residueIncorporated"
922
922
  },
923
923
  {
924
924
  "@type": "Term",
925
- "@id": "residueIncorporated"
925
+ "@id": "residueIncorporatedMoreThan30DaysBeforeCultivation"
926
926
  },
927
927
  {
928
928
  "@type": "Term",
@@ -1028,11 +1028,11 @@
1028
1028
  },
1029
1029
  {
1030
1030
  "@type": "Term",
1031
- "@id": "digestibleEnergyPigs"
1031
+ "@id": "digestibleEnergySalmonids"
1032
1032
  },
1033
1033
  {
1034
1034
  "@type": "Term",
1035
- "@id": "digestibleEnergySalmonids"
1035
+ "@id": "digestibleEnergyPigs"
1036
1036
  },
1037
1037
  {
1038
1038
  "@type": "Term",
@@ -1111,43 +1111,43 @@
1111
1111
  "results": [
1112
1112
  {
1113
1113
  "@type": "Term",
1114
- "@id": "excretaInsectsKgN"
1114
+ "@id": "excretaPoultryKgN"
1115
1115
  },
1116
1116
  {
1117
1117
  "@type": "Term",
1118
- "@id": "excretaBeefCattleFeedlotFedKgN"
1118
+ "@id": "excretaGoatsKgN"
1119
1119
  },
1120
1120
  {
1121
1121
  "@type": "Term",
1122
- "@id": "excretaGeeseKgN"
1122
+ "@id": "excretaBeefCattleExceptFeedlotFedKgN"
1123
1123
  },
1124
1124
  {
1125
1125
  "@type": "Term",
1126
- "@id": "excretaKgN"
1126
+ "@id": "excretaDeerKgN"
1127
1127
  },
1128
1128
  {
1129
1129
  "@type": "Term",
1130
- "@id": "excretaPoultryKgN"
1130
+ "@id": "excretaSolidFishCrustaceansKgN"
1131
1131
  },
1132
1132
  {
1133
1133
  "@type": "Term",
1134
- "@id": "excretaGoatsKgN"
1134
+ "@id": "excretaDucksKgN"
1135
1135
  },
1136
1136
  {
1137
1137
  "@type": "Term",
1138
- "@id": "excretaBeefCattleExceptFeedlotFedKgN"
1138
+ "@id": "excretaInsectsKgN"
1139
1139
  },
1140
1140
  {
1141
1141
  "@type": "Term",
1142
- "@id": "excretaDeerKgN"
1142
+ "@id": "excretaBeefCattleFeedlotFedKgN"
1143
1143
  },
1144
1144
  {
1145
1145
  "@type": "Term",
1146
- "@id": "excretaSolidFishCrustaceansKgN"
1146
+ "@id": "excretaGeeseKgN"
1147
1147
  },
1148
1148
  {
1149
1149
  "@type": "Term",
1150
- "@id": "excretaDucksKgN"
1150
+ "@id": "excretaKgN"
1151
1151
  },
1152
1152
  {
1153
1153
  "@type": "Term",
@@ -1299,7 +1299,7 @@
1299
1299
  "@type": "Term",
1300
1300
  "name": "Generic crop, seed",
1301
1301
  "@id": "genericCropSeed",
1302
- "_score": 24.857483
1302
+ "_score": 23.9092
1303
1303
  }
1304
1304
  ]
1305
1305
  },
@@ -1337,31 +1337,19 @@
1337
1337
  "results": [
1338
1338
  {
1339
1339
  "@type": "Term",
1340
- "@id": "deepWater"
1340
+ "@id": "rainfedDeepWater"
1341
1341
  },
1342
1342
  {
1343
1343
  "@type": "Term",
1344
- "@id": "deepWaterWaterDepth50100Cm"
1344
+ "@id": "rainfedDeepWaterWaterDepth50100Cm"
1345
1345
  },
1346
1346
  {
1347
1347
  "@type": "Term",
1348
- "@id": "deepWaterWaterDepth100Cm"
1348
+ "@id": "rainfedDeepWaterWaterDepth100Cm"
1349
1349
  },
1350
1350
  {
1351
1351
  "@type": "Term",
1352
- "@id": "irrigatedContinuouslyFlooded"
1353
- },
1354
- {
1355
- "@type": "Term",
1356
- "@id": "irrigatedSurfaceIrrigation"
1357
- },
1358
- {
1359
- "@type": "Term",
1360
- "@id": "irrigated"
1361
- },
1362
- {
1363
- "@type": "Term",
1364
- "@id": "irrigatedManualIrrigation"
1352
+ "@id": "irrigatedTypeUnspecified"
1365
1353
  },
1366
1354
  {
1367
1355
  "@type": "Term",
@@ -1375,6 +1363,10 @@
1375
1363
  "@type": "Term",
1376
1364
  "@id": "irrigatedSubIrrigation"
1377
1365
  },
1366
+ {
1367
+ "@type": "Term",
1368
+ "@id": "irrigatedSurfaceIrrigationDrainageRegimeUnspecified"
1369
+ },
1378
1370
  {
1379
1371
  "@type": "Term",
1380
1372
  "@id": "irrigatedDripIrrigation"
@@ -1389,15 +1381,19 @@
1389
1381
  },
1390
1382
  {
1391
1383
  "@type": "Term",
1392
- "@id": "irrigatedSingleDrainagePeriod"
1384
+ "@id": "irrigatedCenterPivotIrrigation"
1393
1385
  },
1394
1386
  {
1395
1387
  "@type": "Term",
1396
- "@id": "irrigatedCenterPivotIrrigation"
1388
+ "@id": "irrigatedSurfaceIrrigationContinuouslyFlooded"
1397
1389
  },
1398
1390
  {
1399
1391
  "@type": "Term",
1400
- "@id": "irrigatedMultipleDrainagePeriods"
1392
+ "@id": "irrigatedSurfaceIrrigationMultipleDrainagePeriods"
1393
+ },
1394
+ {
1395
+ "@type": "Term",
1396
+ "@id": "irrigatedSurfaceIrrigationSingleDrainagePeriod"
1401
1397
  }
1402
1398
  ]
1403
1399
  },
@@ -1736,23 +1732,23 @@
1736
1732
  "results": [
1737
1733
  {
1738
1734
  "@type": "Term",
1739
- "@id": "fullTillage"
1735
+ "@id": "ridgeTillage"
1740
1736
  },
1741
1737
  {
1742
1738
  "@type": "Term",
1743
- "@id": "minimumTillage"
1739
+ "@id": "noTillage"
1744
1740
  },
1745
1741
  {
1746
1742
  "@type": "Term",
1747
- "@id": "ridgeTillage"
1743
+ "@id": "fullInversionTillage"
1748
1744
  },
1749
1745
  {
1750
1746
  "@type": "Term",
1751
- "@id": "noTillage"
1747
+ "@id": "fullTillage"
1752
1748
  },
1753
1749
  {
1754
1750
  "@type": "Term",
1755
- "@id": "fullInversionTillage"
1751
+ "@id": "minimumTillage"
1756
1752
  },
1757
1753
  {
1758
1754
  "@type": "Term",
@@ -61,7 +61,7 @@ def related_cycles(site_id: str):
61
61
  The related `Cycle`s as `dict`.
62
62
  """
63
63
  nodes = find_related(SchemaType.SITE, site_id, SchemaType.CYCLE)
64
- return list(map(lambda node: download_hestia(node.get('@id'), SchemaType.CYCLE), nodes or []))
64
+ return non_empty_list(map(lambda node: download_hestia(node.get('@id'), SchemaType.CYCLE), nodes or []))
65
65
 
66
66
 
67
67
  def _cycle_end_year(cycle: dict):
@@ -1 +1 @@
1
- VERSION = '0.59.0'
1
+ VERSION = '0.59.1'
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: hestia-earth-models
3
- Version: 0.59.0
3
+ Version: 0.59.1
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
@@ -3,7 +3,7 @@ hestia_earth/models/__init__.py,sha256=qEFeq3yuf3lQKVseALmL8aPM8fpCS54B_5pry00M3
3
3
  hestia_earth/models/cache_sites.py,sha256=kp_3D09P-JdAn9vt7eU-KKTwd6BAXWKQL_0UQCDsH2s,4798
4
4
  hestia_earth/models/log.py,sha256=b63I3qyTtQs17xxbq8RI0Fv2lvZ1oDZ9k0njhxqiFFk,3459
5
5
  hestia_earth/models/requirements.py,sha256=znNZJAhwX2iYiKcAQXPftY7z_1MsNa0QxCXkXyHm_U0,17363
6
- hestia_earth/models/version.py,sha256=xjXiXMg7lFhjsIJz6jJ7IE-CaCrZz77IQTZ8sCC-pnY,19
6
+ hestia_earth/models/version.py,sha256=LsmLTJIb3gRkCkowNKNONE3gjzMidoU3T3ZdHLRP_xc,19
7
7
  hestia_earth/models/agribalyse2016/__init__.py,sha256=WvK0qCQbnYtg9oZxrACd1wGormZyXibPtpCnIQeDqbw,415
8
8
  hestia_earth/models/agribalyse2016/fuelElectricity.py,sha256=mrh8seYSYdTgcMDCETLiknuPeJehg071YoG4UiyW0yU,4404
9
9
  hestia_earth/models/agribalyse2016/machineryInfrastructureDepreciatedAmountPerCycle.py,sha256=_Rbngu0DzHKa62JwBl58ZC_ui1zLF2que_nB7ukhOQc,3392
@@ -238,7 +238,7 @@ hestia_earth/models/ipcc2019/no3ToGroundwaterCropResidueDecomposition.py,sha256=
238
238
  hestia_earth/models/ipcc2019/no3ToGroundwaterExcreta.py,sha256=mJUXLGtg9EOZq9LH0KFOKvzER1ypCUucs0ZMaNYMShc,2991
239
239
  hestia_earth/models/ipcc2019/no3ToGroundwaterInorganicFertiliser.py,sha256=wTvMBthqmiKMn4nLbL4VD6_8_gGI2WGR3OYz3KK8sXs,3105
240
240
  hestia_earth/models/ipcc2019/no3ToGroundwaterOrganicFertiliser.py,sha256=zOhp6NhYUuUNU_LMMwhZBP78YC2XRWRlGnajBUX2AN8,3095
241
- hestia_earth/models/ipcc2019/organicCarbonPerHa.py,sha256=VQgYbFYoTkj-qnidHfIdb-2hcl29NMQ_xh0CIGkhYNI,141126
241
+ hestia_earth/models/ipcc2019/organicCarbonPerHa.py,sha256=7FXRYTrgFFdU1Fjo4HegfipiWPbY5ChcBi3qRfc7aXE,141142
242
242
  hestia_earth/models/ipcc2019/pastureGrass.py,sha256=CpDEtdnbKd_8eaDLcflJ-dGik3t879HIoEIzuaHNmC0,23168
243
243
  hestia_earth/models/ipcc2019/utils.py,sha256=1DfHJxVktu7vZMqj-yVjGb_59sHi7lu91GDnB5-qR4o,6504
244
244
  hestia_earth/models/ipcc2021/__init__.py,sha256=VTgGFKhwMmk_nuI1RRq0in27fHYVPBonlXlPK00K8no,409
@@ -341,7 +341,7 @@ hestia_earth/models/lcImpactCertainEffectsInfinite/damageToTerrestrialEcosystems
341
341
  hestia_earth/models/linkedImpactAssessment/__init__.py,sha256=GZb-7uylALKNabUQaPjwekZHqBBeVCuL3wG2OzHeEo8,4565
342
342
  hestia_earth/models/mocking/__init__.py,sha256=kmSeOTSvurMUxw7Ajhf3G-SVPQ1NgmirMTk4TSOEicY,765
343
343
  hestia_earth/models/mocking/mock_search.py,sha256=V-ycVBTkJu7PP37Ivy_16hpKBV4aEtJb5S9DfChPNSU,2038
344
- hestia_earth/models/mocking/search-results.json,sha256=VNWU4RlhEqEhL5vubdeCCre1_fQzz-_MczF5VjNsQXA,39752
344
+ hestia_earth/models/mocking/search-results.json,sha256=lqiVVybBoRY40119-ykY8FND8RfzK0WLCcBKlQzHE-8,39777
345
345
  hestia_earth/models/pooreNemecek2018/__init__.py,sha256=nPboL7ULJzL5nJD5q7q9VOZt_fxbKVm8fmn1Az5YkVY,417
346
346
  hestia_earth/models/pooreNemecek2018/aboveGroundCropResidueTotal.py,sha256=Qt-mel4dkhK6N5uUOutNOinCTFjbjtGzITaaI0LvYc4,2396
347
347
  hestia_earth/models/pooreNemecek2018/belowGroundCropResidue.py,sha256=JT0RybbvWVlo01FO8K0Yj41HrEaJT3Kj1xfayr2X-xw,2315
@@ -519,7 +519,7 @@ hestia_earth/models/utils/practice.py,sha256=tNadOzsrNlCEt801B815XaruJXzZ5yPASam
519
519
  hestia_earth/models/utils/product.py,sha256=XwxrRwdREWc4N5cE0oLJbLdEucKFRKgKNDj-Kd8mZEQ,9837
520
520
  hestia_earth/models/utils/productivity.py,sha256=bUBVCZInGqHuHZvHDSYPQkjWXQxOtTjEk-1-f_BsFOo,594
521
521
  hestia_earth/models/utils/property.py,sha256=7UV9pxSX49RnUsbEqOeohzxyXXShao1XAnEYCCVKS0k,4923
522
- hestia_earth/models/utils/site.py,sha256=3mV7lwKFdTGcb4Po1fRKHjsc3gtF680tX06M8UA7qvQ,3145
522
+ hestia_earth/models/utils/site.py,sha256=4i6rjvFIzOEcsNcF1B9I8OFdVR_iFDODcWgq2_XFXfc,3155
523
523
  hestia_earth/models/utils/source.py,sha256=HhZkvQoFdy6j6FC2cwP5EbHXHFM4pif9gpnuzeDwEh4,1746
524
524
  hestia_earth/models/utils/temperature.py,sha256=ljlG4-yCgFFb6LRZweb18cZKLrr7K2mqd4E4Hz_D1f8,476
525
525
  hestia_earth/models/utils/term.py,sha256=_DahtnHIS5wtyEXew3gpV52QjnsAWQZmyxnz4fu6mrI,17780
@@ -1017,8 +1017,8 @@ tests/models/utils/test_source.py,sha256=mv3vHZV5cjpoLA2I1109-YUkuzAiuhbRSnv_76_
1017
1017
  tests/models/utils/test_term.py,sha256=JJmzyHnhVGeQ7tG-T6DjE7CoIJPH0guH-y2kjGeZiJY,3756
1018
1018
  tests/models/webbEtAl2012AndSintermannEtAl2012/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
1019
1019
  tests/models/webbEtAl2012AndSintermannEtAl2012/test_nh3ToAirOrganicFertiliser.py,sha256=qi2FNXS5Af2WDtm7nq_FsprH3BfCF0XxnE0XHmC4aIY,2244
1020
- hestia_earth_models-0.59.0.dist-info/LICENSE,sha256=EFSZhfUdZCTsCIYdHzTGewMKfRfp7X9t1s2aaKxm8O0,1154
1021
- hestia_earth_models-0.59.0.dist-info/METADATA,sha256=PhYlKE9july6EQWJYvuzLIIB6syEag5c3G9KEIk3k0U,3134
1022
- hestia_earth_models-0.59.0.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
1023
- hestia_earth_models-0.59.0.dist-info/top_level.txt,sha256=1dqA9TqpOLTEgpqa-YBsmbCmmNU1y56AtfFGEceZ2A0,19
1024
- hestia_earth_models-0.59.0.dist-info/RECORD,,
1020
+ hestia_earth_models-0.59.1.dist-info/LICENSE,sha256=EFSZhfUdZCTsCIYdHzTGewMKfRfp7X9t1s2aaKxm8O0,1154
1021
+ hestia_earth_models-0.59.1.dist-info/METADATA,sha256=OmSflUlcdw-cSbja7uMHn26Do72YujIz0dol2DND0Ek,3134
1022
+ hestia_earth_models-0.59.1.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
1023
+ hestia_earth_models-0.59.1.dist-info/top_level.txt,sha256=1dqA9TqpOLTEgpqa-YBsmbCmmNU1y56AtfFGEceZ2A0,19
1024
+ hestia_earth_models-0.59.1.dist-info/RECORD,,