Question about rabins

Carter Bullard carter at qosient.com
Fri Jun 10 11:25:04 EDT 2011


Sorry, I was typing too fast, replace racluster() with rabins() and it should make sense?
Carter

On Jun 10, 2011, at 11:22 AM, Carter Bullard wrote:

> Yes I found the problem.  Seems that its  bug in the implementation of the "-M hard" option.  All of the incorrectly sorted records are new records that rabins()  created to satisfy the  time bin.  The give away is that all the errant records have durations of 0, when you used the "-M hard" option.  This option is suppose to force all the records to report their times as the boundaries of the bins, so they should report durations of 5 seconds (in your case).
> 
> Problem goes away if you do this:
>    racluster -M time 5s -r file -w - | racluster -M hard time 5s
> 
> The first racluster() does the record snipping, and the second racluster() does the right thing with the timestamps.
> I'm working a solution now and should have a fix today.
> 
> Sorry for the inconvenience, and thanks for reporting this and of course supplying data so I can fix it !!!!!!!!!!!
> 
> Carter
> 
> On Jun 10, 2011, at 9:39 AM, Rafael Barbosa wrote:
> 
>> Hi,
>> 
>> I noted using rabins() to generate timeseries not always return a ordered output w.r.t. flow start time, as I would expect (it caused a bug hard to find in the scripts I use to post-process argus data :).
>> 
>> It's not a big deal since you could use rasort to fix this. But what is the reason that the output is not ordered? Is this a bug or an expected result? 
>> 
>> In case it's a bug I uploaded a test file for the following example (using 3.0.5.8):
>> $rabins -nn -M hard time 5sec -r teste.argus -w bins
>> $ ra -r bins | head -15
>> 
>> Thanks,
>> Rafael Barbosa
>> http://www.vf.utwente.nl/~barbosarr/
>> 
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist1.pair.net/pipermail/argus/attachments/20110610/3c3a0c08/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4367 bytes
Desc: not available
URL: <https://pairlist1.pair.net/pipermail/argus/attachments/20110610/3c3a0c08/attachment.bin>


More information about the argus mailing list