biopal.fd.main_FD.InitializeAlgorithmFD#

class biopal.fd.main_FD.InitializeAlgorithmFD(configuration_file)#

InitializeAlgorithmFD APP

InitializeAlgorithmFD APP is the first of the two sub-APPs called by ForestDisturbance processor.

It organizes the input dataSet by grouping all the different temporal global cycles of each stack with same nominal geometry, preparing the inputs for the “CoreProcessingFD” APP. It is automatically called in the default run (see Getting Started section), or can be manually launched (stand alone) following this sequence: dataset_query -> InitializeAlgorithmFD -> CoreProcessingFD

See also

biopal.dataset_query.dataset_query.dataset_query

it’s the APP to be called before this APP

CoreProcessingFD

it’s the second of the two sub-APPs called by ForestDisturbance processor

Examples

Manual FD chain execution

>>> from biopal.dataset_query.dataset_query import dataset_query
>>> from biopal.fd.main_FD import InitializeAlgorithmFD, CoreProcessingFD
>>> dq_obj = dataset_query()
>>> input_file_up = dq_obj.run( input_file )
>>> init_fd_obj = InitializeAlgorithmFD( config_file )
>>> input_file_up2 = init_fd_obj.run( input_file_up )
>>> fdp_obj = CoreProcessingFD( config_file )
>>> fdp_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_fd” section

  • config_file: path of the BioPAL configuration file

Attributes:
configuration_filestr

path of the Configuration_File.xml file

Methods

run( input_file_path )

run the InitializeAlgorithmFD process

name

(str) name of the APP

__init__(configuration_file)#

Methods

__init__(configuration_file)

name()

run(input_file_xml)