Open aloboa opened 6 months ago
this issue should be solved by adding .lower() in
if (not img.metadata['interleave'].lower() == 'BIL') and (not force):
raise ValueError('Image is not in bil format, cannot convert')
Note 'BIL' is very frequent (more than 'bil' in hdr files
Convert aborts with the message "Image is not in bil format, cannot convert" , even though the image is actually in BIL format. (in any case, Convert should work with either BIL, BSQ or PIL).
ENVI description = {Data recorded with Specim IQ} samples = 512 lines = 512 bands = 204 header offset = 0 file type = ENVI data type = 12 interleave = BIL sensor type = SPECIM IQ byte order = 0
Traceback: