Display issues

58 views
Skip to first unread message

Tom Kuehnel

unread,
Apr 15, 2021, 12:46:36 PM4/15/21
to Subsurface Divelog
Screenshot 2021-04-15 at 11.38.44.pngHi

I recently imported all my dives from various sources (log files on disk..) and (surprisingly) all information is correct, only a few profiles are squeezed as if somehow the depth/time information has a point way out (0m, 2000min) see pic. If I open the dive in "log->edit dive in planner", the time/depth pairs are correct ==  no far away point. 
The "scale" button has no effect either. Any help with this is greatly appreciated

Thanks
Thomas

Jason Bramwell

unread,
Apr 15, 2021, 1:25:46 PM4/15/21
to subsurfac...@googlegroups.com
Can you share one of your problematic logs so we can see if we can recreate this issue. It should be simple to manually edit the dive to correct this but it would be interesting to see why it’s happening 

Sent from my iPhone

On 15 Apr 2021, at 17:46, Tom Kuehnel <t.kue...@gmail.com> wrote:


--
You received this message because you are subscribed to the Google Groups "Subsurface Divelog" group.
To unsubscribe from this group and stop receiving emails from it, send an email to subsurface-dive...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/subsurface-divelog/5b930217-62d9-4abb-94f6-ede3a72adddan%40googlegroups.com.
<Screenshot 2021-04-15 at 11.38.44.png>

Tom Kuehnel

unread,
Apr 15, 2021, 1:38:59 PM4/15/21
to subsurfac...@googlegroups.com
Sure here are 3 examples from different vintages. not so sure about the "simple manually edit" part as the edit window does NOT show the extra points..


You received this message because you are subscribed to a topic in the Google Groups "Subsurface Divelog" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/subsurface-divelog/F1JSXWSavqM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to subsurface-dive...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/subsurface-divelog/06C1ABF5-855E-4441-9B5D-0208277A9D8A%40gmail.com.
trail_log1.ssrf
trial_log3.ssrf
trial_log2.ssrf

Linus Torvalds

unread,
Apr 15, 2021, 2:09:23 PM4/15/21
to Subsurface Divelog
On Thu, Apr 15, 2021 at 10:39 AM Tom Kuehnel <t.kue...@gmail.com> wrote:
>
> Sure here are 3 examples from different vintages. not so sure about the "simple manually edit" part as the edit window does NOT show the extra points..

So I only looked at the first one, but the basic issue seems to be
that you have a perfectly fine dive:

<dive number='410' otu='115' cns='42%' divesiteid='1cecd01f'
date='2019-04-28' time='11:34:00' duration='102:10 min'>

and you have samples for it all:

<sample time='0:00 min' depth='1.7 m' temp='30.0 C' po2='0.77 bar' />
<sample time='0:10 min' depth='1.9 m' ndl='99:00 min' po2='0.54 bar' />
<sample time='0:20 min' depth='2.2 m' po2='0.7 bar' />
...
<sample time='101:50 min' depth='1.7 m' po2='0.71 bar' />
<sample time='102:00 min' depth='1.4 m' po2='0.68 bar' />
<sample time='102:10 min' depth='0.0 m' po2='0.64 bar' />

but then you have a couple of insane events:

<divecomputer model='Shearwater Petrel/Perdix' dctype='CCR'>
<event time='2000:00 min' type='11' value='21' name='gaschange'
cylinder='0' />
..
<divecomputer model='Shearwater import' dctype='CCR'>
<event time='833:20 min' type='11' value='21' name='gaschange' cylinder='0' />

and because you have those events at the 833 and 2000 minute marks,
subsurface will make that profile go out all the way to that. End
result: the actual dive (that is only 103 minutes long, not 2000
minutes) looks squished up at the beginning of the profile.

If you remove those crazy events- you can literally just edit that
file and remove those two lines - it all looks right to me (although I
obviously don't know the dive, so maybe there is something else odd
hiding too)

I don't know how you imported your old log-files, but the times for
those gas changes are clearly wrong. Some import script bug, but I
don't know where it comes from.

Linus

Tom Kuehnel

unread,
Apr 15, 2021, 2:26:56 PM4/15/21
to Subsurface Divelog
Linus,

that is great news thanks a lot. I edited (grim is great for this) the file and indeed there are some strange lines of events in there. Removed an all looks fine.

Thomas

Reply all
Reply to author
Forward
0 new messages