index
IndexImplementation
Bases: BasicImplementation
, IndexInterface
A CatalogInterface provides basic-level semantic data about entities
Only requires the abstract ArchiveImplementation
Attribute requirements for the archive: - everything required by BasicImplementation - entities_by_type() - count_by_type() - search(), including implicitly _narrow_search()
lcia(**kwargs)
Generate LCIA Methodologies or method collections- these are specified by having the singleton MetaQuantityUnit (and/or the unitstring '0') as a unit. They should not have indicators. They have a property 'impactCategories' which is a list of included lcia_methods
Parameters:
Name | Type | Description | Default |
---|---|---|---|
kwargs |
|
{}
|
Returns:
Type | Description |
---|---|
|
lcia_methods(**kwargs)
Generate LCIA Methods-- which are quantities that have defined indicators
Parameters:
Name | Type | Description | Default |
---|---|---|---|
kwargs |
|
{}
|
Returns:
Type | Description |
---|---|
|
targets(flow_ref, direction=None, **kwargs)
Generate processes in the archive that terminate a given exchange i.e. - have the same flow and a complementary direction. If refs_only is specified, only report processes that terminate the exchange with a reference exchange.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
flow_ref |
flow, exchange, or flow's external key |
required | |
direction |
[None] filter |
None
|
Returns:
Type | Description |
---|---|
|
unmatched_flows(flows, **kwargs)
Takes in a list of flows and generates a sublist of flows that were not recognized as synonyms to any local flows.
Uses TermManager.get_flowable which tries the best of flow.synonyms, flow.name, str(flow)
Parameters:
Name | Type | Description | Default |
---|---|---|---|
flows |
|
required | |
kwargs |
|
{}
|
Returns:
Type | Description |
---|---|
|