bw2io.importers.json_ld_lcia#

Classes#

Module Contents#

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

Bases: bw2io.importers.base_lcia.LCIAImporter

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[source]#

Extracted LCIA data.

Type:

dict

strategies[source]#

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

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

data[source]#
extractor[source]#
format = 'OLCA JSON-LD'[source]#
strategies[source]#