Currently, the code is not fully run in parallel. It should be optimized in various ways:
In make_Landsat_cube.Rmd
Several parts could be run in parallel (eg downloading Landsat data) and are currently sequential
Processing data in FORCE can be run in parallel without problems (the settings file should be adjusted), but we should define which settings are most optimal to process the data. More info can be found here and in section 8 of this tutorial
In make_mask_fire_cube.Rmd
A loop is used to iterate over each tile. In each iteration, data are prepared. It should be fairly easy to parallelize this code. One point of attention is reading and writing of data (e.g. temporary files are generated).
Use FORCE's internal parallelization. Practically, this just translates to passing NPROC and NTHREAD to the parameter file. Subtask: figure out the advisable values.
Problem
Currently, the code is not fully run in parallel. It should be optimized in various ways:
In
make_Landsat_cube.Rmd
In
make_mask_fire_cube.Rmd