[PATCH] Improve detection of CCR dives on yearly stats

Anton Lundin glance at acc.umu.se
Sat Jan 23 13:33:44 PST 2016


On 23 January, 2016 - Miika Turkia wrote:

> It might be that we do not have the dctype set to CCR but the dive is
> still closed circuit. In this case we have an event "SP change" on time
> 0 sec. So we have to check this case as well. (Note this info is checked
> from the main DC only for the stats.)
> 

I think we should clean up this sort of data issues on data load,
instead of working around them later in different parts of the code.

That way we scrub the data clean, and have less "surprises" and weird
logic in different places.

check_setpoint_events looks to contain some cleanup of sorts, but more
can probably be found in other places.

//Anton


-- 
Anton Lundin	+46702-161604


More information about the subsurface mailing list