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

Home » Public Forums » archive » array.FIELD reading ascii file - ERROR message???
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
array.FIELD reading ascii file - ERROR message??? [message #60209] Mon, 05 May 2008 04:42
matthias.demuzere is currently offline  matthias.demuzere
Messages: 32
Registered: January 2006
Member
Hi All,

Like always, I read in my ascii (.txt) files as follows:

input = file.txt'
res = read_ascii(input,
DELIMITER=' ',DATA_START=1,MISSING_VALUE=-9999)

This is working when checking with the print, res statement.

Now, I always extract columns from this file, while using the
following statement
year = reform(res.field01(0,*)) or year = reform(res.field(0,*))

As I am not completely sure how this FIELD statement is working, I was
hoping on some help? Because in this case, I get the following ERROR
message:

% Tag name FIELD01 is undefined for structure <Anonymous>.

And I have no idea why? Normally, if I have this message, I change
from field 01 to field, and than it works. This time, it doesn't.

Could anybody help me with this?
Thanks,

Regards,
Matthias
[Message index]
 
Read Message
Previous Topic: problem with display the data
Next Topic: Re: array.FIELD reading ascii file - ERROR message???

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

Current Time: Fri Oct 10 10:33:09 PDT 2025

Total time taken to generate the page: 0.39860 seconds