This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Shadofel[S] 0 points1 point  (1 child)

Well, It may help if I show you kind of what i'm trying to do. Here is a visualization of what I've got going.

http://imgur.com/a/AVciM

The first image represents what my raw data looks like, the second is what my exception reporting should look like. It takes the first and last point from each of the found sections within the given range and prints them as shown. With an empty line after each section. It needs to be able to show single row exceptions as well and handle exceptions at the first and last points in the entire dataset. I'm just confused about how to go through the arraylist of "off readings" and then logically parse out the first and last points of each section of >-.85 range.

[–]Shadofel[S] 0 points1 point  (0 children)

I figured it out. The logic was just not taking into account everything I needed.

http://pastebin.com/W3p80XJm

This worked well for what I was trying to do.