Proposed fix on a bug in create_cmds.py (#291)
I'm proposing a fix to create_cmds.py since I found a minor bug in line 165 which doesn't remove the excluded dates during image stacking. Instead line 165 removes dates based on the dates not included from the dates to be included parameter on the alosStack.xml. The image folder contains the ALOS-2 images with dates 191005, 191019, 191102, 191214, 191228. I've tested the changes and it worked properly. Co-authored-by: Ryan Burns <rtburns@jpl.nasa.gov>LT1AB
parent
bbf8cb55ae
commit
ef29fecb92
|
@ -162,7 +162,7 @@ def formPairs(idir, numberOfSubsequentDates, pairTimeSpanMinimum=None, pairTimeS
|
|||
for pair in pairsProcess:
|
||||
rdate = pair.split('-')[0]
|
||||
sdate = pair.split('-')[1]
|
||||
if (rdate not in datesIncluded) and (sdate not in datesIncluded):
|
||||
if (rdate not in datesExcluded) and (sdate not in datesExcluded):
|
||||
pairsProcess2.append(pair)
|
||||
pairsProcess = pairsProcess2
|
||||
|
||||
|
|
Loading…
Reference in New Issue