Hi Support, I'm currently experiencing some issues with the use of oft-gapfill. It has been running and working as outlined in the exercises under oft-gapfill on your wiki page. Initial run of the executable with the following parameters (below) issues with the error that it needs to be re-run using a larger -sd. I follow the instructions and alter the -sd to a larger one. This is then followed by an error "Segmentation fault (core dumped)". I haven't experienced a seg error previously and I'm currently unsure of how to progress forward.
$ oft-gapfill -la 1 -nolocal -pm -sd 4 -ws 11 -um simple_mask.tif stack.tif filled_a_b.tif
outfile: filled_a_b.tif LA model file: filled_a_b.tif.models Using Mask file: simple_mask.tif Allocating: 14130 14180 11 Using Large Area Model LA: 1 1 14130.000000 14180.000000 Allocate: 113040 Allocated Processing 0 1 2 3 4 5 6 7 8 9 Building LA models Error allocating memory for 95226704 observations in the sample array Please re-run with higher -sd parameter value. The current value was 4
$ oft-gapfill -la 1 -nolocal -pm -sd 10 -um simple_mask.tif stack.tif filled_a_b.tif
outfile: filled_a_b.tif LA model file: filled_a_b.tif.models Using Mask file: simple_mask.tif Allocating: 14130 14180 3 Using Large Area Model LA: 1 1 14130.000000 14180.000000 Allocate: 113040 Allocated Processing 0 1 2 3 4 5 6 7 8 9 Building LA models Segmentation fault (core dumped)
The project is being performed on Landsat 8 imagery to remove and fill areas of significant cloud of the Cape York Peninsula, Australia. Currently I have a number of filled images using my anchor image, however I am trying to combine them all to end up with no gaps in the final image.
Running OFGT version 1.26.6
Your assistance and guidance would be appreciated, Regards,