biopal.fd.main_FD.CoreProcessingFD#
- class biopal.fd.main_FD.CoreProcessingFD(configuration_file)#
CoreProcessingFD APP
CoreProcessingFD is the second of the two sub-APPs called by ForestDisturbance processor.
It calls the “change detection” algorithm (which is implemented as a function) once for each nominal geometry: this app will cycle over each nominal geometry and for each of them it calls the change detection function that will cycle over all the global cycles, computing the change detection for the current geometry. 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 first APP to be called in the manual sequence
InitializeAlgorithmFD
it’s the APP which prepares the input for this APP
Notes
It is possible to launch many istances of “CoreProcessingFD” APP without need to re launch all the 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)