Commit 3de3c5ed authored by Gaetano Raffaele's avatar Gaetano Raffaele
Browse files

FIX: concatenate feature stack in correct order.

parent 7b294225
......@@ -478,8 +478,8 @@ def createS1Features(fld, base_name='S1series', out_fld=None, features=None, con
if out_fld is None:
out_fld = fld
lst_vh = sorted(glob.glob(fld + os.sep + '*iw-grd-vh*.tiff'))
lst_vv = sorted(glob.glob(fld + os.sep + '*iw-grd-vv*.tiff'))
lst_vh = sorted(glob.glob(fld + os.sep + '*iw-grd-vh*.tiff', key=lambda x: x[14:22]))
lst_vv = sorted(glob.glob(fld + os.sep + '*iw-grd-vv*.tiff', key=lambda x: x[14:22]))
# Check date correspondance
dates_vh = [os.path.basename(l)[14:22] for l in lst_vh]
......
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