bw2io.extractors.ecospold2#

Module Contents#

Classes#

Ecospold2DataExtractor

Functions#

getattr2(obj, attr)

Attributes#

ACTIVITY_TYPES

PM_MAPPING

TOO_HIGH

TOO_LOW

class bw2io.extractors.ecospold2.Ecospold2DataExtractor[source]#

Bases: object

classmethod abort_exchange(exc, comment=None)[source]#
classmethod condense_multiline_comment(element)[source]#
classmethod extract(dirpath, db_name, use_mp=True)[source]#
classmethod extract_activity(dirpath, filename, db_name)[source]#
classmethod extract_exchange(exc)[source]#

Process exchange.

Input groups are:

  1. Materials/fuels

  2. Electricity/Heat

  3. Services

  4. From environment (elementary exchange only)

  5. FromTechnosphere

Output groups are:

0. ReferenceProduct 2. By-product 3. MaterialForTreatment 4. To environment (elementary exchange only) 5. Stock addition

classmethod extract_parameter(exc)[source]#
classmethod extract_properties(exc)[source]#
classmethod extract_technosphere_metadata(dirpath)[source]#
classmethod extract_uncertainty_dict(obj)[source]#
bw2io.extractors.ecospold2.getattr2(obj, attr)[source]#
bw2io.extractors.ecospold2.ACTIVITY_TYPES[source]#
bw2io.extractors.ecospold2.PM_MAPPING[source]#
bw2io.extractors.ecospold2.TOO_HIGH = Multiline-String[source]#
Show Value
"""Lognormal scale value impossibly high: {}.
Reverting to undefined uncertainty."""
bw2io.extractors.ecospold2.TOO_LOW = Multiline-String[source]#
Show Value
"""Lognormal scale value at or below zero: {}.
Reverting to undefined uncertainty."""