Perhaps someone can set me straight. When I run the attached algorithm, I'm only getting data for one of the sids. Seems that I should get both. Instead, the second iteration of the loop just repeats the output of the first iteration:
2012-02-15handle_data:18DEBUG(array([ 127.68, 128.06, 127.79, 128. , 129.16, 129.24, 129.53, 128.95, 129.33, 130.78, 131.48, 131.54, 131.6 , 131.46, 132.57, 131.88, 131.71, 131.36, 131.24, 132.45, 132.67, 134.55, 134.45, 134.78, 135.13, 135.35, 134.37, 135.33, 135.23, 134.56]), 131.74099999999999)
2012-02-15handle_data:18DEBUG(array([ 127.68, 128.06, 127.79, 128. , 129.16, 129.24, 129.53, 128.95, 129.33, 130.78, 131.48, 131.54, 131.6 , 131.46, 132.57, 131.88, 131.71, 131.36, 131.24, 132.45, 132.67, 134.55, 134.45, 134.78, 135.13, 135.35, 134.37, 135.33, 135.23, 134.56]), 131.74099999999999)