Skip to content

olca_accessor

OlcaAccessorV2

Bases: object

To access the reformed GreenDelta/data repository

factors_for_method(q)

LCIA category,Flow,Flow property,Flow unit,Location,Factor

Parameters:

Name Type Description Default
q
required

Returns:

Type Description

read_locales()

locations.csv has ID,Name,Description,Category,Code,Latitude,Longitude columns, but: - "Category" is empty for all records - "ID" we're skipping - "Latitude" and "Longitude" we have no use for at the moment - and we don't need "Description" either. but let's just keep em all.

Returns:

Type Description

read_unit_groups()

This returns a DICT whose KEYS are the Unit Group Name, and whose VALUES are UnitGroup objects That dict is then accessed later on

Returns:

Type Description