bw2regional.export

Module Contents

Functions

_generic_exporter(lca, geocollection, filepath, ...[, ...])

_hash_feature(feature)

Calculate SHA256 hash of feature geometry as WKT

add_attributes(dct, func, row_index, col_index)

add_two_geojson_results(first, second, output_filepath)

Sum results from two regionalized LCA calculations on the same spatial scale.

create_geodataframe(matrix, used_geocollections, ...)

unplottable(key)

Attributes

as_ia_spatial_scale

as_inv_spatial_scale

as_xt_spatial_scale

bw2regional.export._generic_exporter(lca, geocollection, filepath, spatial_dict, spatial_func, score_column_absolute='score_abs', score_column_relative='score_rel', cutoff=0.001)[source]
bw2regional.export._hash_feature(feature)[source]

Calculate SHA256 hash of feature geometry as WKT

bw2regional.export.add_attributes(dct, func, row_index, col_index)[source]
bw2regional.export.add_two_geojson_results(first, second, output_filepath, first_column_name='score_abs', second_column_name='score_abs', score_column_absolute='score_abs', score_column_relative='score_rel', cutoff=0.0001)[source]

Sum results from two regionalized LCA calculations on the same spatial scale.

bw2regional.export.create_geodataframe(matrix, used_geocollections, row_dict, col_dict, spatial_dim='col', attribute_adder=None, cutoff=None)[source]
bw2regional.export.unplottable(key)[source]
bw2regional.export.as_ia_spatial_scale[source]
bw2regional.export.as_inv_spatial_scale[source]
bw2regional.export.as_xt_spatial_scale[source]