bw2regional

Subpackages

Submodules

Package Contents

Classes

ExtensionTable

ExtensionTablesLCA

Perform regionalized LCA calculation, using biosphere flow- and activity-specific extension tables.

Intersection

Loading

OneSpatialScaleLCA

Perform regionalized LCA calculation, where the inventory shares the same spatial scale as impact assessment.

PandarusRemote

Interaction with pandarus_remote web service.

Topography

A topographical description of a geocollection.

TwoSpatialScalesLCA

Perform regionalized LCA calculation, matching the spatial scales of inventory and impact assessment.

TwoSpatialScalesWithGenericLoadingLCA

Perform regionalized LCA calculation, matching the spatial scales of inventory and impact assessment, including generic loading factors applied to all flows.

Functions

calculate_needed_intersections(functional_unit, ...[, ...])

create_ecoinvent_collections()

create_empty_intersection(name)

Shortcut to create Intersection object with no data

create_restofworlds_collections()

create_world_collections()

divide_by_area(source_fp, destination_fp)

Create a new raster file at destination_fp, dividing the values in source_fp by their cell's area.

get_spatial_dataset_kind(filepath)

Get kind of spatial dataset at filepath.

hash_collection(name)

Return SHA256 hash for a topo- or geocollection.

import_from_pandarus(fp)

Load output file from Pandarus job.

import_regionalized_cfs(geocollection, method_tuple, ...)

Import data from a vector geospatial dataset into a Method.

label_activity_geocollections(name)

Add geocollections to activity location fields.

reset_all_geo()

Reset all bw2regional data and metadata

reset_geo_meta()

sha256(filepath[, blocksize])

Generate SHA 256 hash for file at filepath

Attributes

cg

extension_tables

geocollections

intersections

loadings

remote

topocollections

bw2regional.cg[source]