diff --git a/TimeSeries/s2theia.py b/TimeSeries/s2theia.py index 982d321089d994a4f63d02c23c9c2f5ac147fc55..3ecf5a87e17a2e6e6ecfc43345085dff274a1f89 100644 --- a/TimeSeries/s2theia.py +++ b/TimeSeries/s2theia.py @@ -411,6 +411,14 @@ class S2TheiaTilePipeline: with open(fn) as f: return [l for l in f.read().splitlines() if l] + def skip_gapfill(self): + proc_idx = self.out_idx.copy() + self.out_idx = [] + for t in proc_idx[::2]: + self.append(t, self.files[t], self.types[t], 'out', is_output=True) + return + + def gapfill(self, output_dates=None, on_disk=False): #assert(os.path.exists(output_dates)) proc_idx = self.out_idx.copy()