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

Home » Public Forums » archive » reading in a long line of data
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
reading in a long line of data [message #60283] Thu, 08 May 2008 09:18
teich is currently offline  teich
Messages: 33
Registered: May 2007
Member
Hi, I am trying to read in a long line which has around 2520 values
all in scientific notation (ie 1.2E+02, etc). I tried the following:

x=strarr(2520)
x[*]='12345678'
readu,unit,x

Then converting to floating point. This doesn't seem to work since
the data is in scientific notation. Does anyone have any suggestions?


Thanks,

Howard
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Annoying but (seemingly) harmless warning
Next Topic: Re: retaining ROI when rescaling?

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

Current Time: Sun Oct 12 02:20:09 PDT 2025

Total time taken to generate the page: 1.52175 seconds