Skip to content

Commit

Permalink
Added raw to list of checked ENVI data file extensions.
Browse files Browse the repository at this point in the history
  • Loading branch information
tboggs committed Jun 5, 2017
1 parent f2cb798 commit bc54c9d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions VERSIONS.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
---------

Expand Down
2 changes: 1 addition & 1 deletion spectral/io/envi.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bc54c9d

Please sign in to comment.