Small glitch in the mobile app export to divelogs

33 views
Skip to first unread message

Rainer Mohr (divelogs.de)

unread,
May 2, 2026, 3:48:01 PM (6 days ago) May 2
to Subsurface Divelog
Hi all,

A user just contacted me about missing tank pressures when he exports to divelogs.de from the subsurface mobile app. My exports work flawlessly however.
I have narrowed it down to the probabable cause:

My Logs contain the start and end pressures in the cylinder tag in the ssrf file:
<cylinder size='15.0 l' description='Tank 1' start='209.53 bar' end='65.24 bar' />

On his side, the pressures are missing in that tag:
<cylinder description='unknown' />
but instead reside in the sample tags:
<sample time='0:22 min' depth='5.846 m' pressure0='209.53 bar' />

In the latter case, the start and end pressures seemingly are not transferred via the API...

Nothing urgent, as always :-)

Kind regards,
Rainer

Michael Keller

unread,
May 3, 2026, 2:26:27 AM (5 days ago) May 3
to subsurfac...@googlegroups.com
Hi Rainer.
Thank you for reporting this.

This is by design - Subsurface supports both pressures reported during
the dive by tank sensors, and start and end pressures entered manually
by the user. Interestingly, xslt/divelogs-export.xslt already supports
the legacy format for tank sensor pressures, where the pressure is
reported in a `pressure` attribute inside the samples. But it does not
yet support the newer format where pressures from multiple tank sensors
can be reported in `pressure0`, `pressure1`,... attributes.


Ngā mihi

  Michael Keller

Rainer Mohr (divelogs.de)

unread,
May 3, 2026, 6:26:55 AM (5 days ago) May 3
to Subsurface Divelog
Hi Michael,

Thanks for checking this!
I'm not sure if the user who reported this also has multiple tank sensors, only have a screenshot that shows the pressure curve being very detailed (in contrast to my curves), so i guess this may be the issue. I will ask for his ssrf file to verifiy this.

regards, Rainer

Rainer Mohr (divelogs.de)

unread,
May 4, 2026, 7:16:48 AM (4 days ago) May 4
to Subsurface Divelog
Hi Michael,

Just got the users log, can confirm he has "pressure0" attributes in the sample tags, just as you suspected :-)

Thanks as always,
Rainer

Michael Keller schrieb am Sonntag, 3. Mai 2026 um 08:26:27 UTC+2:
Reply all
Reply to author
Forward
0 new messages