comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: reading envi file in IDL
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: reading envi file in IDL [message #55517 is a reply to message #55514] Thu, 23 August 2007 12:46 Go to previous messageGo to previous message
Michael Galloy is currently offline  Michael Galloy
Messages: 1114
Registered: April 2006
Senior Member
On Aug 23, 11:55 am, robinson....@gmail.com wrote:
> Jeff, I tried that before post my ad., but did not work.
> Robinson

This is basically a guess, but try:

im = fltarr(400, 400, 5)
openr, lun, filename, /get_lun, /compress, /swap_if_big_endian
readu, lun, im
free_lun, lun

Besides the compression, I think everything is correct. My guess is to
just try the COMPRESS keyword and hope it works. I don't have a data
file to try this on, so let me know what happens.

Mike
--
www.michaelgalloy.com
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: mosaic_doit - is it just me?
Next Topic: Renaming a variable in IDL?

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 01:39:51 PDT 2025

Total time taken to generate the page: 1.44147 seconds