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

@@ -37,9 +37,9 @@ def group_by(values: list, keys: list):
37
37
  return reduce(_group_by, values, {})
38
38
 
39
39
 
40
- def value_with_precision(value):
40
+ def value_with_precision(value, digits: int = 3):
41
41
  def _to_precision(value):
42
- return to_precision(value) if is_number(value) and value else value
42
+ return to_precision(value, digits=digits) if is_number(value) and value else value
43
43
 
44
44
  return list(map(_to_precision, value)) if isinstance(value, list) else _to_precision(value)
45
45
 
@@ -50,9 +50,9 @@ def link_inputs_to_impact(model: str, cycle: dict, inputs: list, **log_args):
50
50
  return non_empty_list(map(_link_input_to_impact(model, cycle, date, **log_args), inputs))
51
51
 
52
52
 
53
- def _should_aggregate_input(term: dict):
53
+ def _should_not_skip_input(term: dict):
54
54
  lookup = download_lookup(f"{term.get('termType')}.csv", True)
55
- value = get_table_value(lookup, 'termid', term.get('@id'), column_name('skipAggregation'))
55
+ value = get_table_value(lookup, 'termid', term.get('@id'), column_name('skipLinkedImpactAssessment'))
56
56
  return True if value is None or value == '' else not value
57
57
 
58
58
 
@@ -60,7 +60,7 @@ def should_link_input_to_impact(cycle: dict):
60
60
  def should_run(input: dict):
61
61
  term = input.get('term', {})
