Commit e880a46f authored by Gaetano Raffaele's avatar Gaetano Raffaele

FIX: Bug in mosaic folder naming for non-THEIA products

parent b3143c3d
......@@ -90,7 +90,8 @@ def main(argv):
for mos in toMosaic:
if sen == 'S2':
obd = os.path.basename(mos[0])[0:-5] + 'MOSAIC'
obd = obd[0:13] + obd[15:]
if 'THEIA' in obd:
obd = obd[0:13] + obd[15:]
od = mosd + obd
if not os.path.exists(od):
os.mkdir(od)
......
Markdown is supported
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