On Fri, 2014-01-03 at 09:41 -0800, Linus Torvalds wrote: > On Fri, Jan 3, 2014 at 9:27 AM, Dirk Hohndel <d...@hohndel.org> wrote: > > > > What the WHAT? > > I didn't realize what that meant for people who used to track just max > > depth (as you do with paper logbook and some phone apps). The profiles > > look positively ridiculous. > > I didn't check it much, but it worked for some random max depth in the > test dives. But then I probably changed the rate etc, so if it looks > odd now, I'm not surprised. > > Maybe just "if (!avg_d || avg_d >= max_d) avg_d = max_d/2"
No, I really meant what I said. There is no point in making up an average depth. If no average depth is given we should create standard rectangular profile or a rectangular profile with safety stop (assuming the dive was long and deep enough for that to be reasonable). /D _______________________________________________ subsurface mailing list subsurface@hohndel.org http://lists.hohndel.org/cgi-bin/mailman/listinfo/subsurface