bw2io.importers.json_ld_lcia#

Module Contents#

Classes#

JSONLDLCIAImporter

Importer for the OLCD JSON-LD LCIA data format.

class bw2io.importers.json_ld_lcia.JSONLDLCIAImporter(dirpath)[source]#

Bases: bw2io.importers.base_lcia.LCIAImporter

Inheritance diagram of bw2io.importers.json_ld_lcia.JSONLDLCIAImporter

Importer for the OLCD JSON-LD LCIA data format.

Parameters

dirpath (str) – Directory path for the JSON-LD data.

format[source]#

Data format description.

Type

str

extractor[source]#

Extractor class for the JSON-LD data.

Type

JSONLDExtractor

data#

Extracted LCIA data.

Type

dict

strategies#

List of strategies to apply to the LCIA data.

Type

list

match_biosphere_by_id(database_name)[source]#

Matches biosphere flows to a specified database by ID.

Initialize the JSONLDLCIAImporter object.

Parameters

dirpath (str) – Directory path for the JSON-LD data.

Return type

None

extractor[source]#
format = 'OLCA JSON-LD'[source]#
match_biosphere_by_id(database_name)[source]#

Matches biosphere flows to a specified database by ID.

Parameters

database_name (str) – Name of the biosphere database.

Return type

None