<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hello Robert,<br>
Hello All,<br>
<br>
example files plus description...<br>
<br>
<div class="moz-cite-prefix">Am 14.02.2015 um 20:57 schrieb Robert
C. Helling:<br>
</div>
<blockquote
cite="mid:4F1F21FF-1D71-46C9-8168-5387CF5E7978@atdotde.de"
type="cite">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<br class="">
<div>
<blockquote type="cite" class="">
<div class="">On 14 Feb 2015, at 18:43, Stefan Fuchs <<a
moz-do-not-send="true" href="mailto:sfuchs@gmx.de"
class="">sfuchs@gmx.de</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<meta content="text/html; charset=utf-8"
http-equiv="Content-Type" class="">
<div bgcolor="#FFFFFF" text="#000000" class="">I meanwhile
found out that the missing gas change information in the
calculated plan has also <a moz-do-not-send="true"
href="http://s.th" class="">s.th</a>. to do with an
"injected" waypoint which I didn't enter but which appears
in some cases.<br class="">
I do the following:<br class="">
- I have a dive in the planner mode with three gases:
Tx21/35, EAN50@21m and Oxy@6m<br class="">
- Waypoints are:<br class="">
52m 5 Tx21/35<br class="">
52m 15 Tx21/35<br class="">
40m 16 Tx21/35<br class="">
40m 30 Tx21/35<br class="">
21m 32 Tx21/35<br class="">
21m 34 Tx21/35<br class="">
21m 37 EAN50<br class="">
- The result I get at the first moment is good. I have a
calculated dive plan which shows the gas change to
EAN50@21m and to Oxy@6m.<br class="">
- Now I save the dive<br class="">
- Now when I replan the dive the waypoint list has one
more entry:<br class="">
52m 5 Tx21/35<br class="">
52m 15 Tx21/35<br class="">
40m 16 Tx21/35<br class="">
40m 30 Tx21/35<br class="">
21m 32 Tx21/35<br class="">
21m 34 Tx21/35<br class="">
<b class="">21m 34 Tx21/35</b> <---
This one added by the tool<br class="">
21m 37 EAN50<br class="">
- The calculated dive plan is still ok save the fact that
it doesn't show the gas change to EAN50@21m any more<br
class="">
- When I delete the additional 21m 34 entry again
manually the result is perfect again but the "injected"
entry will appear again and again when replanning the dive<br
class="">
</div>
</div>
</blockquote>
<div><br class="">
</div>
<div>Would you mind mailing me the saved dive? That dive is a
bit uncommon, with the repeated depth of 21m and the gas
change only later. That might confuse the logic that decides
which waypoints to show and which to suppress which is already
a bit convoluted, to quote from the source:</div>
<div><br class="">
</div>
<div>
<pre style="margin-top: 0px; margin-bottom: 0px;" class=""><!--StartFragment--><span style=" color:#c0c0c0;" class=""> </span><span style=" color:#808000;" class="">if</span><span style=" color:#c0c0c0;" class=""> </span>((dp-><span style=" color:#800000;" class="">depth</span><span style=" color:#c0c0c0;" class=""> </span>==<span style=" color:#c0c0c0;" class=""> </span>lastdepth<span style=" color:#c0c0c0;" class=""> </span>&&<span style=" color:#c0c0c0;" class=""> </span>dp-><span style=" color:#800000;" class="">depth</span><span style=" color:#c0c0c0;" class=""> </span>!=<span style=" color:#c0c0c0;" class=""> </span>nextdp-><span style=" color:#800000;" class="">depth</span>)<span style=" color:#c0c0c0;" class=""> </span>||<span style=" color:#c0c0c0;" class=""> </span>plan_display_transitions<span style=" color:#c0c0c0;" class=""> </span>||<span style=" color:#c0c0c0;" class=""> </span>dp-><span style=" color:#800000;" class="">entered</span><sp
an style=" color:#c0c0c0;" class=""> </span>||<span style=" color:#c0c0c0;" class=""> </span>!dp-><span style=" color:#800000;" class="">next</span><span style=" color:#c0c0c0;" class=""> </span>||<span style=" color:#c0c0c0;" class=""> </span>(gaschange<span style=" color:#c0c0c0;" class=""> </span>&&<span style=" color:#c0c0c0;" class=""> </span>dp-><span style=" color:#800000;" class="">next</span><span style=" color:#c0c0c0;" class=""> </span>&&<span style=" color:#c0c0c0;" class=""> </span>dp-><span style=" color:#800000;" class="">depth</span><span style=" color:#c0c0c0;" class=""> </span>!=<span style=" color:#c0c0c0;" class=""> </span>nextdp-><span style=" color:#800000;" class="">depth</span>))<span style=" color:#c0c0c0;" class=""> </span>{</pre>
<pre style="margin-top: 0px; margin-bottom: 0px;" class="">
<!--EndFragment--></pre>
<pre style="margin-top: 0px; margin-bottom: 0px;" class="">May I ask why in the first place you entered any waypoints beyond the 40m ones? The 21m stop would have been handled by the planner (with the gas change right at the beginning)?</pre>
</div>
</div>
</blockquote>
Please find Dive1.xml attached.<br>
<br>
I saw the question coming why I'm doing this ;-)<br>
<br>
First of all Subsurface up to now has no option to give a time
needed for the gas change. So I would like to tell the tool that I
need about 2min for the gas change. Then even with tools having this
option I also prefer to stay after gas change for about 3min at 21m
before continuing to ascent and I prefer to put this in the plan. In
fact you benefit from this for the following deco stops. Honestly I
know that maybe no one else is doing this and maybe it's even
somehow stupid but for me it has also the advantage that such a plan
is getting much closer to what I finally really can dive. With a
plan with no plateau at 21m at all I would be always behind the plan
after gas change at 21m.<br>
<br>
<blockquote
cite="mid:4F1F21FF-1D71-46C9-8168-5387CF5E7978@atdotde.de"
type="cite">
<div><br class="">
<blockquote type="cite" class="">
<div class="">
<div bgcolor="#FFFFFF" text="#000000" class=""> <br
class="">
<br class="">
<blockquote
cite="mid:08D87184-1406-4D62-AC5F-CF35F872D5A2@atdotde.de"
type="cite" class="">
<div class="">
<div class="">
<blockquote type="cite" class="">
<div class=""><span style="font-family: Helvetica;
font-size: 12px; font-style: normal;
font-variant: normal; font-weight: normal;
letter-spacing: normal; line-height: normal;
orphans: auto; text-align: start; text-indent:
0px; text-transform: none; white-space:
normal; widows: auto; word-spacing: 0px;
-webkit-text-stroke-width: 0px;
background-color: rgb(255, 255, 255); float:
none; display: inline !important;" class="">-
When I save a planned dive with two gas
changes e.g. to EAN50 and OXY, in the profile
view the two gas changes exchange there
position. You can even watch the two bottles
walking to the other position.</span><br
style="font-family: Helvetica; font-size:
12px; font-style: normal; font-variant:
normal; font-weight: normal; letter-spacing:
normal; line-height: normal; orphans: auto;
text-align: start; text-indent: 0px;
text-transform: none; white-space: normal;
widows: auto; word-spacing: 0px;
-webkit-text-stroke-width: 0px;
background-color: rgb(255, 255, 255);"
class="">
</div>
</blockquote>
<div class=""><br class="">
</div>
This I cannot reproduce. Please be more specific how
to reproduce that behaviour.</div>
</div>
</blockquote>
Yeah, this in fact is the most funny issue I found! ;-)
Maybe I should do a video of this one?!<br class="">
What happens is:<br class="">
- I have a dive in the planner mode with three gases:
Tx21/35, EAN50@21m and Oxy@6m<br class="">
- Waypoints are:<br class="">
52m 5<br class="">
52m 15<br class="">
40m 16<br class="">
40m 30<br class="">
- The calculated plan looks perfect with gas changes at
21m and 6m<br class="">
- Now I save the plan with the "Speichern" button<br
class="">
- Now I can really in the profile view watch the cute
little tanks for gas change to EAN50 and Oxy walking to
each others position<br class="">
</div>
</div>
</blockquote>
<div><br class="">
</div>
<div>Are you starting from an empty dive list? When I do I
cannot reproduce this. Maybe it’s again something with
preexisting dives. If you start from an existing dive, would
you mind to mail me that as well?</div>
</div>
</blockquote>
With file Dive1.xml I can reproduce the "walking tanks" by doing the
following:<br>
- Open file<br>
- Replan dive<br>
- Remove all waypoints which were not from user input but from
calculation (all waypoints with <21m and the two waypoints at 21m
with 0min)<br>
- Save<br>
--> Tanks for gas change EAN50 and Oxy will "walk" to each others
position<br>
<br>
<blockquote
cite="mid:4F1F21FF-1D71-46C9-8168-5387CF5E7978@atdotde.de"
type="cite">
<div><br class="">
<blockquote type="cite" class="">
<div class="">
<div bgcolor="#FFFFFF" text="#000000" class="">I already
started to type this when Joakims mail arrived which
mostly explains my finding because yes, I'm using a OSTC
2N and these "zombie gases" may have been in the gas list
of the OSTC. Nevertheless I decided to not delete my
description. Maybe it would be worthwhile to fix
Subsurface in a way to not copy the unused gases from dive
computer to gases for planning while at the same moment
not showing them in the list from first moment. </div>
</div>
</blockquote>
<div><br class="">
</div>
<div>I think at some point I sent a patch to that effect but
other people argued that the list of all gases should be what
the user wants. I cannot recall the rationale.</div>
</div>
</blockquote>
I would like the patch ;-)<br>
<blockquote
cite="mid:4F1F21FF-1D71-46C9-8168-5387CF5E7978@atdotde.de"
type="cite">
<div>
<div><br class="">
</div>
<br class="">
<blockquote type="cite" class="">
<div class="">
<div bgcolor="#FFFFFF" text="#000000" class="">What happens
on my side is the following:<br class="">
- I select a "real" dive in my logbook where I only used
one gas EAN32<br class="">
</div>
</div>
</blockquote>
<div><br class="">
</div>
<div>Could you send that dive as well? I cannot reproduce this
without.</div>
</div>
</blockquote>
Please see Dive2.xml<br>
<br>
BTW: When exporting the XML I found also a small issue there. In the
file dialog for the export if I give a filename w/o extension like
"Dive2" then the export file is named "Dive2.xml,". I assume the
trailing comma is a mistake.<br>
<br>
<br>
Viele Grüße<br>
Stefan<br>
<br>
<div class="moz-signature">-- <br>
<meta http-equiv="CONTENT-TYPE" content="text/html; charset=utf-8">
<title></title>
<meta name="GENERATOR" content="OpenOffice.org 3.3 (Win32)">
<meta name="CREATED" content="0;0">
<meta name="CHANGEDBY" content="Stefan Fuchs">
<meta name="CHANGED" content="20120503;23115492">
<style type="text/css">
<!--
P { color: #000000 }
-->
</style>
<p>Stefan Fuchs<br>
Banzhaldenstr. 66<br>
70469 Stuttgart<br>
Tel.:
0711/4116289<br>
Mobil: 0172/8922025<br>
E-Mail: <a href="mailto:sfuchs@gmx.de">sfuchs@gmx.de</a></p>
</div>
</body>
</html>