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

Home » Public Forums » archive » Arrays
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
Arrays [message #39979] Tue, 29 June 2004 10:27
rats is currently offline  rats
Messages: 11
Registered: June 2004
Junior Member
Hi, I am new with IDL and I am having some problems with arrays.
I have a file with 4 column and 5,607,515 rows.

Example of one line: 3 492515.080 5506165.090 98.320

I am separating all the columns in different arrays (1, 5607515)

The problem is when I try to visualize the SECOND column (492515.080)
... what I see is just the numbers before de "point" and the point (eg
492515.) all the numbers after I can not see ...
With the other columns that is not a problem ... just with the second
... What am I doing wrong ?

Here is a piece of my Function:

Function Make_array2

filename = 'FILENAME'
data = FltArr(4, 5607515)
OPENR, lun, filename, /Get_Lun
READF, lun, data
FREE_LUN, lun

...
...

lat = REFORM(data(1,*))
OpenW, newlat, 'FILE PATH', /get_lun
PrintF, newlat, lat
Free_lun, newlat

...
...
END

Thank you ...
Rafael
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: ActiveX method problems
Next Topic: Create DXF file out of vertices and connectivities

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

Current Time: Sat Oct 11 11:44:45 PDT 2025

Total time taken to generate the page: 1.12184 seconds