Arrays [message #39979] |
Tue, 29 June 2004 10:27 |
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
|
|
|