ecospold
With inspiration from bw2data/io/import_ecospold2.py and affiliated files
The purpose of this archive (and ILCD alike) is to provide a common interface, a la the semantic web paper, to a collection of process data, to wit: - list of process metadata: UUID | Name | Spatial | Temporal | Ref Product | Comment |
tail = re.compile('/([^/]+)$')
module-attribute
Used to install conversion factors between different flow reference units. Satisfies the requirement: conversion_dict[(k1, k2)] = f implies 1 k1 = f k2
Note: one conversion factor that was omitted is required by the 2015-era US LCI database: The process "Biodegradable loose fill [RNA]" requires "natural gas, combusted in equipment" measured in kWh, but there is no conversion from m3 of natural gas combusted to kWh. My best guess is on a GCV basis of fuel input, so ~40 MJ/m3 = 11.111 kWh / m3
This value must be entered by hand when the USLCI database is loaded.
EcospoldV1Archive
Bases: LcArchive
Create an Ecospold Archive object from a path. By default, assumes the path points to a literal .7z file, of the type that one can download from the ecoinvent website. Creates an accessor for files in that archive and allows a user to
__init__(source, prefix=None, ns_uuid=None, **kwargs)
Just instantiates the parent class.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
source |
physical data source |
required | |
prefix |
difference between the internal path (ref) and the ILCD base |
None
|
|
ns_uuid |
NS UUID not allowed for ecospold ve |
None
|
Returns:
Type | Description |
---|---|
|