Failure in ImageTimeSeriesGapFilling
This bug had been reported by developers of the "LIS" processing chain, based on OTB.
Description
Depending on the output dates, ImageTimeSeriesGapFilling fails.
Steps to reproduce
otbcli_ImageTimeSeriesGapFilling -in tmp/multitemp_snow100.tif -mask tmp/multitemp_cloud_mask.vrt -out "tmp/gap_fillunit8.tif?&gdal:co:COMPRESS=DEFLATE" uint8 -comp 1 -it linear -ram 4096 -id tmp/input_dates.txt -od tmp/output_dates2.txt
otbcli_ImageTimeSeriesGapFilling -in tmp/multitemp_snow100.tif -mask tmp/multitemp_cloud_mask.vrt -out "tmp/gap_fillunit8.tif?&gdal:co:COMPRESS=DEFLATE" uint8 -comp 1 -it linear -ram 4096 -id tmp/input_dates.txt -od tmp/output_dates3.txt
First launch works fine, but the second one produces an empty image (containing zero values). The two launches differ by the date contained in the output date file.
==> tmp/output_dates2.txt <==
20200101
20200102
20200103
etc.
20200505
20200506
20200507
==> tmp/output_dates3.txt <==
**20191231**
20200101
20200102
20200103
etc.
20200505
20200506
20200507
Configuration information
OTB 7.0
Edited by Yannick TANGUY