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

Home » Public Forums » archive » Re: does the image size matters?
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: does the image size matters? [message #39763] Mon, 14 June 2004 13:19 Go to previous message
Chris[1] is currently offline  Chris[1]
Messages: 23
Registered: January 2003
Junior Member
"Adhara" <adharac@hotmail.com> wrote in message
news:4cbae60f.0406140728.4606308c@posting.google.com...
> Thank you, let me explain you the situation:
> 1. I did the program first to run for one array, as follows:
>
> archivo = READ_ASCII(FILEPATH('gv04.bit', ROOT_DIR='c:\',$
> SUBDIRECTORY=['RSI','IDL55','lib']))
>
> archivo = READ_ASCII(FILEPATH('gv04.bit'))
> WRITE_TIFF,'gv04.tif',archivo.FIELD01
> end
>
> 2. It worked for 50x50,and I actually produced the image. I tried the
> same program but for 200x200, and an error message appears saying:
> % Tag name FIELD01 is undefined for structure <Anonymous>.
> % Execution halted at: $MAIN$ 5

IDL has a peculiar naming procedure for the field element in the structure
returned by "read_ascii" when you do it without a template. Put a "stop"
after yopur call to "read_ascii", and when the program halts, type in

help, archivo, /struct

This will tell you the field name (I think it will be something like
field001)

Chris
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: addition
Next Topic: dates transformation

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

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

Total time taken to generate the page: 0.46298 seconds