bw2io.importers.ecospold2#

Classes#

SingleOutputEcospold2Importer

Base class for format-specific importers.

Module Contents#

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

Base class for format-specific importers.

Defines workflow for applying strategies.

Takes a database name (string) as initialization parameter.

Initializes the SingleOutputEcospold2Importer class instance.

Parameters:
  • dirpath (str) – Path to the directory containing the ecospold2 file.

  • db_name (str) – Name of the LCI database.

  • extractor (class) – Class for extracting data from the ecospold2 file, by default Ecospold2DataExtractor.

  • use_mp (bool) – Flag to indicate whether to use multiprocessing, by default True.

  • signal (object) – 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.

db_name[source]#
dirpath[source]#
format = 'Ecospold2'[source]#
signal[source]#
start[source]#
strategies[source]#