bw2io.importers.ecospold2_biosphere#

Module Contents#

Classes#

Ecospold2BiosphereImporter

Import elementary flows from ecoinvent xml format.

Attributes#

EMISSIONS_CATEGORIES

class bw2io.importers.ecospold2_biosphere.Ecospold2BiosphereImporter(name='biosphere3', version='3.9')[source]#

Bases: bw2io.importers.base_lci.LCIImporter

Inheritance diagram of bw2io.importers.ecospold2_biosphere.Ecospold2BiosphereImporter

Import elementary flows from ecoinvent xml format.

Attributes#

formatstr

Format of the data: “Ecoinvent XML”.

db_namestr

Name of the database.

datalist

Extracted data from the xml file.

strategieslist

List of functions to apply to the extracted data.

See Also#

brightway-lca/brightway2-io

Initialize the importer.

Parameters#

namestr, optional

Name of the database, by default “biosphere3”.

versionstr, optional

Version of the database, by default “3.9”.

format = 'Ecoinvent XML'[source]#
extract(version)[source]#

Extract elementary flows from the xml file.

Parameters#
versionstr

Version of the database.

Returns#
list

Extracted data from the xml file.

bw2io.importers.ecospold2_biosphere.EMISSIONS_CATEGORIES[source]#