Merge pull request #507 from ZachKeskinen/patch-2

Fix Date Parsing Bug
LT1AB
Ryan Burns 2022-07-22 12:10:19 -07:00 committed by GitHub
commit 5d92004f88
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ def main(iargs=None):
#######################################
slc_files = glob.glob(os.path.join(inps.input, '*_s'+inps.segment+'_1x1.slc'))
for file in slc_files:
imgDate = get_Date(file)
imgDate = get_Date(os.path.basename(file))
print (imgDate)
annFile = file.replace('_s'+inps.segment+'_1x1.slc','')+'.ann'
print (annFile)