goblin_lite.data_processing.landuse_data_generator
This module contains the LandUseDataGenerator class, which is responsible for generating landuse data and landcover outputs. The class leverages the TransitionMatrix, LandCover and Afforestation classes to calculate landuse data and landcover outputs based on scenario-specific and baseline landuse data.
Module Contents
Classes
Manages the generation of land use and land cover data. Leverages TransitionMatrix, |
- class goblin_lite.data_processing.landuse_data_generator.LandUseDataGenerator(calibration_year, target_year, scenario_dataframe, grassland_area, spared_area, spared_area_breakdown)[source]
Manages the generation of land use and land cover data. Leverages TransitionMatrix, LandCover, and Afforestation classes for core calculations.
- calibration_year
Base year for model calibration.
- Type:
int
- target_year
Year of analysis.
- Type:
int
- scenario_dataframe
Dataframe containing scenario-specific land use parameters.
- Type:
pandas.DataFrame
- grassland_area
Grassland area data.
- Type:
pandas.DataFrame
- spared_area
Spared grassland area data (converted to other land uses).
- Type:
pandas.DataFrame
- spared_area_breakdown
Breakdown of spared grassland area (e.g., by soil type).
- Type:
pandas.DataFrame
- generate_transition_matrix()[source]
Creates a land use transition matrix using the TransitionMatrix class.
- generate_landuse_data()[source]
Calculates the base and future land use areas using the LandCover class.