bw2data.meta#
Attributes#
Classes#
A dictionary for calculation setups. |
|
A dictionary for database metadata. This class includes methods to manage database versions. File data is saved in |
|
A dictionary for Dynamic calculation setups. |
|
A dictionary that maps location codes to integers. Needed because parameter arrays have integer |
|
A dictionary for method metadata. File data is saved in |
|
A dictionary for normalization metadata. File data is saved in |
|
A dictionary of project-specific preferences. |
|
A dictionary for weighting metadata. File data is saved in |
Module Contents#
- class bw2data.meta.CalculationSetups(dirpath=None)[source]#
Bases:
bw2data.serialization.PickledDict
A dictionary for calculation setups.
Keys: * inv: List of functional units, e.g.
[{(key): amount}, {(key): amount}]
* ia: List of LCIA methods, e.g.[(method), (method)]
.
- class bw2data.meta.Databases(dirpath=None)[source]#
Bases:
bw2data.serialization.SerializedDict
A dictionary for database metadata. This class includes methods to manage database versions. File data is saved in
databases.json
.
- class bw2data.meta.DynamicCalculationSetups(dirpath=None)[source]#
Bases:
bw2data.serialization.PickledDict
A dictionary for Dynamic calculation setups.
Keys: * inv: List of functional units, e.g.
[{(key): amount}, {(key): amount}]
* ia: Dictionary of orst case LCIA method and the relative dynamic LCIA method, e.g. `` [{dLCIA_method_1_worstcase:dLCIA_method_1 , dLCIA_method_2_worstcase:dLCIA_method_2}]``.
- class bw2data.meta.GeoMapping(*args, **kwargs)[source]#
Bases:
bw2data.serialization.PickledDict
A dictionary that maps location codes to integers. Needed because parameter arrays have integer
geo
fields.File data is stored in
geomapping.pickle
.This dictionary does not support setting items directly; instead, use the
add
method to add multiple keys.
- class bw2data.meta.Methods(dirpath=None)[source]#
Bases:
bw2data.serialization.CompoundJSONDict
A dictionary for method metadata. File data is saved in
methods.json
.
- class bw2data.meta.NormalizationMeta(dirpath=None)[source]#
Bases:
Methods
A dictionary for normalization metadata. File data is saved in
methods.json
.
- class bw2data.meta.Preferences(*args, **kwargs)[source]#
Bases:
bw2data.serialization.PickledDict
A dictionary of project-specific preferences.