Changeset f12f9ae in subsurface for dives


Ignore:
Timestamp:
Jan 8, 2014, 5:54:29 AM (4 years ago)
Author:
Dirk Hohndel <dirk@…>
Branches:
Mtest, android_test, dcDownload, foratdotde, gitMerge, gitdebug, gitpictures, ios, master, mergeKirigamiPort, pictimeshift, resolutionIndependence, spinner, testTomaz, testing, v4.2-branch, v4.4-branch, v4.5-branch
Children:
c32c28d4
Parents:
fef4d15
git-author:
Dirk Hohndel <dirk@…> (01/08/14 05:46:27)
git-committer:
Dirk Hohndel <dirk@…> (01/08/14 05:54:29)
Message:

Change fake profile behavior

If no average depth is known the current fake profile behavior is rather
unintuitive (we make up an average depth).

Instead we should assume that this is a PADI style dive log and give the
user a "rectangular" profile (actually, it's a trapecoid as we at least
try to enforce a sane ascent / descent speed). If the dive is somewhat
longer or deeper (10 min / 10 m) we even add a 3m safety stop at 5m.

Added a new dives/test0b that tries to capture the typical cases to test
this.

Fixes #398

Signed-off-by: Dirk Hohndel <dirk@…>

Location:
dives
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • dives/test0.xml

    ref7771eb rf12f9ae  
    11<dives>
    22  <program name='subsurface' version='1'></program>
    3   <dive number='0' date='2011-01-01' time='08:00:00' duration='30:00 min'>
     3  <dive number='0' date='2011-01-01' time='07:00:00' duration='30:00 min'>
    44    <depth max='30.00 m' mean='15.00 m' />
    55  </dive>
Note: See TracChangeset for help on using the changeset viewer.