diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2014-01-08 21:46:27 +0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-01-08 21:54:29 +0800 |
commit | f12f9ae8c3b3ed8631254c65572eb76462ec0de9 (patch) | |
tree | 2058a217a4e2abac5856f2b7ac07320fe9102336 /dives/test0.xml | |
parent | fef4d15965f4efefe9ed554df5a78d279289630a (diff) | |
download | subsurface-f12f9ae8c3b3ed8631254c65572eb76462ec0de9.tar.gz |
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@hohndel.org>
Diffstat (limited to 'dives/test0.xml')
-rw-r--r-- | dives/test0.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dives/test0.xml b/dives/test0.xml index 1d15fac85..6ade06519 100644 --- a/dives/test0.xml +++ b/dives/test0.xml @@ -1,6 +1,6 @@ <dives> <program name='subsurface' version='1'></program> - <dive number='0' date='2011-01-01' time='08:00:00' duration='30:00 min'> + <dive number='0' date='2011-01-01' time='07:00:00' duration='30:00 min'> <depth max='30.00 m' mean='15.00 m' /> </dive> -</dives>
\ No newline at end of file +</dives> |