Commit 858ef5b7 authored by Gaetano Raffaele's avatar Gaetano Raffaele
Browse files

ENH: step to get rid of binary masks.

parent c5f04d69
No related merge requests found
Showing with 8 additions and 0 deletions
+8 -0
...@@ -411,6 +411,14 @@ class S2TheiaTilePipeline: ...@@ -411,6 +411,14 @@ class S2TheiaTilePipeline:
with open(fn) as f: with open(fn) as f:
return [l for l in f.read().splitlines() if l] 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): def gapfill(self, output_dates=None, on_disk=False):
#assert(os.path.exists(output_dates)) #assert(os.path.exists(output_dates))
proc_idx = self.out_idx.copy() proc_idx = self.out_idx.copy()
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment