The interleave keyword has no effect when passed to envi.create_image. Currently, the only way to set the interleave is to pass it in the metadata argument. This bug was reported by Daniel Scheffler, who proposed the following fix:
... add these two lines below line 729 in the envi.py file (.../spectral/io/):
if 'interleave' in kwargs:
metadata['interleave'] = kwargs['interleave']
The interleave keyword has no effect when passed to
envi.create_image
. Currently, the only way to set the interleave is to pass it in themetadata
argument. This bug was reported by Daniel Scheffler, who proposed the following fix: