bw2io.importers.ecospold1
#
Module Contents#
Classes#
Import and process mutli-output datasets in the ecospold 1 format. |
|
Import and process single-output datasets in the ecospold 1 format. |
|
Import and process single-output datasets in the ecospold 1 format. |
- class bw2io.importers.ecospold1.MultiOutputEcospold1Importer(*args, **kwargs)[source]#
Bases:
SingleOutputEcospold1Importer
Import and process mutli-output datasets in the ecospold 1 format.
Works the same as the single-output importer, but first allocates multioutput datasets.
- class bw2io.importers.ecospold1.NoIntegerCodesEcospold1Importer(*args, **kwargs)[source]#
Bases:
SingleOutputEcospold1Importer
Import and process single-output datasets in the ecospold 1 format.
Applies the following strategies: #. If only one exchange is a production exchange, that is the reference product #. Delete (unreliable) integer codes from extracted data #. Drop
unspecified
subcategories from biosphere flows #. Normalize biosphere flow categories to ecoinvent 3.1 standard #. Normalize biosphere flow names to ecoinvent 3.1 standard #. Remove locations from biosphere exchanges #. Create acode
from the activity hash of the dataset #. Link biosphere exchanges to the default biosphere database #. Link internal technosphere exchanges- Parameters
filepath (*) – Either a file or directory.
db_name (*) – Name of database to create.
- class bw2io.importers.ecospold1.SingleOutputEcospold1Importer(filepath, db_name, use_mp=True, extractor=Ecospold1DataExtractor)[source]#
Bases:
bw2io.importers.base_lci.LCIImporter
Import and process single-output datasets in the ecospold 1 format.
Applies the following strategies: #. If only one exchange is a production exchange, that is the reference product #. Delete (unreliable) integer codes from extracted data #. Drop
unspecified
subcategories from biosphere flows #. Normalize biosphere flow categories to ecoinvent 3.1 standard #. Normalize biosphere flow names to ecoinvent 3.1 standard #. Remove locations from biosphere exchanges #. Create acode
from the activity hash of the dataset #. Link biosphere exchanges to the default biosphere database #. Link internal technosphere exchanges- Parameters
filepath (*) – Either a file or directory.
db_name (*) – Name of database to create.