Merge pull request #352 from mirzaees/stripmap_gdal_multilook
gdal2isce_xml.py: correct gdal multilook scheme for losLT1AB
commit
34895d1761
|
@ -105,8 +105,12 @@ def gdal2isce_xml(fname):
|
|||
img.scheme = 'BSQ'
|
||||
else:
|
||||
print('Unrecognized interleaving scheme, {}'.format(sch))
|
||||
print('Assuming default, BIP')
|
||||
img.scheme = 'BIP'
|
||||
if bands < 2:
|
||||
print('Assuming default, BIP')
|
||||
img.scheme = 'BIP'
|
||||
else:
|
||||
print('Assuming default, BSQ')
|
||||
img.scheme = 'BSQ'
|
||||
|
||||
img.firstLongitude = transform[0]
|
||||
img.firstLatitude = transform[3]
|
||||
|
|
Loading…
Reference in New Issue