bw2io.importers.ecospold2#

Module Contents#

Classes#

SingleOutputEcospold2Importer

Class for importing single-output ecospold2 format LCI databases.

class bw2io.importers.ecospold2.SingleOutputEcospold2Importer(dirpath, db_name, extractor=Ecospold2DataExtractor, use_mp=True, signal=None, reparametrize_lognormals=False)[source]#

Bases: bw2io.importers.base_lci.LCIImporter

Inheritance diagram of bw2io.importers.ecospold2.SingleOutputEcospold2Importer

Class for importing single-output ecospold2 format LCI databases.

Raises#

MultiprocessingError

If an error occurs during multiprocessing.

Initializes the SingleOutputEcospold2Importer class instance.

Parameters#

dirpathstr

Path to the directory containing the ecospold2 file.

db_namestr

Name of the LCI database.

extractorclass

Class for extracting data from the ecospold2 file, by default Ecospold2DataExtractor.

use_mpbool

Flag to indicate whether to use multiprocessing, by default True.

signalobject

Object to indicate the status of the import process, by default None.

reparametrize_lognormals: bool

Flag to indicate if lognormal distributions for exchanges should be reparametrized such that the mean value of the resulting distribution meets the amount defined for the exchange.

format = 'Ecospold2'[source]#