User manual queries

Rick Walsh rickmwalsh at gmail.com
Sun Nov 6 07:56:12 PST 2016


On 7 Nov 2016 02:32, "Salvador Cuñat" <salvador.cunat at gmail.com> wrote:
>
> Hi Willem.
>
> 2016-11-06 13:59 GMT+01:00 Willem Ferguson <
willemferguson at zoology.up.ac.za>:
>>
>> 2) If I download the same dive from two different dive computers,
Subsurface sees that and allows one to view the different dive
representations by selecting the _Next DC_ or _Previous DC_ menu options.
However, if I plan a dive with the same date, time and location as a logged
dive, the plan and log are shown as separate entries on the dive list. What
determines whether two representations of the same dive are considered as a
single dive with different dive computers?
>>
> In core/dive.c :
> static int likely_same_dive(struct dive *a, struct dive *b)
> {
>         int match, fuzz = 20 * 60;
>
>         /* don't merge manually added dives with anything */
>         if (same_string(a->dc.model, "manually added dive") ||
>             same_string(b->dc.model, "manually added dive"))
>                 return 0;
>
> This function runs every time a dive is imported from a dc.  Planned
dives are marked "manually added" so they don't automatically merge with
dowloaded dives.
>
> BTW I don't think you make a dive and then plan it, you're probably doing
the correct way (plan then dive).  For sure this doubt came to you while
working in the manual ;-)
>
That's definitely a good point, but there might be a case where doing this
backwards makes sense.  I suppose you could want to show the planned
profile with the dived profile (as per your suggestion below), and if you
didn't save the plan originally you might try to recreate it when logging
the dive.

>> Can I save the dive plan and the corresponding log without allowing the
dive plan to count as an actual dive?
>>
>
> Yes, you can.
> Change the planned one so it has the same day/time the real one has.
Then merge the two dives. You will end with a single dive which has the
plan in the notes and 2 profiles, the real one and the planned one. Then
edit as usual.
>
> This may be a good tip in the manual for tech divers who routinely plan
their dives, so they can easily compare their plans against their real
dives just by clicking the arrow keys left and right.
>
Thanks Salva, that's a great suggestion. I've never thought of doing it
this way.

Cheers,

Rick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20161107/d182a556/attachment.html>


More information about the subsurface mailing list