model.tla
TLA Data module. Note: in the spreadsheet most of this module is a relic of the TAM module in the RRS model. All the statistical analysis is unused as TLA remains constant and has already been allocated by Drawdown. The only real function of the TLA tab is to provide a place to input custom TLA data, which can be used instead of Drawdown's allocations. Thus, this class is named CustomTLA.
def
tla_per_region(land_dist, custom_world_values=None):
A utility function to convert the land distribution output from AEZ Data into a dataframe broken out by region and years.
Args
- land_dist: output of get_land_distribution() from aez.AEZ
- custom_world_values: df of custom values to be substituted into the 'World' column. Intended to be the output of CustomTLA.get_world_values().
Returns
df: DataFrame for use with UnitAdoption