hestia-earth-models 0.65.8__py3-none-any.whl → 0.65.10__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.
- hestia_earth/models/cml2001Baseline/abioticResourceDepletionFossilFuels.py +3 -5
- hestia_earth/models/cml2001Baseline/abioticResourceDepletionMineralsAndMetals.py +1 -1
- hestia_earth/models/config/Cycle.json +368 -388
- hestia_earth/models/config/Site.json +18 -0
- hestia_earth/models/config/__init__.py +6 -0
- hestia_earth/models/config/run-calculations.json +5 -5
- hestia_earth/models/config/trigger-calculations.json +1 -1
- hestia_earth/models/cycle/materialAndSubstrate.py +1 -1
- hestia_earth/models/cycle/milkYield.py +9 -6
- hestia_earth/models/cycle/product/economicValueShare.py +8 -4
- hestia_earth/models/cycle/product/revenue.py +11 -7
- hestia_earth/models/environmentalFootprintV3/soilQualityIndexLandTransformation.py +12 -4
- hestia_earth/models/faostat2018/product/price.py +1 -1
- hestia_earth/models/geospatialDatabase/utils.py +22 -17
- hestia_earth/models/hestia/landCover.py +2 -2
- hestia_earth/models/mocking/search-results.json +843 -843
- hestia_earth/models/site/defaultMethodClassification.py +35 -0
- hestia_earth/models/site/defaultMethodClassificationDescription.py +39 -0
- hestia_earth/models/site/management.py +34 -23
- hestia_earth/models/utils/impact_assessment.py +5 -3
- hestia_earth/models/utils/lookup.py +3 -3
- hestia_earth/models/version.py +1 -1
- {hestia_earth_models-0.65.8.dist-info → hestia_earth_models-0.65.10.dist-info}/METADATA +2 -2
- {hestia_earth_models-0.65.8.dist-info → hestia_earth_models-0.65.10.dist-info}/RECORD +39 -35
- tests/models/cml2001Baseline/test_abioticResourceDepletionFossilFuels.py +2 -16
- tests/models/cml2001Baseline/test_abioticResourceDepletionMineralsAndMetals.py +2 -16
- tests/models/edip2003/test_ozoneDepletionPotential.py +0 -13
- tests/models/environmentalFootprintV3/test_soilQualityIndexLandTransformation.py +8 -15
- tests/models/hestia/test_landCover.py +2 -1
- tests/models/ipcc2021/test_gwp100.py +0 -9
- tests/models/poschEtAl2008/test_terrestrialAcidificationPotentialAccumulatedExceedance.py +0 -14
- tests/models/poschEtAl2008/test_terrestrialEutrophicationPotentialAccumulatedExceedance.py +0 -14
- tests/models/site/test_defaultMethodClassification.py +18 -0
- tests/models/site/test_defaultMethodClassificationDescription.py +18 -0
- tests/models/site/test_management.py +2 -1
- tests/models/test_config.py +11 -2
- {hestia_earth_models-0.65.8.dist-info → hestia_earth_models-0.65.10.dist-info}/LICENSE +0 -0
- {hestia_earth_models-0.65.8.dist-info → hestia_earth_models-0.65.10.dist-info}/WHEEL +0 -0
- {hestia_earth_models-0.65.8.dist-info → hestia_earth_models-0.65.10.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,35 @@
|
|
1
|
+
"""
|
2
|
+
Default Method Classification.
|
3
|
+
|
4
|
+
When gap-filling `management` node on Site, the
|
5
|
+
`defaultMethodClassification` and `defaultMethodClassificationDescription` fields become required.
|
6
|
+
This model will use the first value in the `management` node.
|
7
|
+
"""
|
8
|
+
from hestia_earth.models.log import logRequirements, logShouldRun
|
9
|
+
from . import MODEL
|
10
|
+
|
11
|
+
REQUIREMENTS = {
|
12
|
+
"Site": {
|
13
|
+
"management": [{"@type": "Management", "methodClassification": ""}]
|
14
|
+
}
|
15
|
+
}
|
16
|
+
RETURNS = {
|
17
|
+
"The methodClassification as a `string`": ""
|
18
|
+
}
|
19
|
+
MODEL_KEY = 'defaultMethodClassification'
|
20
|
+
|
21
|
+
|
22
|
+
def _should_run(site: dict):
|
23
|
+
methodClassification = next((n.get('methodClassification') for n in site.get('management', [])), None)
|
24
|
+
|
25
|
+
logRequirements(site, model=MODEL, model_key=MODEL_KEY,
|
26
|
+
methodClassification=methodClassification)
|
27
|
+
|
28
|
+
should_run = all([methodClassification])
|
29
|
+
logShouldRun(site, MODEL, None, should_run, model_key=MODEL_KEY)
|
30
|
+
return should_run, methodClassification
|
31
|
+
|
32
|
+
|
33
|
+
def run(site: dict):
|
34
|
+
should_run, value = _should_run(site)
|
35
|
+
return value
|
@@ -0,0 +1,39 @@
|
|
1
|
+
"""
|
2
|
+
Default Method Classification Description.
|
3
|
+
|
4
|
+
When gap-filling `management` node on Site, the
|
5
|
+
`defaultMethodClassification` and `defaultMethodClassificationDescription` fields become required.
|
6
|
+
This model will use the first value in the `management` node.
|
7
|
+
"""
|
8
|
+
from hestia_earth.models.log import logRequirements, logShouldRun
|
9
|
+
from . import MODEL
|
10
|
+
|
11
|
+
REQUIREMENTS = {
|
12
|
+
"Site": {
|
13
|
+
"management": [{"@type": "Management", "methodClassification": "", "methodClassificationDescription": ""}]
|
14
|
+
}
|
15
|
+
}
|
16
|
+
RETURNS = {
|
17
|
+
"The methodClassification as a `string`": ""
|
18
|
+
}
|
19
|
+
MODEL_KEY = 'defaultMethodClassificationDescription'
|
20
|
+
|
21
|
+
|
22
|
+
def _should_run(site: dict):
|
23
|
+
methodClassificationDescription = next((
|
24
|
+
n.get('methodClassificationDescription')
|
25
|
+
for n in site.get('management', [])
|
26
|
+
if n.get('methodClassification')
|
27
|
+
), None)
|
28
|
+
|
29
|
+
logRequirements(site, model=MODEL, model_key=MODEL_KEY,
|
30
|
+
methodClassificationDescription=methodClassificationDescription)
|
31
|
+
|
32
|
+
should_run = all([methodClassificationDescription])
|
33
|
+
logShouldRun(site, MODEL, None, should_run, model_key=MODEL_KEY)
|
34
|
+
return should_run, methodClassificationDescription
|
35
|
+
|
36
|
+
|
37
|
+
def run(site: dict):
|
38
|
+
should_run, value = _should_run(site)
|
39
|
+
return value
|
@@ -165,15 +165,28 @@ def _gap_filled_date_obj(date_str: str, mode: str = DatestrGapfillMode.END) -> d
|
|
165
165
|
)
|
166
166
|
|
167
167
|
|
168
|
-
def _gap_filled_start_date(land_cover_id: str, end_date: str, cycle: dict) ->
|
168
|
+
def _gap_filled_start_date(land_cover_id: str, end_date: str, cycle: dict) -> dict:
|
169
169
|
"""If possible, gap-fill the startDate based on the endDate - maximumCycleDuration"""
|
170
170
|
maximum_cycle_duration = _get_maximum_cycle_duration(land_cover_id)
|
171
|
-
return
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
171
|
+
return {
|
172
|
+
"startDate": max(
|
173
|
+
_gap_filled_date_obj(end_date) - timedelta(days=maximum_cycle_duration)
|
174
|
+
if maximum_cycle_duration else datetime.fromtimestamp(0),
|
175
|
+
_gap_filled_date_obj(cycle.get("startDate"), mode=DatestrGapfillMode.START)
|
176
|
+
if cycle.get("startDate") else datetime.fromtimestamp(0)
|
177
|
+
)
|
178
|
+
} if any([maximum_cycle_duration, cycle.get("startDate")]) else {}
|
179
|
+
|
180
|
+
|
181
|
+
def _include_with_date_gap_fill(value: dict, keys: list) -> dict:
|
182
|
+
return {
|
183
|
+
k: (
|
184
|
+
_gap_filled_date_only_str(v) if k == "endDate" else
|
185
|
+
_gap_filled_date_only_str(v, mode=DatestrGapfillMode.START) if k == "startDate" else
|
186
|
+
v
|
187
|
+
)
|
188
|
+
for k, v in value.items() if k in keys
|
189
|
+
}
|
177
190
|
|
178
191
|
|
179
192
|
def _should_gap_fill(term: dict):
|
@@ -210,15 +223,13 @@ def _get_relevant_items(cycle: dict, item_name: str, relevant_terms: list):
|
|
210
223
|
Also adds dates from Cycle.
|
211
224
|
"""
|
212
225
|
items = [
|
213
|
-
|
226
|
+
_include_with_date_gap_fill(cycle, ["startDate", "endDate"]) |
|
214
227
|
_include(
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
)
|
221
|
-
} if "startDate" not in item else {},
|
228
|
+
_gap_filled_start_date(
|
229
|
+
land_cover_id=get_landCover_term_id(item.get('term', {})),
|
230
|
+
end_date=item.get("endDate") if "endDate" in item else cycle.get("endDate", ""),
|
231
|
+
cycle=cycle
|
232
|
+
) if "startDate" not in item else {},
|
222
233
|
"startDate"
|
223
234
|
) |
|
224
235
|
item
|
@@ -266,7 +277,7 @@ def _run_from_siteType(site: dict, cycle: dict):
|
|
266
277
|
|
267
278
|
|
268
279
|
def _run_products(cycle: dict, products: list, total_products: int = None, use_cycle_dates: bool = False):
|
269
|
-
default_dates =
|
280
|
+
default_dates = _include_with_date_gap_fill(cycle, ["startDate", "endDate"])
|
270
281
|
return [
|
271
282
|
_map_to_value(default_dates | _copy_item_if_exists(
|
272
283
|
source=product,
|
@@ -289,7 +300,7 @@ def _run_from_landCover(cycle: dict, crop_forage_products: list):
|
|
289
300
|
"""
|
290
301
|
land_cover_products = [
|
291
302
|
_map_to_value(_extract_node_value(
|
292
|
-
|
303
|
+
_include_with_date_gap_fill(
|
293
304
|
value=product,
|
294
305
|
keys=["term", "value", "startDate", "endDate", "properties"]
|
295
306
|
)
|
@@ -322,12 +333,12 @@ def _has_prop_grouped_with_landCover(product: dict):
|
|
322
333
|
)
|
323
334
|
|
324
335
|
|
325
|
-
def _run_from_crop_forage(cycle: dict):
|
336
|
+
def _run_from_crop_forage(cycle: dict, site: dict):
|
326
337
|
products = _get_relevant_items(
|
327
338
|
cycle=cycle,
|
328
339
|
item_name="products",
|
329
340
|
relevant_terms=[TermTermType.CROP, TermTermType.FORAGE]
|
330
|
-
)
|
341
|
+
) if site.get("siteType", "") == SiteSiteType.CROPLAND.value else []
|
331
342
|
# only take products with a matching landCover term
|
332
343
|
products = [p for p in products if get_landCover_term_id(p.get('term', {}))]
|
333
344
|
# remove any properties that should not get gap-filled
|
@@ -354,7 +365,7 @@ def _should_run_practice(practice: dict):
|
|
354
365
|
def _run_from_practices(cycle: dict):
|
355
366
|
practices = [
|
356
367
|
_extract_node_value(
|
357
|
-
|
368
|
+
_include_with_date_gap_fill(
|
358
369
|
value=practice,
|
359
370
|
keys=["term", "value", "startDate", "endDate"]
|
360
371
|
)
|
@@ -376,8 +387,8 @@ def _run_from_practices(cycle: dict):
|
|
376
387
|
|
377
388
|
def _run_cycle(site: dict, cycle: dict):
|
378
389
|
inputs = _run_from_inputs(site, cycle)
|
379
|
-
products = _run_from_crop_forage(cycle)
|
380
|
-
site_types = _run_from_siteType(site, cycle)
|
390
|
+
products = _run_from_crop_forage(site=site, cycle=cycle)
|
391
|
+
site_types = _run_from_siteType(site=site, cycle=cycle)
|
381
392
|
practices = _run_from_practices(cycle)
|
382
393
|
return [
|
383
394
|
node | {'cycle-id': cycle.get('@id')}
|
@@ -387,7 +398,7 @@ def _run_cycle(site: dict, cycle: dict):
|
|
387
398
|
|
388
399
|
def run(site: dict):
|
389
400
|
cycles = related_cycles(site)
|
390
|
-
nodes = flatten([_run_cycle(site, cycle) for cycle in cycles])
|
401
|
+
nodes = flatten([_run_cycle(site=site, cycle=cycle) for cycle in cycles])
|
391
402
|
|
392
403
|
# group nodes with same `id` to display as a single log per node
|
393
404
|
grouped_nodes = group_by(nodes, ['id'])
|
@@ -119,7 +119,8 @@ def impact_emission_lookup_value(
|
|
119
119
|
lookup_name='emission.csv',
|
120
120
|
lookup_col=lookup_col,
|
121
121
|
blank_nodes=filter_list_term_type(impact.get('emissionsResourceUse', []), TermTermType.EMISSION),
|
122
|
-
grouped_key=grouped_key
|
122
|
+
grouped_key=grouped_key,
|
123
|
+
default_no_values=None
|
123
124
|
)
|
124
125
|
|
125
126
|
|
@@ -170,7 +171,7 @@ def impact_country_value(
|
|
170
171
|
|
171
172
|
# fail if some factors are missing
|
172
173
|
return None if not all_with_factors else (
|
173
|
-
list_sum(values) if len(values) > 0 else
|
174
|
+
list_sum(values) if len(values) > 0 else None
|
174
175
|
)
|
175
176
|
|
176
177
|
|
@@ -236,7 +237,8 @@ def impact_endpoint_value(model: str, term_id: str, impact: dict, lookup_col: st
|
|
236
237
|
node=impact,
|
237
238
|
lookup_name='characterisedIndicator.csv',
|
238
239
|
lookup_col=lookup_col,
|
239
|
-
blank_nodes=nodes
|
240
|
+
blank_nodes=nodes,
|
241
|
+
default_no_values=None
|
240
242
|
)
|
241
243
|
|
242
244
|
|
@@ -11,7 +11,7 @@ from ..log import debugValues, log_as_table, debugMissingLookup
|
|
11
11
|
|
12
12
|
def _node_value(node):
|
13
13
|
value = node.get('value')
|
14
|
-
return list_sum(value) if isinstance(value, list) else value
|
14
|
+
return list_sum(value, default=None) if isinstance(value, list) else value
|
15
15
|
|
16
16
|
|
17
17
|
def _factor_value(model: str, term_id: str, lookup_name: str, lookup_col: str, grouped_key: Optional[str] = None):
|
@@ -52,8 +52,8 @@ def all_factor_value(
|
|
52
52
|
missing_values = set([v.get('id') for v in values if v.get('value') is not None and v.get('coefficient') is None])
|
53
53
|
all_with_factors = all([v.get('coefficient') is not None for v in values if v.get('value') is not None])
|
54
54
|
|
55
|
-
for
|
56
|
-
debugMissingLookup(lookup_name, 'termid',
|
55
|
+
for missing_value in missing_values:
|
56
|
+
debugMissingLookup(lookup_name, 'termid', missing_value, lookup_col, None)
|
57
57
|
|
58
58
|
debugValues(node, model=model, term=term_id,
|
59
59
|
all_with_factors=all_with_factors,
|
hestia_earth/models/version.py
CHANGED
@@ -1 +1 @@
|
|
1
|
-
VERSION = '0.65.
|
1
|
+
VERSION = '0.65.10'
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: hestia-earth-models
|
3
|
-
Version: 0.65.
|
3
|
+
Version: 0.65.10
|
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
|
@@ -12,7 +12,7 @@ Classifier: Programming Language :: Python :: 3.6
|
|
12
12
|
Description-Content-Type: text/markdown
|
13
13
|
License-File: LICENSE
|
14
14
|
Requires-Dist: hestia-earth-schema==30.*
|
15
|
-
Requires-Dist: hestia-earth-utils>=0.13.
|
15
|
+
Requires-Dist: hestia-earth-utils>=0.13.19
|
16
16
|
Requires-Dist: python-dateutil>=2.8.1
|
17
17
|
Requires-Dist: CurrencyConverter==0.16.8
|
18
18
|
Requires-Dist: haversine>=2.7.0
|
@@ -4,7 +4,7 @@ hestia_earth/models/cache_sites.py,sha256=Llo2SH1Lp-R8x1JRxJ2Ta-vw5RbdUj2FHXUP-c
|
|
4
4
|
hestia_earth/models/log.py,sha256=_zAfyOkL_VknEnMFvcpvenSMghadlDfZhiSx28545Gk,3558
|
5
5
|
hestia_earth/models/preload_requests.py,sha256=vK_G1UzhNMhYy7ymnCtHUz_vv3cfApCSKqv29VREEBQ,1943
|
6
6
|
hestia_earth/models/requirements.py,sha256=eU4yT443fx7BnaokhrLB_PCizJI7Y6m4auyo8vQauNg,17363
|
7
|
-
hestia_earth/models/version.py,sha256=
|
7
|
+
hestia_earth/models/version.py,sha256=kGCwazFyJPTHO9Kny5rZmqHxPuatjOBEax2liicBscw,20
|
8
8
|
hestia_earth/models/agribalyse2016/__init__.py,sha256=WvK0qCQbnYtg9oZxrACd1wGormZyXibPtpCnIQeDqbw,415
|
9
9
|
hestia_earth/models/agribalyse2016/fuelElectricity.py,sha256=rm5ZaRAzJ08m2y4BxkGh-RjudkDWgozmg3XumoRm-fQ,4511
|
10
10
|
hestia_earth/models/agribalyse2016/machineryInfrastructureDepreciatedAmountPerCycle.py,sha256=BPjnWmg73i_OxM2ouCdMTWZtPIqyoUAXrvutntyteE0,3390
|
@@ -27,19 +27,19 @@ hestia_earth/models/chaudharyBrooks2018/damageToTerrestrialEcosystemsLandTransfo
|
|
27
27
|
hestia_earth/models/chaudharyBrooks2018/damageToTerrestrialEcosystemsTotalLandUseEffects.py,sha256=11H8j9i2h2zChea92CdzPodWZfdegkAnQx6qYC6Ym9A,2623
|
28
28
|
hestia_earth/models/chaudharyBrooks2018/utils.py,sha256=Z0IrvVv-dKsRt09LmT7sc6e1bWnhjZ-WBrO-namIngo,1539
|
29
29
|
hestia_earth/models/cml2001Baseline/__init__.py,sha256=0uGrCKDNUH-MUkpvts9MyPMnZKao-M03gU8uKquUozQ,416
|
30
|
-
hestia_earth/models/cml2001Baseline/abioticResourceDepletionFossilFuels.py,sha256=
|
31
|
-
hestia_earth/models/cml2001Baseline/abioticResourceDepletionMineralsAndMetals.py,sha256=
|
30
|
+
hestia_earth/models/cml2001Baseline/abioticResourceDepletionFossilFuels.py,sha256=K3IfNziLDGvfmHsWBUXCwAl1k2Z6p-02Vi7HG3jZRhI,7708
|
31
|
+
hestia_earth/models/cml2001Baseline/abioticResourceDepletionMineralsAndMetals.py,sha256=yXie6UW0_I4VQcADn7Uvk4n1RmrFAauJ7ZVh7OgBUyA,5952
|
32
32
|
hestia_earth/models/cml2001Baseline/eutrophicationPotentialExcludingFate.py,sha256=nUWKsn3COqAOrYNmiBKnA2rUs88pj4o3k4fHKA0TVbU,1068
|
33
33
|
hestia_earth/models/cml2001Baseline/terrestrialAcidificationPotentialIncludingFateAverageEurope.py,sha256=N8neIISqeTAS7VGTNWbbbozOtfCb816qwwHCnv7Nnpw,1113
|
34
34
|
hestia_earth/models/cml2001NonBaseline/__init__.py,sha256=vI8wp8Og_e8DiJqYYvp33YoI3t4ffAC31LWlnV20JTg,419
|
35
35
|
hestia_earth/models/cml2001NonBaseline/eutrophicationPotentialIncludingFateAverageEurope.py,sha256=lcgyRHY08KCBFPERJNqV4DYGEJCvyHBDnJXD0kEkVqM,1097
|
36
36
|
hestia_earth/models/cml2001NonBaseline/terrestrialAcidificationPotentialExcludingFate.py,sha256=xcrxfs9UoV_EWvV-XzMt35oPWCUsTzqg2SGA3j2MFIw,1091
|
37
|
-
hestia_earth/models/config/Cycle.json,sha256=
|
37
|
+
hestia_earth/models/config/Cycle.json,sha256=b_TTZGQ5QbD6BZ2tYezFlsxBKVwZONRVfA0cXAt1PBQ,56069
|
38
38
|
hestia_earth/models/config/ImpactAssessment.json,sha256=EB8O8_GZ182upCP-Rpko7I48Tdf30ScK-ZZ3rf4DQQI,57585
|
39
|
-
hestia_earth/models/config/Site.json,sha256=
|
40
|
-
hestia_earth/models/config/__init__.py,sha256=
|
41
|
-
hestia_earth/models/config/run-calculations.json,sha256=
|
42
|
-
hestia_earth/models/config/trigger-calculations.json,sha256=
|
39
|
+
hestia_earth/models/config/Site.json,sha256=SyajKMEg03v9_NdiQlfcyF7B60lrBlXZF6tlahnpfZA,13071
|
40
|
+
hestia_earth/models/config/__init__.py,sha256=l1WqL7ezlank86ABP4zUia_hIvM9ba-sOE3z6wNrea8,2333
|
41
|
+
hestia_earth/models/config/run-calculations.json,sha256=e3nJ4M6CP1iFzfv8ou_ZUFbFxYkDxJgwuNDXTm4PBDc,615
|
42
|
+
hestia_earth/models/config/trigger-calculations.json,sha256=3dmn2bRuj6QEtSTOLdIy31ho7thgUXyDsnqZzPV9rAQ,623
|
43
43
|
hestia_earth/models/cycle/__init__.py,sha256=VowO3kOHb0LpURsljNaJsYO7s6vgjhul6bF_85UjUEI,406
|
44
44
|
hestia_earth/models/cycle/aboveGroundCropResidueTotal.py,sha256=9swq4YEeJQ2YjVOmghgBYWkMZWdNU4MKCUBY5FsmBSU,3088
|
45
45
|
hestia_earth/models/cycle/coldCarcassWeightPerHead.py,sha256=fQ7huuxyS5PQkRmR_tRCOz9rV3LJwLfLQJjH_TcTz6k,2955
|
@@ -57,8 +57,8 @@ hestia_earth/models/cycle/inorganicFertiliser.py,sha256=Yt5NcP9FQEzWwlritrPGbhh2
|
|
57
57
|
hestia_earth/models/cycle/irrigatedTypeUnspecified.py,sha256=KlIa5eDvT47Twz6Q1kpw0rMlRjCK25CExaW58DEvc9w,2125
|
58
58
|
hestia_earth/models/cycle/liveAnimal.py,sha256=5dlvuVAu24hLLOVXsozcVzWyDVzddzoungUBwrBDS-g,3986
|
59
59
|
hestia_earth/models/cycle/longFallowRatio.py,sha256=_h0kub99sACO87IfjMeiu8IgdK2jaeBlgGA9A9-ViZA,1683
|
60
|
-
hestia_earth/models/cycle/materialAndSubstrate.py,sha256=
|
61
|
-
hestia_earth/models/cycle/milkYield.py,sha256=
|
60
|
+
hestia_earth/models/cycle/materialAndSubstrate.py,sha256=euvY_qKmLlwixCoUnagQRZ5oHtTB7VSPjgmEq8fN3Qg,5186
|
61
|
+
hestia_earth/models/cycle/milkYield.py,sha256=ghJXXxVQVYC3xtPgyp6FvbIuheJfeh2zwRBf9IkQi2E,5902
|
62
62
|
hestia_earth/models/cycle/otherSitesArea.py,sha256=Xhi6C1K1v4VXv1Mhkg-b9JCAG-DfTQoEi9ICs71418w,1650
|
63
63
|
hestia_earth/models/cycle/otherSitesUnusedDuration.py,sha256=ZqQaI9FvNVpONmsIiRo1BqSJJKC5Mgi-W6lt18sxTiA,2985
|
64
64
|
hestia_earth/models/cycle/pastureGrass.py,sha256=7PrmDMJPtsbKGa8WIOh_4NXNtbH3Pxb23pmjawQuY9o,1226
|
@@ -114,11 +114,11 @@ hestia_earth/models/cycle/pre_checks/otherSites.py,sha256=MQpf_v4lTIR60zF7slp3LB
|
|
114
114
|
hestia_earth/models/cycle/pre_checks/site.py,sha256=OkrEOxwbo5rzAWQaPt2p9uZ9g7Vc58QweGW5-Pt0jPY,882
|
115
115
|
hestia_earth/models/cycle/product/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
116
116
|
hestia_earth/models/cycle/product/currency.py,sha256=lB1pCD1747Ke3oFoqjAKEHbIdHPfrHKNaJSni69iMUQ,2150
|
117
|
-
hestia_earth/models/cycle/product/economicValueShare.py,sha256=
|
117
|
+
hestia_earth/models/cycle/product/economicValueShare.py,sha256=HAIg9R-j9CdPdU6Wz1qYmVJDG08DPPVNQMq6pWpXSWg,8815
|
118
118
|
hestia_earth/models/cycle/product/price.py,sha256=BUkY9V2Frg442HEGG7PLmXZFTrBPbBFDTk5LbS40Ajs,1588
|
119
119
|
hestia_earth/models/cycle/product/primary.py,sha256=FYyl-Mv8AmEml1nhDJwU01N4LrszJm6E31eztQDHzdg,1853
|
120
120
|
hestia_earth/models/cycle/product/properties.py,sha256=7iKIAYLi2_11HsizwAdNbEmx-C7CH_tTrgBFEePTcWs,1547
|
121
|
-
hestia_earth/models/cycle/product/revenue.py,sha256
|
121
|
+
hestia_earth/models/cycle/product/revenue.py,sha256=JirczlbiuEWMuR-baAU90FE7k3cxz5bb8GoX_wrXfvg,2433
|
122
122
|
hestia_earth/models/cycle/product/utils.py,sha256=nCQIFgwfI4meSRftV9v4vuxKAy3uUtShpN1pr2mywCw,359
|
123
123
|
hestia_earth/models/cycle/product/value.py,sha256=8f_6Ornn06lbNR2U70qmxn-iwh_TIEFGjB3_8TzCFxs,1596
|
124
124
|
hestia_earth/models/dammgen2009/__init__.py,sha256=dZ8tIXl6e3ZEixYrWiW7rzoqRJVFOoxi4RPvM3N0L1E,412
|
@@ -148,7 +148,7 @@ hestia_earth/models/emissionNotRelevant/__init__.py,sha256=NkP635TDNs7bQBv2n9tUT
|
|
148
148
|
hestia_earth/models/environmentalFootprintV3/__init__.py,sha256=lzg9qccwd9tbspw0lQ58YPprnvvSLTn3QV5T2-tPcC4,425
|
149
149
|
hestia_earth/models/environmentalFootprintV3/freshwaterEcotoxicityPotentialCtue.py,sha256=N_gw2aNoCMW5Z1XM-uAyCF1kfpZUI07giv_bo3Lmr5Q,918
|
150
150
|
hestia_earth/models/environmentalFootprintV3/soilQualityIndexLandOccupation.py,sha256=r3GV2pspKWAlKU46TMh_6D_rrXtY_onhk3RnukzJjD8,5095
|
151
|
-
hestia_earth/models/environmentalFootprintV3/soilQualityIndexLandTransformation.py,sha256=
|
151
|
+
hestia_earth/models/environmentalFootprintV3/soilQualityIndexLandTransformation.py,sha256=h4NVqDHYuf2-6WIZMzA6-8WrZ2yLyGAUCSanEJo_dzs,6709
|
152
152
|
hestia_earth/models/environmentalFootprintV3/soilQualityIndexTotalLandUseEffects.py,sha256=SIjFYPv4n3mziohW2nlycaMssHQ3ws79hqHa4i3sCVI,2997
|
153
153
|
hestia_earth/models/environmentalFootprintV3/utils.py,sha256=fZ99_G0Kh4OUW5wH-LglzCrKp8l2plKuCs4yvUH_3hs,699
|
154
154
|
hestia_earth/models/epa2014/__init__.py,sha256=ckGf_6X7CCzI_18OqchEkuJAXKXM1x7V53u480ckknM,408
|
@@ -165,7 +165,7 @@ hestia_earth/models/faostat2018/readyToCookWeightPerHead.py,sha256=b1_GZQ3oFl88w
|
|
165
165
|
hestia_earth/models/faostat2018/seed.py,sha256=ts9PKs9UnZnJ9nPFlL7etL1Qb9uIWIES8Mz8W7FWbOw,2917
|
166
166
|
hestia_earth/models/faostat2018/utils.py,sha256=vJxDILARNxE6DM_lTtoLIh5PvdDneSb9S41YAuD1HvY,7527
|
167
167
|
hestia_earth/models/faostat2018/product/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
168
|
-
hestia_earth/models/faostat2018/product/price.py,sha256=
|
168
|
+
hestia_earth/models/faostat2018/product/price.py,sha256=xAfHfMt2YhBOo0eQSaEnWfqeINoKHhk9hRDEj7GT0g4,7755
|
169
169
|
hestia_earth/models/frischknechtEtAl2000/__init__.py,sha256=Fixyy9UwoCGP5-MHyJu_ctS40SQ2imfvZo8a547029U,421
|
170
170
|
hestia_earth/models/frischknechtEtAl2000/ionisingRadiationKbqU235Eq.py,sha256=czZx8DgnDuLOdK0CfiriPbj1BwoiWn4d1nkQOiwkcPA,4472
|
171
171
|
hestia_earth/models/geospatialDatabase/__init__.py,sha256=TH-FW3aoL7r1GquRChr7rde7uQonKQRDR00udG8tDrQ,957
|
@@ -198,7 +198,7 @@ hestia_earth/models/geospatialDatabase/temperatureLongTermAnnualMean.py,sha256=y
|
|
198
198
|
hestia_earth/models/geospatialDatabase/temperatureMonthly.py,sha256=BLzWaFw4PXkjAK3MC1kVMT1kai4Cv9tEak_CuANTo5k,3354
|
199
199
|
hestia_earth/models/geospatialDatabase/totalNitrogenPerKgSoil.py,sha256=DrjiPyakM1SJ1XO-arhvjLDj2qb3M-i58gJ1kFFM6kI,2821
|
200
200
|
hestia_earth/models/geospatialDatabase/totalPhosphorusPerKgSoil.py,sha256=5oasLMYgfnPwSse0D8EEe_pV57AMusac853BgVSUh5E,2070
|
201
|
-
hestia_earth/models/geospatialDatabase/utils.py,sha256=
|
201
|
+
hestia_earth/models/geospatialDatabase/utils.py,sha256=VJ6P37C0Aw51ksN64e_et6aI9zAlk_wCmzlbWcrcau4,6618
|
202
202
|
hestia_earth/models/geospatialDatabase/waterDepth.py,sha256=Xy2UxwAJrgdOkcw59NetEHMt5vgRYE6qg4fgXb1ptlU,1643
|
203
203
|
hestia_earth/models/globalCropWaterModel2008/__init__.py,sha256=vQxexzFCl2Uv2RiIJfcppkRi9RgzBsJ68yhVDK4GvAU,425
|
204
204
|
hestia_earth/models/globalCropWaterModel2008/rootingDepth.py,sha256=pajS-6UWxqIqnzW0IjkgNm-2Vl3bMor2UZOQtQQERuc,4096
|
@@ -206,7 +206,7 @@ hestia_earth/models/haversineFormula/__init__.py,sha256=o155nR-XI67iCSBVNYIu4sPR
|
|
206
206
|
hestia_earth/models/haversineFormula/transport/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
207
207
|
hestia_earth/models/haversineFormula/transport/distance.py,sha256=163KrmKzlEQuKYT1ZvpPgmKlv_-mmvxp0A1_uKya99w,4203
|
208
208
|
hestia_earth/models/hestia/__init__.py,sha256=o5vAmPzSaK9XPgL8GCne3-lugfCOgZhHELYolNgqyyY,407
|
209
|
-
hestia_earth/models/hestia/landCover.py,sha256=
|
209
|
+
hestia_earth/models/hestia/landCover.py,sha256=zq9JIJn4qdsX3SvZxmS5qllOl0xinJfrHDR5dsYjDpg,29507
|
210
210
|
hestia_earth/models/hestia/landTransformation100YearAverageDuringCycle.py,sha256=-7ToRvCVPD6AAcjxorPS5jSWio7JAglHrdSS9PPyPqQ,1551
|
211
211
|
hestia_earth/models/hestia/landTransformation20YearAverageDuringCycle.py,sha256=TCskVLhYXBMxdeZM-gN4Tdixk5ua7eVn-o5dfIT_H7o,1543
|
212
212
|
hestia_earth/models/hestia/resourceUse_utils.py,sha256=1ySn4d-qkDeU8Ss_80l-uOypPoWsmDsqnS6IM8wkI34,7113
|
@@ -406,7 +406,7 @@ hestia_earth/models/linkedImpactAssessment/utils.py,sha256=S1zlux02gU2Lajrtoq-zQ
|
|
406
406
|
hestia_earth/models/mocking/__init__.py,sha256=9VX50c-grz-snfd-7MBS0KfF7AadtbKuj7kK6PqtsgE,687
|
407
407
|
hestia_earth/models/mocking/build_mock_search.py,sha256=p15ccEUmkmLp1RiGNznxMz3OFHbI8P1-29ExuohiQN8,1355
|
408
408
|
hestia_earth/models/mocking/mock_search.py,sha256=ccFe_WrI73JElFmxp4hPNLCX7eeU--lBC1JFR901KJY,1069
|
409
|
-
hestia_earth/models/mocking/search-results.json,sha256=
|
409
|
+
hestia_earth/models/mocking/search-results.json,sha256=_8AfPAX_YcwIYlJpyaHp5sxw4jpNX2Mub58HqO3Szuo,102054
|
410
410
|
hestia_earth/models/pooreNemecek2018/__init__.py,sha256=nPboL7ULJzL5nJD5q7q9VOZt_fxbKVm8fmn1Az5YkVY,417
|
411
411
|
hestia_earth/models/pooreNemecek2018/aboveGroundCropResidueTotal.py,sha256=Qt-mel4dkhK6N5uUOutNOinCTFjbjtGzITaaI0LvYc4,2396
|
412
412
|
hestia_earth/models/pooreNemecek2018/belowGroundCropResidue.py,sha256=JT0RybbvWVlo01FO8K0Yj41HrEaJT3Kj1xfayr2X-xw,2315
|
@@ -506,9 +506,11 @@ hestia_earth/models/schmidt2007/utils.py,sha256=tbTFg5TXAyS12JCa-OXQg37M1YymHxKW
|
|
506
506
|
hestia_earth/models/site/__init__.py,sha256=aVuLLhq0OQVm-_MZoq4JAKMidqexUWJBg_7mmojmDzc,405
|
507
507
|
hestia_earth/models/site/brackishWater.py,sha256=vLEhIZv5PUKwzwvIuYrWi7K---fq7ZXn0oJvfDZdMs4,1278
|
508
508
|
hestia_earth/models/site/cationExchangeCapacityPerKgSoil.py,sha256=0eH4A-tXJ0hvIkiYXWxlx8TfrdbIKUGYUDk97-yQJgg,3653
|
509
|
+
hestia_earth/models/site/defaultMethodClassification.py,sha256=mqy3P3DLf7cr4-TU_kH7nXr8bz_kCrG_i33AuzwYMyo,1059
|
510
|
+
hestia_earth/models/site/defaultMethodClassificationDescription.py,sha256=5rm9LUINmHF579HaqWfHZpFTjwZSgglE6TgAwBPs1uc,1250
|
509
511
|
hestia_earth/models/site/flowingWater.py,sha256=v3g5722GIA4zQAUQI9yGFiZvFvI1QAVZqlQrY-6_B3A,1731
|
510
512
|
hestia_earth/models/site/freshWater.py,sha256=FXs3Vt8V4e-wn325_dwSTOKlZtn5ksNUpvYGDeLJShY,1255
|
511
|
-
hestia_earth/models/site/management.py,sha256=
|
513
|
+
hestia_earth/models/site/management.py,sha256=38_os7XxhwBrNQKO-1lKhzAg-HR89Fy0jAV5LdC_Ueg,15016
|
512
514
|
hestia_earth/models/site/netPrimaryProduction.py,sha256=UIIQkYd911qVzrWjxBLrC37e-RARIVgDwLdARY9BuLw,1849
|
513
515
|
hestia_earth/models/site/organicCarbonPerHa.py,sha256=F2ShinHf0m9qKa1nCYBspsDkRY6jzOl0wM8mSDre22I,14916
|
514
516
|
hestia_earth/models/site/organicCarbonPerKgSoil.py,sha256=t--wAshiAKS-JvEKhLFRadGvgSBv5NFZ68jdyms_wh4,1945
|
@@ -587,13 +589,13 @@ hestia_earth/models/utils/excretaManagement.py,sha256=NuWPQjFZxMVt9sYgBjcqhGWCFk
|
|
587
589
|
hestia_earth/models/utils/feedipedia.py,sha256=wzzrMbYlda1XCpWiObLz4bFLXbAZejHcxsXJFr4U_AM,3953
|
588
590
|
hestia_earth/models/utils/fertiliser.py,sha256=DBO4OBNgnQJ0fCQMDkIk_ZGZX-uKGaTFZCEXfAnJciY,690
|
589
591
|
hestia_earth/models/utils/fuel.py,sha256=XzOELV3dn506PkMKjFQ_ZKVZInd2lL2x6PKdsa6Po4M,1429
|
590
|
-
hestia_earth/models/utils/impact_assessment.py,sha256=
|
592
|
+
hestia_earth/models/utils/impact_assessment.py,sha256=VoJVgSVJkXFvlIukCBm054KGMCBeot17k3DRwo_3_QI,8137
|
591
593
|
hestia_earth/models/utils/indicator.py,sha256=UuuraMUdKLqjcm_zEoF8BaMb76qW23djIA_2DeaoiEw,700
|
592
594
|
hestia_earth/models/utils/inorganicFertiliser.py,sha256=_dLBY-otGkLr8PobR5dQ89bF2uwc2PB4JPrHFSksMEQ,1900
|
593
595
|
hestia_earth/models/utils/input.py,sha256=gsVFKTC9WF8dO6YAg_-H_GAOQTnvAr49Ox5-eTH8zf8,5145
|
594
596
|
hestia_earth/models/utils/landCover.py,sha256=8-nfynzCx9gf9YfhpuoH6Cn4kQwWFpYA5RmoGW-0ETE,300
|
595
597
|
hestia_earth/models/utils/liveAnimal.py,sha256=GnajBPZw5d94raf80KtLloaOqlfqGAPwUtP9bRlGWeE,1754
|
596
|
-
hestia_earth/models/utils/lookup.py,sha256
|
598
|
+
hestia_earth/models/utils/lookup.py,sha256=-IUSbwp1f0LicPFlD45DT0dh4tTmhu9weCLLCBEpc5c,8699
|
597
599
|
hestia_earth/models/utils/management.py,sha256=W5M9k0arraVUGh4ZccVqgb8rSSLxHM6rkmi4MSzV6Dw,413
|
598
600
|
hestia_earth/models/utils/measurement.py,sha256=izEiPszUcPA22zaIc0OuF7Yk82JWu5cxi0Sbz_9YgBo,11142
|
599
601
|
hestia_earth/models/utils/organicFertiliser.py,sha256=2HY-a0EBzUw4DkEAXClLMXVCEZTKYf0BwFHBo7lQ5Tg,363
|
@@ -630,7 +632,7 @@ hestia_earth/orchestrator/strategies/run/add_key_if_missing.py,sha256=t3U-v87Xpb
|
|
630
632
|
hestia_earth/orchestrator/strategies/run/always.py,sha256=D0In6_kr28s-fgqspawgvj5cgFClxGvepZYqtYsjWVE,217
|
631
633
|
tests/models/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
632
634
|
tests/models/test_cache_sites.py,sha256=vuEVZh_mkuI2cPotX2GB88lURJm2giOQ3yu2Cn4iLoI,2997
|
633
|
-
tests/models/test_config.py,sha256=
|
635
|
+
tests/models/test_config.py,sha256=JhO7T3bNh2Dl61pKAyM4iEPKybfue02qdneHcJTO2Ck,3368
|
634
636
|
tests/models/test_ecoinventV3.py,sha256=_BqfWiYFaw-Y7A-EeabHEnja3d7yb4Ed7gGGvu3Srpw,1936
|
635
637
|
tests/models/test_ecoinventV3AndEmberClimate.py,sha256=_EOxdrdavXP6L5_LtvaVbXb_-56UJXSaiPhpGntmwVc,801
|
636
638
|
tests/models/test_emissionNotRelevant.py,sha256=YXTdRfcdR_JepHuj2P3Y3r0aFMKNOmsXQHY48tmLTQo,1316
|
@@ -655,8 +657,8 @@ tests/models/chaudharyBrooks2018/test_damageToTerrestrialEcosystemsLandOccupatio
|
|
655
657
|
tests/models/chaudharyBrooks2018/test_damageToTerrestrialEcosystemsLandTransformation.py,sha256=lcyMTaNMbIjzZrbPxejujfYyAEj2XOH5Ei9pmAQAi7k,1912
|
656
658
|
tests/models/chaudharyBrooks2018/test_damageToTerrestrialEcosystemsTotalLandUseEffects.py,sha256=NTc3PZZRc9ZqGpaARdbuzLWR5bB0HCPw5AMdGmwVsRg,704
|
657
659
|
tests/models/cml2001Baseline/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
658
|
-
tests/models/cml2001Baseline/test_abioticResourceDepletionFossilFuels.py,sha256
|
659
|
-
tests/models/cml2001Baseline/test_abioticResourceDepletionMineralsAndMetals.py,sha256=
|
660
|
+
tests/models/cml2001Baseline/test_abioticResourceDepletionFossilFuels.py,sha256=lR2PX0mmppnSMWj9-vAD1XUBXQab5w-xS5CbWbNl1Uk,8369
|
661
|
+
tests/models/cml2001Baseline/test_abioticResourceDepletionMineralsAndMetals.py,sha256=y-E5t5x2VcgPsy3cPFBWyULd6vieaGjDY_J2GVJMtUo,4081
|
660
662
|
tests/models/cml2001Baseline/test_eutrophicationPotentialExcludingFate.py,sha256=ZIIx_EiYbUxUoAS7NuQrxqwTFS3rXQm9_1AsqF_bhB8,894
|
661
663
|
tests/models/cml2001Baseline/test_terrestrialAcidificationPotentialIncludingFateAverageEurope.py,sha256=t3WBdg_aTYSLfaqeXUDyvQJ8ZqbvKwv9RKaZyRzj61k,925
|
662
664
|
tests/models/cml2001NonBaseline/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
@@ -743,7 +745,7 @@ tests/models/dammgen2009/test_noxToAirExcreta.py,sha256=RWd9QvzmJtN9M6UC6KDHkXwt
|
|
743
745
|
tests/models/deRuijterEtAl2010/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
744
746
|
tests/models/deRuijterEtAl2010/test_nh3ToAirCropResidueDecomposition.py,sha256=kS1nUBVohOSCb386g6Wq7iVclmx0haekUDYo7VQ4NCA,2030
|
745
747
|
tests/models/edip2003/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
746
|
-
tests/models/edip2003/test_ozoneDepletionPotential.py,sha256=
|
748
|
+
tests/models/edip2003/test_ozoneDepletionPotential.py,sha256=z0kimdTxzSr8_K5eScbkxq2SB9nbBp41IHqVNR4Nh4Y,688
|
747
749
|
tests/models/emepEea2019/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
748
750
|
tests/models/emepEea2019/test_co2ToAirFuelCombustion.py,sha256=z1H17R_Erox2dMg8xylGB0qt9BMZSwfLAoEMVv9z878,1518
|
749
751
|
tests/models/emepEea2019/test_n2OToAirFuelCombustionDirect.py,sha256=4uemriZAyJBSn-xMttRpxqVHOFNBXlboVODHQYl65zQ,1524
|
@@ -758,7 +760,7 @@ tests/models/emepEea2019/test_utils.py,sha256=G6z8tEfWM0OPnUBaFCQgQyEi5-kRF_Dqsq
|
|
758
760
|
tests/models/environmentalFootprintV3/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
759
761
|
tests/models/environmentalFootprintV3/test_freshwaterEcotoxicityPotentialCtue.py,sha256=ZPDKM23qlLMe_ZzeA-QIutSkFlod3BsmjloA9WA8nug,845
|
760
762
|
tests/models/environmentalFootprintV3/test_soilQualityIndexLandOccupation.py,sha256=pgauGmFl52lQJVPaDHryrUU3LSmjWC-Al_XBqQj33u4,6116
|
761
|
-
tests/models/environmentalFootprintV3/test_soilQualityIndexLandTransformation.py,sha256=
|
763
|
+
tests/models/environmentalFootprintV3/test_soilQualityIndexLandTransformation.py,sha256=yR2b7MNw1kDpcHHB_c2uPZ2QF-nDEAs-eBE7HqMxm5k,6231
|
762
764
|
tests/models/environmentalFootprintV3/test_soilQualityIndexTotalLandUseEffects.py,sha256=j6V2AE1I98hi-Cv_-L5Rc2zzL0au9SWW4XnMkSuV7yo,2314
|
763
765
|
tests/models/epa2014/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
764
766
|
tests/models/epa2014/test_no3ToGroundwaterExcreta.py,sha256=ESVz4UURvQfhjGBTxjuAV_bymMBcvGNfLAkYMvNup9U,1217
|
@@ -816,7 +818,7 @@ tests/models/haversineFormula/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5N
|
|
816
818
|
tests/models/haversineFormula/transport/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
817
819
|
tests/models/haversineFormula/transport/test_distance.py,sha256=hqzIOA1nGao8uiBE16J0ou52McwV4w30ZLpEAqtfi9k,970
|
818
820
|
tests/models/hestia/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
819
|
-
tests/models/hestia/test_landCover.py,sha256=
|
821
|
+
tests/models/hestia/test_landCover.py,sha256=TCgZMAd11TjXs0RZHHJzjXSCY_UicFgYPoGjjryScm4,6105
|
820
822
|
tests/models/hestia/test_landTransformation100YearAverageDuringCycle.py,sha256=3qa4rWUFqP1VM5-vm_182rhiBYJDxPqJwWtBqJ5K028,956
|
821
823
|
tests/models/hestia/test_landTransformation20YearAverageDuringCycle.py,sha256=257nCGseM8IEc7i3c2lvx0AsJOpk5Cy633PlZZQYRGo,956
|
822
824
|
tests/models/hestia/test_seed_emissions.py,sha256=dCUuJBkhwNFBhhcypQN7eMqrWZ9iGCnypoidO5DfQYw,921
|
@@ -906,7 +908,7 @@ tests/models/ipcc2019/animal/test_pregnancyRateTotal.py,sha256=3M4cpH0rM0fLR86bw
|
|
906
908
|
tests/models/ipcc2019/animal/test_trueProteinContent.py,sha256=3O2w_PsVEki_piIHO-Wa6m28f5SAHWHsSk27nYDQDuM,783
|
907
909
|
tests/models/ipcc2019/animal/test_weightAtMaturity.py,sha256=-lP4Sx1s11Wyo4Vm1it3SdIpNP43TZWmwOWttrAd_N8,705
|
908
910
|
tests/models/ipcc2021/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
909
|
-
tests/models/ipcc2021/test_gwp100.py,sha256=
|
911
|
+
tests/models/ipcc2021/test_gwp100.py,sha256=r3pDw_TUcOrNlNRWtFAN3CBWfG5FCkHExypVqg0sZVk,857
|
910
912
|
tests/models/jarvisAndPain1994/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
911
913
|
tests/models/jarvisAndPain1994/test_n2ToAirExcreta.py,sha256=aMCuR9fmGDmum7VqLb1oBOsTCjBz5O9XQn2DWtP8HVM,1057
|
912
914
|
tests/models/koble2014/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
@@ -1034,8 +1036,8 @@ tests/models/pooreNemecek2018/test_rotationDuration.py,sha256=tD2E91beAXdyT-xf5Q
|
|
1034
1036
|
tests/models/pooreNemecek2018/test_saplingsDepreciatedAmountPerCycle.py,sha256=seT7-ip5lSjglaM2Wbaf4qsNrc2W_RYnafef4mQlc8U,1668
|
1035
1037
|
tests/models/pooreNemecek2018/test_utils.py,sha256=oqKCNVw6LOAa4jJFadQCL8ysUbUiVCnm0XBOdqa2BVA,742
|
1036
1038
|
tests/models/poschEtAl2008/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
1037
|
-
tests/models/poschEtAl2008/test_terrestrialAcidificationPotentialAccumulatedExceedance.py,sha256=
|
1038
|
-
tests/models/poschEtAl2008/test_terrestrialEutrophicationPotentialAccumulatedExceedance.py,sha256=
|
1039
|
+
tests/models/poschEtAl2008/test_terrestrialAcidificationPotentialAccumulatedExceedance.py,sha256=aCfUMusw9TH0DZ781RlltoNZeoKs1C8HbffehCYf5Dc,1441
|
1040
|
+
tests/models/poschEtAl2008/test_terrestrialEutrophicationPotentialAccumulatedExceedance.py,sha256=8B63VI4rR6Ad9Z3TMO9jtAX79JpTTY6Na7PSZsr13jk,1440
|
1039
1041
|
tests/models/recipe2016Egalitarian/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
1040
1042
|
tests/models/recipe2016Egalitarian/test_damageToFreshwaterEcosystemsSpeciesYear.py,sha256=OC8WjzPuyz5fd_E-LxFbOg3sasVc6LMJ9UK-jAKO7LU,697
|
1041
1043
|
tests/models/recipe2016Egalitarian/test_damageToHumanHealth.py,sha256=fWjzC9r6itihyW6AdmDkotbhML_0KavXernOpnK1SmY,677
|
@@ -1105,9 +1107,11 @@ tests/models/schmidt2007/test_utils.py,sha256=rmtOV3xiFynjgx8lQNGsJqquG8HDxz3LDm
|
|
1105
1107
|
tests/models/site/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
1106
1108
|
tests/models/site/test_brackishWater.py,sha256=YGCp4glaWudKklYBSp-50KbfvIRtp3F4Qrj5T81ECTk,986
|
1107
1109
|
tests/models/site/test_cationExchangeCapacityPerKgSoil.py,sha256=tNMhN998vcjQ15I-5mNnFh2d7mHzEBIBO6o1VSfQNUE,1075
|
1110
|
+
tests/models/site/test_defaultMethodClassification.py,sha256=2Ek2TkSsWh_kNGBwzzarPt2LR710frziXxTdWq7pX30,532
|
1111
|
+
tests/models/site/test_defaultMethodClassificationDescription.py,sha256=ZqI5dmXxzz-op_czHFwTjHUPhBL1Q_gEU2UZTCkS50I,543
|
1108
1112
|
tests/models/site/test_flowingWater.py,sha256=t_rxvdlmUVDsFBoDF20_zDM-0iiLKkNCV7knO9l1T7o,1370
|
1109
1113
|
tests/models/site/test_freshWater.py,sha256=GOeAxHhPW_2E1wQdQRX4W-r7mnb_LgmiAVLImitoApw,982
|
1110
|
-
tests/models/site/test_management.py,sha256
|
1114
|
+
tests/models/site/test_management.py,sha256=-QgZc4jBkhHrvvssn3Xtd3kYGIuV2dDoMJxoejkEhmM,1762
|
1111
1115
|
tests/models/site/test_netPrimaryProduction.py,sha256=JCxG0MODbKVvl3hOqmKzh4FjHYn3Xs9KsVod6LvKQII,1108
|
1112
1116
|
tests/models/site/test_organicCarbonPerHa.py,sha256=XtGrE7ZqthTF0x8lDxJ1slNd_GvYHEyEydcRgA46jEc,3207
|
1113
1117
|
tests/models/site/test_organicCarbonPerKgSoil.py,sha256=0M-NMg_T3UXzGT_VlKOKhSxg4cZ0_zhd3FRgY5Hpj6o,1087
|
@@ -1204,8 +1208,8 @@ tests/orchestrator/strategies/run/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeR
|
|
1204
1208
|
tests/orchestrator/strategies/run/test_add_blank_node_if_missing.py,sha256=lGqeebvgAwGathB8NLZ14Js5JV_-KyHueaD6I8IH8mU,3615
|
1205
1209
|
tests/orchestrator/strategies/run/test_add_key_if_missing.py,sha256=hKwvk1ohcBVnQUCTiDhRW99J0xEa29BpwFi1KC0yWLE,329
|
1206
1210
|
tests/orchestrator/strategies/run/test_always.py,sha256=w5-Dhp6yLzgZGAeMRz3OrqZbbAed9gZ1O266a3z9k7w,134
|
1207
|
-
hestia_earth_models-0.65.
|
1208
|
-
hestia_earth_models-0.65.
|
1209
|
-
hestia_earth_models-0.65.
|
1210
|
-
hestia_earth_models-0.65.
|
1211
|
-
hestia_earth_models-0.65.
|
1211
|
+
hestia_earth_models-0.65.10.dist-info/LICENSE,sha256=TD25LoiRJsA5CPUNrcyt1PXlGcbUGFMAeZoBcfCrCNE,1154
|
1212
|
+
hestia_earth_models-0.65.10.dist-info/METADATA,sha256=1B8T70nCeba3dfHkL6iNd8l0VARIGLSxUYTfw5LFcXA,4047
|
1213
|
+
hestia_earth_models-0.65.10.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
|
1214
|
+
hestia_earth_models-0.65.10.dist-info/top_level.txt,sha256=1dqA9TqpOLTEgpqa-YBsmbCmmNU1y56AtfFGEceZ2A0,19
|
1215
|
+
hestia_earth_models-0.65.10.dist-info/RECORD,,
|
@@ -120,8 +120,8 @@ bad_fuel_indicator_no_property_lookup = {
|
|
120
120
|
@mark.parametrize(
|
121
121
|
"resources, expected, num_inputs",
|
122
122
|
[
|
123
|
-
([],
|
124
|
-
([wrong_indicator],
|
123
|
+
([], False, 0),
|
124
|
+
([wrong_indicator], False, 0),
|
125
125
|
([indicator_no_inputs], False, 0),
|
126
126
|
([indicator_2_inputs], False, 2),
|
127
127
|
([indicator_no_unit], False, 0),
|
@@ -167,20 +167,6 @@ def test_run(*args):
|
|
167
167
|
assert value == expected
|
168
168
|
|
169
169
|
|
170
|
-
@patch(f"{class_path}._new_indicator", side_effect=fake_new_indicator)
|
171
|
-
def test_run_no_emissions(*args):
|
172
|
-
"""
|
173
|
-
Impact assessment with no emissions should return a indicator of 0
|
174
|
-
"""
|
175
|
-
with open(f"{fixtures_folder}/impactassessment.jsonld", encoding='utf-8') as f:
|
176
|
-
impactassessment = json.load(f)
|
177
|
-
|
178
|
-
del impactassessment['emissionsResourceUse']
|
179
|
-
|
180
|
-
value = run(impactassessment)
|
181
|
-
assert value['value'] == 0
|
182
|
-
|
183
|
-
|
184
170
|
def test_download_all_non_renewable_terms(*args):
|
185
171
|
"""
|
186
172
|
make sure download_all_non_renewable_terms() only returns terms we want
|
@@ -71,8 +71,8 @@ indicator_tellurium = {
|
|
71
71
|
@mark.parametrize(
|
72
72
|
"resources, expected, num_inputs",
|
73
73
|
[
|
74
|
-
([],
|
75
|
-
([wrong_indicator],
|
74
|
+
([], False, 0),
|
75
|
+
([wrong_indicator], False, 0),
|
76
76
|
([indicator_no_inputs], False, 0),
|
77
77
|
([indicator_2_inputs], False, 0),
|
78
78
|
([indicator_no_unit], False, 0),
|
@@ -108,17 +108,3 @@ def test_run(*args):
|
|
108
108
|
|
109
109
|
value = run(impactassessment)
|
110
110
|
assert value == expected
|
111
|
-
|
112
|
-
|
113
|
-
@patch(f"{class_path}._new_indicator", side_effect=fake_new_indicator)
|
114
|
-
def test_run_no_emissions(*args):
|
115
|
-
"""
|
116
|
-
Impact assessment with no emissions should return a indicator of 0
|
117
|
-
"""
|
118
|
-
with open(f"{fixtures_folder}/impactassessment.jsonld", encoding='utf-8') as f:
|
119
|
-
impactassessment = json.load(f)
|
120
|
-
|
121
|
-
del impactassessment['emissionsResourceUse']
|
122
|
-
|
123
|
-
value = run(impactassessment)
|
124
|
-
assert value['value'] == 0
|
@@ -19,16 +19,3 @@ def test_run(*args):
|
|
19
19
|
|
20
20
|
value = run(impactassessment)
|
21
21
|
assert value == expected
|
22
|
-
|
23
|
-
|
24
|
-
@patch(f"{class_path}._new_indicator", side_effect=fake_new_indicator)
|
25
|
-
def test_run_empty_input(*args):
|
26
|
-
"""
|
27
|
-
Test with impact-assessment.jsonld that does NOT contain any "emissionsResourceUse".
|
28
|
-
"""
|
29
|
-
|
30
|
-
with open(f"{fixtures_path}/impact_assessment/emissions/impact-assessment.jsonld", encoding='utf-8') as f:
|
31
|
-
impactassessment = json.load(f)
|
32
|
-
|
33
|
-
result = run(impactassessment)
|
34
|
-
assert result['value'] == 0
|