[PATCH] Re: Average depth from CSV import and other problems

Miika Turkia miika.turkia at gmail.com
Thu Nov 10 09:04:35 PST 2016


On Thu, Nov 10, 2016 at 11:20 AM, Robert Helling <helling at atdotde.de> wrote:
>
> On 10.11.2016, at 06:05, Darryl H <darryl.hoving at gmail.com> wrote:
>
> Fair enough, but then anyone using Subsurface for a mixture of both manual
> and computer logged dives (as I am, at least for the early dives) is going
> to have statistics like the year's average depth be incorrect. It would make
> more sense if profileless dives were simply ignored for that purpose, rather
> than entering into the calculation as zero.
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Subsurface Divelog" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to subsurface-divelog+unsubscribe at googlegroups.com.
> To post to this group, send email to subsurface-divelog at googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/subsurface-divelog/F00C201A-392D-46FD-90E1-26BDA1293FDA%40atdotde.de.
>
> For more options, visit https://groups.google.com/d/optout.
>
> This patch does exactly this. Alternatively, we could make up some average
> depth for dives for which we only know the max depth and duration. But
> making stuff up is not what we usually do. What do people here thing?

No made up values, please. At least I cannot think of any way to guess
sensible average depth based on max depth and duration.

One should also note that the year's average depth is actually the
average of maximum depths (IIRC). Maybe we should change the  title in
the yearly statistics to:
Maximum Depth (m)
 Average         Minimum         Maximum

We have been bitten by the definition of average depth before and that
is why we have disabled it from the Stats tab. But similar change
might be in order to the Stats tab as well. Thoughts/comments?

miika


More information about the subsurface mailing list