There is something wrong currently with the calculation of tissue
saturation. It looks like the earlier dive is getting cumulative saturation
from the later dive. Clearly visible when you open the XML and switch
between the dives. There is also a spike on the start of the earlier dive
as show on screenshot.

This is with the beta release (and master).

I have added a test XML to demonstrate the issue. dives/test20.xml with the
same dive repeated again the next day.

miika
<divelog program='subsurface' version='2'>
<settings>
</settings>
<dives>
<dive number='20' date='2011-12-02' time='13:00:00' duration='29:30 min'>
  <location>20th test dive - trimix</location>
  <notes>Manly dive with two trimix plus deco (no air anywhere)</notes>
  <cylinder size='12.0 l' workpressure='232.009 bar' description='15L 232 bar' o2='21.0%' he='30.0%' start='200.0 bar' end='96.527 bar' />
  <cylinder size='15.0 l' workpressure='232.009 bar' description='15L 232 bar' o2='12.0%' he='70.0%' start='232.0 bar' end='75.842 bar' />
  <cylinder size='6.9 l' workpressure='206.843 bar' description='AL50' o2='50.0%' start='206.843 bar' end='68.948 bar' />
  <divecomputer>
  <depth max='70.0 m' mean='29.364 m' />
  <temperature air='2.0 C' water='6.0 C' />
  <event time='3:00 min' type='11' value='12' name='gaschange' />
  <event time='15:00 min' type='11' value='21' name='gaschange' />
  <event time='20:30 min' type='11' value='50' name='gaschange' />
  <sample time='0:00 min' depth='0.0 m' />
  <sample time='3:00 min' depth='30.0 m' />
  <sample time='7:00 min' depth='70.0 m' />
  <sample time='11:00 min' depth='70.0 m' />
  <sample time='15:00 min' depth='30.0 m' />
  <sample time='20:30 min' depth='5.0 m' />
  <sample time='29:30 min' depth='5.0 m' />
  </divecomputer>
</dive>
<dive number='20' date='2011-12-03' time='13:00:00' duration='29:30 min'>
  <location>20th test dive - trimix</location>
  <notes>Manly dive with two trimix plus deco (no air anywhere)</notes>
  <cylinder size='12.0 l' workpressure='232.009 bar' description='15L 232 bar' o2='21.0%' he='30.0%' start='200.0 bar' end='96.527 bar' />
  <cylinder size='15.0 l' workpressure='232.009 bar' description='15L 232 bar' o2='12.0%' he='70.0%' start='232.0 bar' end='75.842 bar' />
  <cylinder size='6.9 l' workpressure='206.843 bar' description='AL50' o2='50.0%' start='206.843 bar' end='68.948 bar' />
  <divecomputer>
  <depth max='70.0 m' mean='29.364 m' />
  <temperature air='2.0 C' water='6.0 C' />
  <event time='3:00 min' type='11' value='12' name='gaschange' />
  <event time='15:00 min' type='11' value='21' name='gaschange' />
  <event time='20:30 min' type='11' value='50' name='gaschange' />
  <sample time='0:00 min' depth='0.0 m' />
  <sample time='3:00 min' depth='30.0 m' />
  <sample time='7:00 min' depth='70.0 m' />
  <sample time='11:00 min' depth='70.0 m' />
  <sample time='15:00 min' depth='30.0 m' />
  <sample time='20:30 min' depth='5.0 m' />
  <sample time='29:30 min' depth='5.0 m' />
  </divecomputer>
</dive>
</dives>
</divelog>
_______________________________________________
subsurface mailing list
[email protected]
http://lists.hohndel.org/cgi-bin/mailman/listinfo/subsurface

Reply via email to