dawhite / APTK

The ASTER Preprocessing Toolkit Plugin for ENVI
3 stars 0 forks source link

ENVI Crashes when processing TIR only level 1a and level1b files #1

Closed TalfanBarnie closed 8 years ago

TalfanBarnie commented 8 years ago

Hello dawhite,

When I try to process TIR only level1a or level 1b ASTER HDF EOS files I get the error:

"Attempt to subscript WHERE_D2 with <LONG ( 2)> is out of range"

ENVI then exits. This happens both in 'ENVI classic' and the new version. Changing the default processing options gives the same error. FIles with VNIR + SWIR + TIR images process without trouble. I'm running APTK 1.0.2, ENVI 5.2 64 bit, WIndows 7 Enterprise with Service Pack 1

Many thanks!

TalfanBarnie commented 8 years ago

...actually it only crashes for TIR only level 1B files. Level 1A process fine, my mistake. Unfortunately it's the level 1B RPCs I'm after...

dawhite commented 8 years ago

Very strange. Can you send me the exact filename for the L1B dataset? I will pull it down from the archive and look into this. It might take me a day or two.

TalfanBarnie commented 8 years ago

This is the full name of the file I ordered from Reverb:

AST_L1B_00301012015032416_20160516112533_1666.hdf

Thanks for your help!

dawhite commented 8 years ago

That helped a lot--thank you. I was able to reproduce the error and can see why it is happening. Fixing it will likely take a few days since I work on these plugins in my spare time and this is a non-trivial issue.

dawhite commented 8 years ago

Issue is now fixed. I pushed a new release (v1.0.3) that you can download: https://github.com/dawhite/APTK/releases/tag/v1.0.3

TalfanBarnie commented 8 years ago

That works for me too - many thanks for fixing this so quickly.