biopal.agb.main_AGB.StackBasedProcessingAGB#

class biopal.agb.main_AGB.StackBasedProcessingAGB(configuration_file)#

StackBasedProcessingAGB APP

StackBasedProcessingAGB APP is the first of the two sub-APPs called by AboveGroundBiomass processor.

It performs stack-based operations to prepare inputs for the “CoreProcessingAGB” APP. It is automatically called in the default run (see Getting Started and Tutorial documentation section), or can be manually launched (stand alone) following this sequence: dataset_query -> StackBasedProcessingAGB -> CoreProcessingAGB

See also

biopal.dataset_query.dataset_query.dataset_query

it’s the first APP to be called in the manual sequence

CoreProcessingAGB

it’s the core APP that follows this APP in the call sequence

Examples

Manual AGB chain execution

>>> from biopal.dataset_query.dataset_query import dataset_query
>>> from biopal.AGB.main_AGB import StackBasedProcessingAGB, CoreProcessingAGB
>>> dq_obj = dataset_query()
>>> input_file_up1 = dq_obj.run( input_file )
>>> sbp_obj = StackBasedProcessingAGB( config_file )
>>> input_file_up2, config_file_up = sbp_obj.run( input_file_up1 )
>>> agbp_obj = CoreProcessingAGB( config_file_up )
>>> agbp_obj.run( input_file_up2 )
  • input_file: path of the BioPAL input file

  • input_file_up1: same of input_file with also the “stack_based_processing” section

  • input_file_up2: same of input_file_up1 with also the “core_processing_agb” section

  • config_file: path of the BioPAL configuration file

  • config_file_up: same of config_file, with paths updated

Attributes:
configuration_filestr

path of the Configuration_File.xml file

Methods

run( input_file_path )

run the StackBasedProcessingAGB APP

name

(str) name of the APP

__init__(configuration_file)#

Methods

__init__(configuration_file)

name()

run(input_file_xml)