bw2io.importers.ecospold2_biosphere#
Attributes#
Classes#
Import elementary flows from ecoinvent xml format. |
Module Contents#
- class bw2io.importers.ecospold2_biosphere.Ecospold2BiosphereImporter(name: str = 'biosphere3', version: str = '3.9', filepath: pathlib.Path | None = None)[source]#
Bases:
bw2io.importers.base_lci.LCIImporter
Import elementary flows from ecoinvent xml format.
See also
https
//github.com/brightway-lca/brightway2-io/tree/main/bw2io/strategies
Initialize the importer.
- Parameters:
name (str, optional) – Name of the database, by default “biosphere3”.
version (str, optional) – Version of the database, by default “3.9”.
- extract(version: str | None = None, filepath: pathlib.Path | None = None)[source]#
Extract elementary flows from the xml file.
- Parameters:
version – Version of the database if using default data.
filepath – File path of user-specified data file
- Returns:
Extracted data from the xml file.
- Return type:
list