goblin_lite.resource_manager.goblin_data_manager

This module contains the GoblinDataManager class, which is responsible for managing data for the GOBLIN LCA framework.

Module Contents

Classes

GoblinDataManager

Manages data for the GOBLIN LCA framework.

class goblin_lite.resource_manager.goblin_data_manager.GoblinDataManager(ef_country, calibration_year, target_year, configuration_path, cbm_configuration_path, DATABASE_PATH=None, AR_VALUE='AR5')[source]

Manages data for the GOBLIN LCA framework.

This class is responsible for managing data for the GOBLIN LCA framework. It provides access to AR values, climate change livestock emissions groups, climate change livestock emissions categories, climate change livestock conversion groups, climate change crops emissions groups, climate change crop conversion groups, default urea, and default urea abated.

AR4_values

The AR4 values for CH4, N2O, and CO2e.

Type:

dict

AR5_values

The AR5 values for CH4, N2O, and CO2e.

Type:

dict

AR_values

The AR values for CH4, N2O, and CO2e.

Type:

dict

climate_change_livestock_emissions_groups

The climate change livestock emissions groups.

Type:

dict

climate_change_livestock_emissions_categories

The climate change livestock emissions categories.

Type:

dict

climate_change_livestock_conversion_groups

The climate change livestock conversion groups.

Type:

dict

climate_change_crops_emissions_groups

The climate change crops emissions groups.

Type:

dict

climate_change_crop_conversion_groups

The climate change crop conversion groups.

Type:

dict

default_urea

The default urea value.

Type:

float

default_urea_abated

The default urea abated value.

Type:

float

get_AR_values()[source]

Retrieves the AR values for CH4, N2O, and CO2e.

get_climate_change_livestock_emissions_groups()[source]

Retrieves the climate change livestock emissions groups.

get_climate_change_livestock_emissions_categories()[source]

Retrieves the climate change livestock emissions categories.

get_climate_change_livestock_conversion_groups()[source]

Retrieves the climate change livestock conversion groups.

get_climate_change_crops_emissions_groups()[source]

Retrieves the climate change crops emissions groups.

get_climate_change_crop_conversion_groups()[source]

Retrieves the climate change crop conversion groups.

get_default_urea()[source]

Retrieves the default urea value.

get_default_urea_abated()[source]

Retrieves the default urea abated value.

get_calibration_year()[source]

Retrieves the calibration year.

get_target_year()[source]

Retrieves the target year.

get_configuration_path()[source]

Retrieves the configuration path.

get_cbm_configuration_path()[source]

Retrieves the CBM configuration path.

get_database_path()[source]

Retrieves the database path.

get_ef_country()[source]

Retrieves the EF country.

get_AR_values()[source]

Retrieves the AR values for CH4, N2O, and CO2e.

Returns:

The AR values.

Return type:

dict

get_climate_change_livestock_emissions_groups()[source]

Retrieves the climate change livestock emissions groups.

Returns:

The climate change livestock emissions groups.

Return type:

dict

get_climate_change_livestock_emissions_categories()[source]

Retrieves the climate change livestock emissions categories.

Returns:

The climate change livestock emissions categories.

Return type:

dict

get_climate_change_livestock_conversion_groups()[source]

Retrieves the climate change livestock conversion groups.

Returns:

The climate change livestock conversion groups.

Return type:

dict

get_climate_change_crops_emissions_groups()[source]

Retrieves the climate change crops emissions groups.

Returns:

The climate change crops emissions groups.

Return type:

dict

get_climate_change_crop_conversion_groups()[source]

Retrieves the climate change crop conversion groups.

Returns:

The climate change crop conversion groups.

Return type:

dict

get_default_urea()[source]

Retrieves the default urea value.

Returns:

The default urea value.

Return type:

float

get_default_urea_abated()[source]

Retrieves the default urea abated value.

Returns:

The default urea abated value.

Return type:

float

get_calibration_year()[source]

Retrieves the calibration year.

Returns:

The calibration year.

Return type:

int

get_target_year()[source]

Retrieves the target year.

Returns:

The target year.

Return type:

int

get_configuration_path()[source]

Retrieves the configuration path.

Returns:

The configuration path.

Return type:

str

get_cbm_configuration_path()[source]

Retrieves the CBM configuration path.

Returns:

The CBM configuration path.

Return type:

str

get_database_path()[source]

Retrieves the database path.

Returns:

The database path.

Return type:

str

get_ef_country()[source]

Retrieves the EF country.

Returns:

The EF country.

Return type:

str