62
62
  return all([
63
- _should_aggregate_input(term),
63
+ _should_not_skip_input(term),
64
64
  # make sure Input is not a Product as well or we might double-count emissions
65
65
  find_term_match(cycle.get('products', []), term.get('@id'), None) is None,
66
66
  not input.get('impactAssessment'),
@@ -7,7 +7,7 @@ from hestia_earth.utils.lookup import (
7
7
  extract_grouped_data,
8
8
  _get_single_table_value
9
9
  )
10
- from hestia_earth.utils.tools import list_sum, safe_parse_float, non_empty_list
10
+ from hestia_earth.utils.tools import list_sum, safe_parse_float
11
11
 
12
12
  from ..log import debugValues, log_as_table, debugMissingLookup
13
13
 
@@ -157,19 +157,19 @@ def all_factor_value(
157
157
 
158
158
  has_values = len(values) > 0
159
159
  missing_values = set([
160
- '_'.join(non_empty_list([v.get('id'), v.get('region-id')]))
160
+ (v.get('id'), v.get('region-id'))
161
161
  for v in values
162
162
  if v.get('value') and v.get('coefficient') is None
163
163
  ])
164
164
  all_with_factors = not missing_values
165
165
 
166
166
  for missing_value in missing_values:
167
- debug_values = missing_value.split('_')
167
+ term_id, region_id = missing_value
168
168
  debugMissingLookup(
169
169
  lookup_name=lookup_name,
170
170
  row='termid',
171
- row_value=debug_values[1] if len(debug_values) == 2 else debug_values[0],
172
- col=debug_values[0] if len(debug_values) == 2 else lookup_col,
171
+ row_value=region_id or term_id,
172
+ col=term_id if region_id else lookup_col,
173
173
  value=None,
174
174
  model=log_model,
175
175
  term=log_term_id
@@ -179,11 +179,10 @@ def all_factor_value(
179
179
  all_with_factors=all_with_factors,
180
180
  missing_lookup_factor=log_as_table([
181
181
  {
182
- 'id': v.split('_')[0]
183
- } | ({
184
- 'region-id': v.split('_')[1]
185
- } if len(v.split('_')) == 2 else {})
186
- for v in missing_values
182
+ 'id': term_id,
183
+ 'region-id': region_id
184
+ }
185
+ for term_id, region_id in missing_values
187
186
  ]),
188
187
  has_values=has_values,
189
188
  values_used=log_as_table([v for v in values if v.get('coefficient')]))
@@ -1 +1 @@
1
- VERSION = '0.74.12'
1
+ VERSION = '0.74.14'
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: hestia-earth-models
3
- Version: 0.74.12
3
+ Version: 0.74.14
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
@@ -5,7 +5,7 @@ hestia_earth/models/cache_sites.py,sha256=0TK08ewVobQkXQ-qph_uB_mfoOhEqcPr4KKwlP
5
5
  hestia_earth/models/log.py,sha256=LQ6nRMc5q8-xs8DsAx9h8drWhWLkqDG9dFlG9OzFbeA,3780
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=ZEE-RVrR63VR3wkq2fxUlwxN-0PNqn2D-HD5535mim8,20
8
+ hestia_earth/models/version.py,sha256=noG1XCadYSEVGYviT7rLRj7dzkDk6OTfRfjjFDgUG0E,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=v3dQizWYrQ4i2LoTqlZ1HDIu5P3xvjk2Y28k_wJX3Rc,61003
41
+ hestia_earth/models/config/ImpactAssessment.json,sha256=X_CgEB1m8M4uEubhvcgQSovwMwuwSSTFWfkTXM6tChU,61069
42
42
  hestia_earth/models/config/Site.json,sha256=8yQKu7XpwMy7Qmm4UJkrzLUcHdz-viPyU6tKFphGx2E,14790
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
@@ -103,9 +103,9 @@ hestia_earth/models/data/hestiaAggregatedData/__init__.py,sha256=vUYbY-Es_kBSg8C
103
103
  hestia_earth/models/deRuijterEtAl2010/__init__.py,sha256=lbH6mB98dmZZlwdZctNYtEmVwAow957l80Dv7JSPDsI,418
104
104
  hestia_earth/models/deRuijterEtAl2010/nh3ToAirCropResidueDecomposition.py,sha256=NP6LfOifE7zSz9dUJRgIpGajJdA6lUtdOF_1S9rXKi8,3283
105
105
  hestia_earth/models/ecoalimV9/__init__.py,sha256=_evwL-DZejYohms9PUi4TNqLic44-UbOzw178wak7Pk,410
106
- hestia_earth/models/ecoalimV9/cycle.py,sha256=rnXWQWnvhAQhgXJdZhvcAbRJ6qaW49H3tOpYxG5HOtE,4946
106
+ hestia_earth/models/ecoalimV9/cycle.py,sha256=XSVxQ3_297HpbqBEjF6YRKQZkTED2NbslCLcSbOB8FY,5525
107
107
  hestia_earth/models/ecoalimV9/impact_assessment.py,sha256=t0LU31qmNzYMF79OnxQwsobgNdf5y8dALJ0aRHR8yL8,5135
108
- hestia_earth/models/ecoalimV9/utils.py,sha256=EvzVfllJUbHfl2Q79ojK9fCdYLl58U48ql3PonNqLmI,1348
108
+ hestia_earth/models/ecoalimV9/utils.py,sha256=bnsc9qjQDRLjTEwGNmACMToyIZ5p7AUfbFpf3OcZ79c,3078
109
109
  hestia_earth/models/ecoinventV3/__init__.py,sha256=ucIV9cYq4nH-BTMiDerL6_XvTAGlyU8On-2RnxJRghc,412
110
110
  hestia_earth/models/ecoinventV3/cycle.py,sha256=JHuXNqIg2tjcToO2KyEfe8t6U74yln4mHh2RIwTE6kc,5327
111
111
  hestia_earth/models/ecoinventV3/utils.py,sha256=1bCssR0Ffof_Lf56898vGZKX7PXYbKMNTmrQcSEDEMA,1385
@@ -129,7 +129,7 @@ hestia_earth/models/emepEea2019/tspToAirAnimalHousing.py,sha256=TaT5GyYK6MyJQHKA
129
129
  hestia_earth/models/emepEea2019/utils.py,sha256=avwNzVQKUgFDq-XyqVrGHiJG5WBrfxGfU94yKPz6TzQ,2947
130
130
  hestia_earth/models/emissionNotRelevant/__init__.py,sha256=gPILCub3_rKxwDNH9WmeltkAsMTnV2wkQZlNj019UIE,3029
131
131
  hestia_earth/models/environmentalFootprintV3_1/__init__.py,sha256=tF2WrWiV1Wzi2vnRiNXdfPWfmVxgVu9w9-7eA6PA7-s,473
132
- hestia_earth/models/environmentalFootprintV3_1/environmentalFootprintSingleOverallScore.py,sha256=-ktzRYdyKDea80QSLZGye7rD4AKneGHSIY36oA4B44Y,5673
132
+ hestia_earth/models/environmentalFootprintV3_1/environmentalFootprintSingleOverallScore.py,sha256=zxyQftjaZMRLdtMB5Z2oCspgH7r2EmBRgvfj70CqLJ4,5871
133
133
  hestia_earth/models/environmentalFootprintV3_1/freshwaterEcotoxicityPotentialCtue.py,sha256=XEOu4Vp-70B5KZU0gobHcN5d3R97YsEsfq-lwqvkek0,793
134
134
  hestia_earth/models/environmentalFootprintV3_1/marineEutrophicationPotential.py,sha256=LismaHPP9r3-F6KxvhYioNkVkjrkLbBSNQxClaiVXbk,938
135
135
  hestia_earth/models/environmentalFootprintV3_1/photochemicalOzoneCreationPotentialHumanHealthNmvocEq.py,sha256=d5dc-vHVH-TplFp9tHvSPfUYOQ1pZ42ytJdLazMEJSs,976
@@ -212,8 +212,8 @@ hestia_earth/models/hestia/freshWater.py,sha256=g8H7NL0Q22AG3NQpebylLU6VNfpwbrJ5
212
212
  hestia_earth/models/hestia/histosol.py,sha256=-CwOFOVexQpPyZcqGjU0fe5aI7oxlw945bCrfyG9md0,1595
213
213
  hestia_earth/models/hestia/inorganicFertiliser.py,sha256=S0LyeoWfczSllGu6js6BORV5vMsWWJwmynrWgUz_aBY,8639
214
214
  hestia_earth/models/hestia/irrigatedTypeUnspecified.py,sha256=3qKc7lUOfwiCEfM0MALih3UCAWFnWiHwHk7ocxxF7O0,1855
215
- hestia_earth/models/hestia/landCover.py,sha256=BpA2U-qMSqEPMKQvBpl6aVbjH8oIT1yK9mdd68d0jhw,12410
216
- hestia_earth/models/hestia/landCover_utils.py,sha256=jPmQsTDqiu4GvROWjHNAt5Q96jdoyWM9XvEKWgmBJCg,29855
215
+ hestia_earth/models/hestia/landCover.py,sha256=eg43qTmsKiraPFwfgtHGScJHt_pCNtakc_iurKkUqwo,11914
216
+ hestia_earth/models/hestia/landCover_utils.py,sha256=QbDJIKWQb9ggDIxq0s8ipRHDK7Lvi-Ak68PBpNrdy74,29647
217
217
  hestia_earth/models/hestia/landOccupationDuringCycle.py,sha256=CxnT1gktOY8AK02FhvBt6qeynOcoTDAbyOmFneu2LaU,9555
218
218
  hestia_earth/models/hestia/landTransformation100YearAverageDuringCycle.py,sha256=Bd8rD4ioiXvlKCTtYva_Cj3yqIgi2ykeVmCDtjgeY4A,1202
219
219
  hestia_earth/models/hestia/landTransformation20YearAverageDuringCycle.py,sha256=yWbnkjvV87M8lUcSR5nxJGunX3Ne3wdVvBMR2b1K_Sc,1200
@@ -305,7 +305,7 @@ hestia_earth/models/ipcc2019/biocharOrganicCarbonPerHa.py,sha256=5y3dWGGuAzNXpNJ
305
305
  hestia_earth/models/ipcc2019/biomass_utils.py,sha256=NkTPGMl-0tqvhUZKZ1rxW0XTBnZOvgFJki_IPzEEyu0,15796
306
306
  hestia_earth/models/ipcc2019/carbonContent.py,sha256=XhXDu6DRQxANBsRsCEgw4f0UJDOgWsvhVyEwK1-4YT0,7263
307
307
  hestia_earth/models/ipcc2019/ch4ToAirAquacultureSystems.py,sha256=n1hG-p67BTXkJATvX1em6255WY0mJxk7SojzBwebtnQ,3385
308
- hestia_earth/models/ipcc2019/ch4ToAirEntericFermentation.py,sha256=FVQWXsK92KkV10O8cP0oquNNCTMgjzH8HRoMLpwYP1Q,12121
308
+ hestia_earth/models/ipcc2019/ch4ToAirEntericFermentation.py,sha256=piSmwF1G5mYO32_WWncq_k5PaJ0EWrYguVEl_vns6-Q,12167
309
309
  hestia_earth/models/ipcc2019/ch4ToAirExcreta.py,sha256=5Ujxec6f5lFZaPbKRcg7XMUBmyYeWcMdaR3ZQ6iStrQ,6489
310
310
  hestia_earth/models/ipcc2019/ch4ToAirFloodedRice.py,sha256=3173-WEI_4TpvPdl55VNpmXANPoM92o8hTqcGidj7ds,9979
311
311
  hestia_earth/models/ipcc2019/ch4ToAirOrganicSoilCultivation.py,sha256=MG3zsm07JMVm7uRHQ8MtzG_0iswWSIIer2XsYWMXeUU,9555
@@ -471,7 +471,7 @@ hestia_earth/models/linkedImpactAssessment/utils.py,sha256=uxRu5thfTDGpCNIuv3Nak
471
471
  hestia_earth/models/mocking/__init__.py,sha256=-mJ_zrVWZSGc3awWW2YJfXAK3Nku77sAUgmmFa99Xmo,733
472
472
  hestia_earth/models/mocking/build_mock_search.py,sha256=p15ccEUmkmLp1RiGNznxMz3OFHbI8P1-29ExuohiQN8,1355
473
473
  hestia_earth/models/mocking/mock_search.py,sha256=uvklojTAbjDI7Jw43jGAUDcTHk1R3A3CWiYBJZI6rao,1493
474
- hestia_earth/models/mocking/search-results.json,sha256=0YIrCc0nd1sHlB2abV83wAY6i1M5C_-3TKa7YR3fsOM,103943
474
+ hestia_earth/models/mocking/search-results.json,sha256=gt_rTuhkPbXXkuEhnNZS3ttsi79fo_pXoW9Jnt4w_IA,103981
475
475
  hestia_earth/models/pooreNemecek2018/__init__.py,sha256=nPboL7ULJzL5nJD5q7q9VOZt_fxbKVm8fmn1Az5YkVY,417
476
476
  hestia_earth/models/pooreNemecek2018/aboveGroundCropResidueTotal.py,sha256=FoiRk-bULfC9VbhT7L-wgjehrUkG_74XiG2WnW1Rc-U,2402
477
477
  hestia_earth/models/pooreNemecek2018/belowGroundCropResidue.py,sha256=r7Wqo5v29NrKfhDd0g1QCharR2k6H5XFyAsKZ6pvYKY,2321
@@ -613,8 +613,8 @@ hestia_earth/models/transformation/product/__init__.py,sha256=47DEQpj8HBSa-_TImW
613
613
  hestia_earth/models/transformation/product/excreta.py,sha256=q4IuG48TyuoKxMs1TiB6FnhsILWTBCpc5NC0xLY7alM,5398
614
614
  hestia_earth/models/usetoxV2/__init__.py,sha256=pK37V3H-KvYcvRKw4Mv8CWrB2N0LFLzmv0jKLdhGGqs,409
615
615
  hestia_earth/models/usetoxV2/freshwaterEcotoxicityPotentialCtue.py,sha256=KVagbCNTceMTj2HGni-b6GwAN2oUzmY91Ru4fJT2ytA,793
616
- hestia_earth/models/utils/__init__.py,sha256=ZF_Nl39RS23qx4J5eELRi5AJ0q_IPxgOxpLXgppHees,8136
617
- hestia_earth/models/utils/aggregated.py,sha256=wS9S8GljTuUYkueyoHaFRIGf-FcoBnRMznsi-7-sbKE,3044
616
+ hestia_earth/models/utils/__init__.py,sha256=hMiWAk1AWHqQwatxVLEKIIAwcT4NbYqJzJCNja4vjTs,8168
617
+ hestia_earth/models/utils/aggregated.py,sha256=IJ24J79bbLTOek5VV9SDxbv2PuFxoyrzEY9gQTL_dk4,3053
618
618
  hestia_earth/models/utils/animalProduct.py,sha256=M5IunAKGY6oZv3j1Ascl34ywyeLWApqOIlBzbtlA2FE,721
619
619
  hestia_earth/models/utils/aquacultureManagement.py,sha256=dxrbC1Xf140cohxTbSw6TxLAnAASWTdNZwBBam4yQnw,171
620
620
  hestia_earth/models/utils/background_emissions.py,sha256=hCQQ5W50xqniLvPaZu__bZpK9A16ymH7rhd8KijzWLQ,6957
@@ -639,7 +639,7 @@ hestia_earth/models/utils/inorganicFertiliser.py,sha256=2Uq6ATWwb_YYRzBCMdrlVWyC
639
639
  hestia_earth/models/utils/input.py,sha256=KF248eAezwMwDy29xGo0LtWswvH0g1V_sh3gd9_kH2U,6699
640
640
  hestia_earth/models/utils/landCover.py,sha256=8-nfynzCx9gf9YfhpuoH6Cn4kQwWFpYA5RmoGW-0ETE,300
641
641
  hestia_earth/models/utils/liveAnimal.py,sha256=-ufUs00ALXRKGbrRJi7a7eTWVvkEj_pxLDWYbMJmx2g,1770
642
- hestia_earth/models/utils/lookup.py,sha256=f_04Te0O6WgLXFrCXGVmCKUj0vAo8IaYCGgC-EKDzzk,8105
642
+ hestia_earth/models/utils/lookup.py,sha256=RMbigN3cTjFuJU2yx-KWtS3oY2xufCMey8bgzvMwJLg,7937
643
643
  hestia_earth/models/utils/management.py,sha256=PCL72hDaMrddaP6hNsItMxx35yyGtiSEWnePs_s40LE,792
644
644
  hestia_earth/models/utils/measurement.py,sha256=cZCDhI0iLKFdGzvWSu4JK8E1ylv61unoMbETrl5u3Hw,11972
645
645
  hestia_earth/models/utils/method.py,sha256=c_HnijbjCTiIK0Juhf34gvXtseCyi0ox8NMoOURIQW8,757
@@ -770,7 +770,7 @@ tests/models/data/test_hestiaAggregatedData.py,sha256=m72rayilqxzJ3SzamDdIQ7ZVAP
770
770
  tests/models/deRuijterEtAl2010/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
771
771
  tests/models/deRuijterEtAl2010/test_nh3ToAirCropResidueDecomposition.py,sha256=kS1nUBVohOSCb386g6Wq7iVclmx0haekUDYo7VQ4NCA,2030
772
772
  tests/models/ecoalimV9/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
773
- tests/models/ecoalimV9/test_cycle.py,sha256=BWaZhVSt9zNFnju12m809Nxa2edj5OkWxSUn6FT7V7U,653
773
+ tests/models/ecoalimV9/test_cycle.py,sha256=70Z01oG3Xo3p8S8fxUcWFiX9aU4c4sx7q2oxBbBHAe0,693
774
774
  tests/models/ecoalimV9/test_impact_assessment.py,sha256=5h9jx7wSPah_FvRDyT-NEejRKlXc5ZmtVucHfkxVMQ8,862
775
775
  tests/models/ecoinventV3/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
776
776
  tests/models/ecoinventV3/test_cycle.py,sha256=jOX-1Xmp8rFzGammioA3zPwPq-w5CS3GeEJ5vUoX0JU,2030
@@ -874,7 +874,7 @@ tests/models/hestia/test_freshWater.py,sha256=v2UD69csKrniKP3MXkOEHxQeE6O3-lvIVi
874
874
  tests/models/hestia/test_histosol.py,sha256=7g-3wQPZok2O8mExcnKZxO_T2Ye_h3UHv3HG3Kn8orM,888
875
875
  tests/models/hestia/test_inorganicFertiliser.py,sha256=v2Zs1Ig-ChOaq9gXuurcBt12izkH2bRUUuzW6rh3rqQ,643
876
876
  tests/models/hestia/test_irrigatedTypeUnspecified.py,sha256=bluZADFagxfXW4QyI0CIJzG97D2V33w333Z9Vwjqo0M,2015
877
- tests/models/hestia/test_landCover.py,sha256=uy2asaVHRytEDo9F1zGoF0UDVNDZLm04IUp5SVgVBPY,4228
877
+ tests/models/hestia/test_landCover.py,sha256=dk5mnmCNv6gamx-xf0-_uUR31kBNavL8T9_FOsSwMZE,4234
878
878
  tests/models/hestia/test_landCover_utils.py,sha256=o5LJ2PwTmUkxKvdHXQsdltrxeyt5kCxwtMtZXMrXqNA,6891
879
879
  tests/models/hestia/test_landOccupationDuringCycle.py,sha256=0IVJH7jL8q6Gu4gVo-ENYNw8aetOb-nhzvRXsFqMBEQ,2428
880
880
  tests/models/hestia/test_landTransformation100YearAverageDuringCycle.py,sha256=3qa4rWUFqP1VM5-vm_182rhiBYJDxPqJwWtBqJ5K028,956
@@ -1295,8 +1295,8 @@ tests/orchestrator/strategies/run/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeR
1295
1295
  tests/orchestrator/strategies/run/test_add_blank_node_if_missing.py,sha256=K4xg4UAXfNhSaLyknKVPO7MGBF44Z_gD7CuZ_pe28gU,3512
1296
1296
  tests/orchestrator/strategies/run/test_add_key_if_missing.py,sha256=hKwvk1ohcBVnQUCTiDhRW99J0xEa29BpwFi1KC0yWLE,329
1297
1297
  tests/orchestrator/strategies/run/test_always.py,sha256=w5-Dhp6yLzgZGAeMRz3OrqZbbAed9gZ1O266a3z9k7w,134
1298
- hestia_earth_models-0.74.12.dist-info/LICENSE,sha256=TD25LoiRJsA5CPUNrcyt1PXlGcbUGFMAeZoBcfCrCNE,1154
1299
- hestia_earth_models-0.74.12.dist-info/METADATA,sha256=v1oierkVp6xW71KYe8xdnsKM2OgkfNDxhP7NwSODgCk,4039
1300
- hestia_earth_models-0.74.12.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
1301
- hestia_earth_models-0.74.12.dist-info/top_level.txt,sha256=1dqA9TqpOLTEgpqa-YBsmbCmmNU1y56AtfFGEceZ2A0,19
1302
- hestia_earth_models-0.74.12.dist-info/RECORD,,
1298
+ hestia_earth_models-0.74.14.dist-info/LICENSE,sha256=TD25LoiRJsA5CPUNrcyt1PXlGcbUGFMAeZoBcfCrCNE,1154
1299
+ hestia_earth_models-0.74.14.dist-info/METADATA,sha256=WcexnTCvgIJDRYjnhpcUV_XwKCaGpjSJiTL5YYathHA,4039
1300
+ hestia_earth_models-0.74.14.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
1301
+ hestia_earth_models-0.74.14.dist-info/top_level.txt,sha256=1dqA9TqpOLTEgpqa-YBsmbCmmNU1y56AtfFGEceZ2A0,19
1302
+ hestia_earth_models-0.74.14.dist-info/RECORD,,
@@ -18,4 +18,5 @@ def test_run(*args):
18
18
  expected = json.load(f)['emissions']
19
19
 
20
20
  result = run(cycle)
21
+ print(json.dumps(result, indent=2))
21
22
  assert result == expected
@@ -95,6 +95,6 @@ def test_landCover_from_lookup_run(mock_mgmt, mock_region_lookup, caplog):
95
95
  term_id='GADM-BRA',
96
96
  column='Maize (corn)',
97
97
  model='hestia',
98
- key='landCover'
98
+ model_key='landCover'
99
99
  )
100
100
  assert result == expected