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.

Parameters
  • name (str, optional) – Name of the database, by default “biosphere3”.

  • version (str, optional) – Version of the database, by default “3.9”.

format[source]#

Format of the data: “Ecoinvent XML”.

Type

str

db_name#

Name of the database.

Type

str

data#

Extracted data from the xml file.

Type

list

strategies#

List of functions to apply to the extracted data.

Type

list

See also

brightway-lca/brightway2-io

Initialize the importer.

param name

Name of the database, by default “biosphere3”.

type name

str, optional

param version

Version of the database, by default “3.9”.

type version

str, optional

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

Extract elementary flows from the xml file.

Parameters

version (str) – Version of the database.

Returns

Extracted data from the xml file.

Return type

list

bw2io.importers.ecospold2_biosphere.EMISSIONS_CATEGORIES[source]#