Re: Variable assignment [message #35904 is a reply to message #35903] |
Tue, 22 July 2003 12:15   |
Haje Korth
Messages: 651 Registered: May 1997
|
Senior Member |
|
|
Craig,
I am pretty sure that I have enough RAM. I have almost 800 MB RAM and the
data I read in is less than 100 MB. If you say that you do not have a
problem, let me take a look again.
Thanks,
Haje
--
Dr. Haje Korth
Space Physics Group
The Johns Hopkins University
Applied Physics Laboratory
MS MP3-E128
11100 Johns Hopkins Road
Laurel, MD 20723-6099
USA
Phone: 240-228-4033 (Washington), 443-778-4033 (Baltimore)
Fax: 240-228-0386 (Washington), 443-778-0386 (Baltimore)
e-mail: haje.korth@jhuapl.edu
"Craig Markwardt" <craigmnet@cow.physics.wisc.edu> wrote in message
news:onk7aawjw2.fsf@cow.physics.wisc.edu...
>
> "Haje Korth" <haje.korth@jhuapl.edu> writes:
>> I am trying to assign a variable with data=data(index), where index is
an
>> array with 300000 elements. IDL answers "Too many elements". Is there
away
>> around this? Basically, I need to kill some lines in data that contain
dummy
>> values. This the data files are HDF, I cannot eliminate these data when
the
>> file is read with hdf_read.
>
> I routinely make index arrays that have millions, and tens of millions
> of elements. [ with IDL 5.2 at that! ] This should not be a problem
> for you. Are you sure you have enough memory? You will probably need
> a fair amount of working space (perhaps 2x your biggest array) for IDL
> to function properly.
>
> Craig
>
> --
> ------------------------------------------------------------ --------------
> Craig B. Markwardt, Ph.D. EMAIL: craigmnet@cow.physics.wisc.edu
> Astrophysics, IDL, Finance, Derivatives | Remove "net" for better response
> ------------------------------------------------------------ --------------
|
|
|