Re: IDL array -> envi file.. distorted [message #61105] |
Wed, 02 July 2008 14:08 |
Jelle
Messages: 19 Registered: May 2008
|
Junior Member |
|
|
// Me: Faling over on my desk; crying. 'I knew that one!'
Hm.. Horrible. Horrible. Thought I'd reduce filesizes, and moved fro
exact time, to integers. Except.. I forgot to swap the storage array
from float to integer.
Guess there is no way to salvage the processed data is there? float =>
int makes you loose the info, right?
J
On Jul 2, 9:30 pm, "Jean H." <jghas...@DELTHIS.ucalgary.ANDTHIS.ca>
wrote:
>> ; Create a working data layer
>> ThisBand = fltarr(ns, nl, /nozero)
>> envi_write_envi_file, ThisBand, data_type=2, $
>
> float type is 4, not 2.
>
> Jean
|
|
|
|