diff --git a/VERSIONS.txt b/VERSIONS.txt index a2d2226..1c2ecc7 100644 --- a/VERSIONS.txt +++ b/VERSIONS.txt @@ -28,6 +28,8 @@ Changes * Added a `SpyException` base class for package-specific exceptions. +* Added "raw" to the list of checked ENVI image data file extensions. + Bug Fixes --------- diff --git a/spectral/io/envi.py b/spectral/io/envi.py index 58014d3..feaaa03 100644 --- a/spectral/io/envi.py +++ b/spectral/io/envi.py @@ -57,7 +57,7 @@ # Known ENVI data file extensions. Upper and lower case versions will be # recognized, as well as interleaves ('bil', 'bip', 'bsq'), and no extension. -KNOWN_EXTS = ['img', 'dat', 'sli', 'hyspex'] +KNOWN_EXTS = ['img', 'dat', 'sli', 'hyspex', 'raw'] dtype_map = [('1', np.uint8), # unsigned byte ('2', np.int16), # 16-bit int