Add files via upload

LT1AB
Microwave Remote Sensing Laboratory 2019-09-26 15:22:27 -04:00 committed by GitHub
parent 64e2fdff0f
commit 620ea91641
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -33,6 +33,8 @@ def cmdLineParse(iargs = None):
def run(imageSlc1, imageSlc2, resampName, azLooks, rgLooks):
objSlc1 = isceobj.createSlcImage()
#right now imageSlc1 and 2 are just text files, need to open them as image
IU.copyAttributes(imageSlc1, objSlc1)
objSlc1.setAccessMode('read')
objSlc1.createImage()
@ -81,7 +83,6 @@ def run(imageSlc1, imageSlc2, resampName, azLooks, rgLooks):
def main(iargs=None):
inps = cmdLineParse(iargs)
img1 = isceobj.createImage()
@ -97,8 +98,7 @@ def main(iargs=None):
if __name__ == '__main__':
main()
'''
Main driver.
'''