REGISTER NOW: DdS Autumn School! 🇨🇭 Grosshöchstetten (Switzerland) 🗓️ 6.-11. October 2024

bw2io.importers.json_ld#

Module Contents#

Classes#

JSONLDImporter

Importer for the OLCD JSON-LD data format.

class bw2io.importers.json_ld.JSONLDImporter(dirpath, database_name, preferred_allocation=None)[source]#

Bases: bw2io.importers.base_lci.LCIImporter

Inheritance diagram of bw2io.importers.json_ld.JSONLDImporter

Importer for the OLCD JSON-LD data format.

See discussion with linked issues here.

extractor[source]#
format = 'OLCA JSON-LD'[source]#
apply_strategies(*args, **kwargs)[source]#
flows_as_biosphere_database(data, database_name, suffix=' biosphere')[source]#
flows_as_products(data)[source]#
merge_biosphere_flows()[source]#

Add flows in self.biosphere_database to self.data.

write_separate_biosphere_database()[source]#