biopal.agb.main_AGB.AboveGroundBiomass#
- class biopal.agb.main_AGB.AboveGroundBiomass(configuration_file)#
AGB main APP Above Ground Biomass
run this APP to execute the complete Above Ground Biomass (AGB) processing chain.
AboveGroundBiomass is composed by two sub APPS automatically called in sequence when standard launch is performed: StackBasedProcessingAGB -> CoreProcessingAGB
Refer to dataset_query, StackBasedProcessingAGB and CoreProcessingAGB documentation and Tutorial section for step by step run.
See also
biopal.dataset_query.dataset_query.dataset_query
it’s the APP to be called before this APP
StackBasedProcessingAGB
it’s the first of the two sub-APPs called by AboveGroundBiomass preocessor
CoreProcessingAGB
it’s the second of the two sub-APPs called by AboveGroundBiomass processor
Examples
Manual AGB chain execution
>>> from biopal.dataset_query.dataset_query import dataset_query >>> from biopal.agb.main_AGB import AboveGroundBiomass >>> dq_obj = dataset_query() >>> input_file_up = dq_obj.run( input_file ) >>> chain_obj = AboveGroundBiomass( configuration_file ) >>> chain_obj.run( input_file_up )
input_file: path of the BioPAL input file
input_file_up: same of input_file with also the “stack_based_processing” section
configuration_file: path of the BioPAL configuration file
- Attributes:
- configuration_filestr
path of the Configuration_File.xml file
Methods
run( input_file_path )
run the AboveGroundBiomass processing
name
(str) name of the APP
- __init__(configuration_file)#
Methods
__init__
(configuration_file)name
()run
(input_file_xml)