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

Home » Public Forums » archive » Simple format code issue.
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Simple format code issue. [message #69003] Wed, 09 December 2009 12:02
polystethylene is currently offline  polystethylene
Messages: 28
Registered: February 2009
Junior Member
This one should be a doddle to resolve; but I can't for the life of me
see what I'm doing wrong.

I have 2 columns of data like this:

5147.475098 0.987662
5147.476562 0.985164
5147.478516 0.975080
5147.479980 0.991375
5147.481445 0.982826
5147.482910 0.987368

etc...

I would normally read this in with a format code like this:

(2x,F0,3x,F0) - or sometimes drop the x's as you don't really need
them...

Anyway, this code reads the data in to 8 sig fig (1st column), and 6
sig fig (second column)

So then I tried a code of (F10.6, F0)... and I get the same issue - I
can't get more than 4 d.p precision...

I tried it with Doubles as well; but no luck. This has got to be
simple right? Format codes are a weakness of mine, so I'm totally
stumped.

Any ideas?

Cheers,
Stefan
[Message index]
 
Read Message
Previous Topic: Migrate away from idl?
Next Topic: Draped Contours?

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

Current Time: Wed Oct 08 15:35:04 PDT 2025

Total time taken to generate the page: 0.12153 seconds