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

Home » Public Forums » archive » Entry comparison between two 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
Entry comparison between two arrays [message #60517] Tue, 20 May 2008 07:54
crazywhiteboy311@gmai is currently offline  crazywhiteboy311@gmai
Messages: 2
Registered: May 2008
Junior Member
Hello everyone,

I'm new to IDL (started using last week for a summer research
position), and have been working on a problem of comparing two
structures of arrays. The concept is that each of the structures
contain arrays of a year fraction, a day-of-year fraction, and other
data that I need compare. However, to do this comparison I need to
make sure both sets of data are corresponding to the same time (within
a range of error). My initial thought was to do this in a loop (only
have previous experience programming with Java and C doing small data
sets) that records the array indexes of corresponding pairs, and use
those indexes to build an another array that contains the two sets of
data from the two structures of arrays side by side in an array. This
idea works fine, but when I start trying to accomplish it on two
arrays of roughly 1 million entries each, it spikes up to taking my
whole summer to run. So what I'm looking for is how I might do this in
array based calculations in IDL. If anyone can give me an idea, or
point me in the direction of a good tool to use, I'd appreciate it
much. Thanks
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Generalized Least Squares? (LONG POST!)
Next Topic: Re: Entry comparison between two arrays

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

Current Time: Wed Oct 08 19:56:05 PDT 2025

Total time taken to generate the page: 0.00452 seconds