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

Home » Public Forums » archive » OUPUT TRIGRID to ENVI
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
OUPUT TRIGRID to ENVI [message #49452] Wed, 26 July 2006 15:59 Go to previous message
DMac is currently offline  DMac
Messages: 6
Registered: May 2006
Junior Member
Hello All,
I am trying to write/export a grid produced from the TRIGRID function
to an ENVI image file as follows:

BE_GRID = TRIGRID(XBE, YBE, LAS_BE.Z, TR, NX = NX2, NY=NY2,
XGRID=XGRID, YGRID=YGRID)
OPENW, 1, 'd:\temp\BE_GRIDER1'
WRITEU, 1, BE_GRID
CLOSE, 1

I than manually create the header file based off the size of the array
of BE_GRID and the min X and Max Y coordinate values from the input
points to TRIGRID.

My problem is that when I try to bring the image up in ENVI it is
flipped (i.e., the top left corner pixel value should be moved to the
bottom left and the top right corner pixel value should be moved to the
bottom right, etc..). If that makes any sense.

Anyone know what I might be doing wrong?

Any help is greatly appreciated.

Derek M.
[Message index]
 
Read Message
Read Message
Previous Topic: Re: negative return values after FFT
Next Topic: PU license horror

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

Current Time: Wed Oct 08 17:37:56 PDT 2025

Total time taken to generate the page: 0.00466 seconds