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

Home » Public Forums » archive » read_ascii for more than one file
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
read_ascii for more than one file [message #55530] Thu, 23 August 2007 09:24
bmey is currently offline  bmey
Messages: 2
Registered: August 2007
Junior Member
Hello,

i'd like to read arrays (3 columns, 2072758 lines ) from more than one
file do get some kind of data(k) where k (k=146) is the number of
files and data is the array.

For one file it works quite well with:

data = read_ascii(file) & data = data.(0)
g = data[0, *]
r = data[1,*]
nir = data[2,*]

For this code i do not need to declare data, g, r and nir

But i do not know how i can manage it for k files (without getting
error messages).


Britta
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: reading envi file in IDL
Next Topic: Re: strings and memory usage

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

Current Time: Wed Oct 08 16:01:00 PDT 2025

Total time taken to generate the page: 0.00544 seconds