changed prepareUAVSAR to rename SLCs

LT1AB
Eric Jameson Fielding 2019-05-06 00:06:10 -07:00
parent 9a947b3d14
commit 8c2e0f94af
1 changed files with 2 additions and 2 deletions

View File

@ -81,7 +81,8 @@ def main(iargs=None):
print (cmd) print (cmd)
os.system(cmd) os.system(cmd)
cmd = 'mv ' + file + ' ' + imgDir slcFile = os.path.join(imgDir, imgDate+'.slc')
cmd = 'mv ' + file + ' ' + slcFile
print(cmd) print(cmd)
os.system(cmd) os.system(cmd)
@ -90,7 +91,6 @@ def main(iargs=None):
os.system(cmd) os.system(cmd)
shelveFile = os.path.join(imgDir, 'data') shelveFile = os.path.join(imgDir, 'data')
slcFile = os.path.join(imgDir, os.path.basename(file))
write_xml(shelveFile, slcFile) write_xml(shelveFile, slcFile)
if __name__ == '__main__': if __name__ == '__main__':