3*0.0 in FORMAT free I/O [message #3917] |
Mon, 27 March 1995 10:48 |
brooker
Messages: 12 Registered: March 1994
|
Junior Member |
|
|
Folks,
An observation you might find useful someday.
I have an ASCII output file produced by a FORTRAN program running on one of
the Livermore CRAYs. The output was written with FREE FORMAT format. One of the
variables has 0.0 as the value for its first three elements. When you
look at the file at the appropriate place, instead of seeing "0.0, 0.0, 0.0"
you see "3*0.0"
Needless to say, I have been unsuccessful at getting IDL to read these files
correctly. What I have been forced to do is write a small program in FORTRAN on
our VAX alpha station to read the file. VAX FORTRAN interprets 3*0.0
correctly!!! After the read, I have the program rewrite all the data to
another file. This time, three 0.0s appears as "0.0, 0.0, 0.0" IDL reads this
file just fine.
Has anybody ever ran into this "*" format?
Thanks- Peter Brooker
|
|
|