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

Home » Public Forums » archive » Comma seperators
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Comma seperators [message #20173] Thu, 18 May 2000 00:00 Go to previous message
Simon de Vet is currently offline  Simon de Vet
Messages: 36
Registered: May 2000
Member
I am reading in data that looks like the following:


CHATHAM ISLAND - NEW ZEALAND (DOE),,,,,,,,,,
43.92�S,176.50�W,,,,,,,,,
16-Sep-1983,11-Oct-1996,,,,,,,,,
Mon,Stat,Cl,NO3,SO4,Na ,SeaSalt,nssSO4,MSA,Dust,NH4
of,Param,Air,Air,Air,Air,Air,Air,Air,Air,Air
Yr,*,�g/m3,�g/m3,�g/m3,�g/m3,�g/m3, �g/m3,�g/m3,�g/m3,�g/m3
Jan,N,58,58,58,58,58,57,0,0,58
Jan,Mean,7.330,0.120,1.572,4.233,13.766,0.508,#N/A,#N/A,0.10 3
Jan,StdDev,2.788,0.055,0.412,1.479,4.811,0.249,#N/A,#N/A,0.0 51


Which continues untill the end of the year, and then another observation
station follows the fame general format.

I want to be able to read in the data into an array. I can already take
out the header, but I cannot read in the data. By default, IDL is
treating each line as one entry, not recognizing the commas as entry
seperators. I've read the help extensively, but as a non-fortran user,
the input format documentation makes my brane hurt.

If I can read in the data, I think that I can manipulate it without too
many problems...

Thanks!

Simon
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: unexpected colors
Next Topic: Re: IDLgrClipboard and IDLgrPrinter: wrong vector output order ?

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

Current Time: Wed Oct 08 19:50:06 PDT 2025

Total time taken to generate the page: 0.00500 seconds