text file reading, FORTRAN

Huamei Yin huamei at UALBERTA.CA
Wed Jan 4 00:42:34 EST 2006


Thanks, Youhua, bhatt and Dave,

The data lines in my file are like the following and I am reading it in
FORTRAN(windows version):

1100030,AB FORD A,49.033,-122.367,0.3,-2.9,,,,0,,59.6,,466.14,89.44
3010010,ABEE AGDM,54.283,-112.967,-1.3,-20.4,,,,0.4,24,22.5,,21.4,19.45

I cannot replace all commas with spaces. In that way, the station names
will be
truncated. And there are missing records between commas.

Dave, could you please tell me more about the parser? What command
should I use?
Thanks again.

Huamei



More information about the gradsusr mailing list