Commit 72b987f7 authored by Gaetano Raffaele's avatar Gaetano Raffaele
Browse files

ENH: coded S2 L3A THEIA Prototype.

No related merge requests found
Showing with 18 additions and 0 deletions
+18 -0
from TimeSeries.s2theia import *
class S2L3ATheiaTilePipeline(S2TheiaTilePipeline):
# --- BEGIN SENSOR PROTOTYPE ---
NAME = 'S2-L3A-THEIA'
PTRN_10m = ['*_FRC_B2.tif', '*_FRC_B3.tif', '*_FRC_B4.tif', '*_FRC_B8.tif']
PTRN_20m = ['*_FRC_B5.tif', '*_FRC_B6.tif', '*_FRC_B7.tif', '*_FRC_B8A.tif', '*_FRC_B11.tif', '*_FRC_B12.tif']
# PTRN_msk = ['MASKS/*_EDG_R1.tif', 'MASKS/*_SAT_R1.tif', 'MASKS/*_CLM_R1.tif']
# maybe use weights to enable masking/gapfilling
PTRN_ful = PTRN_10m[0:3] + PTRN_20m[0:3] + [PTRN_10m[3]] + PTRN_20m[3:]
class S2L3ATheiaPipeline(S2TheiaPipeline):
S2TilePipeline = S2L3ATheiaTilePipeline
_check = S2TilePipeline._check
_tile_id = S2TilePipeline._tile_id
# have to adjust if no gapfilling
\ No newline at end of file
......@@ -62,6 +62,7 @@ def fetch(shp, datetime, output_fld):
return S2PlaneteryPipeline(output_fld)
class S2PlanetaryTilePipeline(S2Sen2CorTilePipeline):
NAME = 'S2-L2A-SEN2COR-PLANETARY'
PTRN_10m = ['GRANULE/*/IMG_DATA/R10m/*_B02_10m.tif',
'GRANULE/*/IMG_DATA/R10m/*_B03_10m.tif',
'GRANULE/*/IMG_DATA/R10m/*_B04_10m.tif',
......
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