Skip to content

Commit bc54c9d

Browse files
committed
Added raw to list of checked ENVI data file extensions.
1 parent f2cb798 commit bc54c9d

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

VERSIONS.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ Changes
2828

2929
* Added a `SpyException` base class for package-specific exceptions.
3030

31+
* Added "raw" to the list of checked ENVI image data file extensions.
32+
3133
Bug Fixes
3234
---------
3335

spectral/io/envi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757

5858
# Known ENVI data file extensions. Upper and lower case versions will be
5959
# recognized, as well as interleaves ('bil', 'bip', 'bsq'), and no extension.
60-
KNOWN_EXTS = ['img', 'dat', 'sli', 'hyspex']
60+
KNOWN_EXTS = ['img', 'dat', 'sli', 'hyspex', 'raw']
6161

6262
dtype_map = [('1', np.uint8), # unsigned byte
6363
('2', np.int16), # 16-bit int

0 commit comments

Comments
 (0)