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

Home » Public Forums » archive » Where vs Histogram vs ??
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Where vs Histogram vs ?? [message #32668 is a reply to message #32570] Tue, 22 October 2002 20:53 Go to previous messageGo to previous message
Andrew Cool is currently offline  Andrew Cool
Messages: 219
Registered: January 1996
Senior Member
Hi Stein,


The multistage method with the structure gives about a 13-15%
improvement, or from about 10 minutes down to about 8.5 minutes
for a run through the entire 15,425,228 records.


Cheers,

Andrew


Andrew Cool wrote:
>
>> Given the above, could you perhaps try a multi-stage selection, e.g.,
>>
>> wrf_ok = !database.WRF EQ WRF
>> wrf_freq_ok = !database.FREQ EQ FREQ AND temporary(wrf_ok)
>> ;; By now you should have 1/12th of the data left!
>> ;; Don't know how many bad_data_values you expect, the next one might
>> ;; not gain much:
>> wrf_freq_good =!database.parameter(nominated_parameter) NE bad_data_value $
>> AND temporary(wrf_freq_ok)
>>
>> index1 = where(wrf_freq_good)
>>
>> ;; Build a new database on this subset (smaller than 1/12th),
>> ;; continue with the rest of your searches...
>>
>
> Hello Stein,
>
> I think your multistage selection using "AND Temporary(prev_stage)"
> is the way for me. I'm rather enamoured with the use of the structure
> in this database, and reluctant to give it up without a fight. It just
> makes it so easy to query the database from the command line as well as
> programatically.
>
> Although arrays would probably be faster, I'll settle for a V2 rather
> than
> a Saturn V if it means I can keep the structures.
>
> Thanks to everyone for their suggestions!
>
> Andrew
>
> ------------------------------------------------------------ -----------------
> Andrew D. Cool
> Electromagnetics & Propagation Group
> Intelligence, Surveillance & Reconnaissance Division
> Defence Science & Technology Organisation
> PO Box 1500, Edinburgh
> South Australia 5111
>
> Phone : 061 8 8259 5740 Fax : 061 8 8259 6673
> Email : andrew.cool@dsto.defence.gov.au
> ------------------------------------------------------------ -----------------


--

------------------------------------------------------------ -----------------
Andrew D. Cool .->-.
Electromagnetics & Propagation Group '-<-'
Intelligence, Surveillance & Reconnaissance Division Transmitted on
Defence Science & Technology Organisation 100% recycled
PO Box 1500, Edinburgh electrons
South Australia 5111

Phone : 061 8 8259 5740 Fax : 061 8 8259 6673
Email : andrew.cool@no-spam.dsto.defence.gov.au
Please remove the no-spam from my email address to reply ;-)
------------------------------------------------------------ -----------------
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Finding the mean of a set of images
Next Topic: slice of 2D surface

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

Current Time: Sun Oct 12 00:06:54 PDT 2025

Total time taken to generate the page: 1.20038 seconds