diff options
author | Miika Turkia <miika.turkia@gmail.com> | 2017-05-30 18:46:32 +0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2017-05-30 13:25:08 -0700 |
commit | fcc69103becd726463ac0e87d5d5299f6491619c (patch) | |
tree | 27f4e4967df7d19923a3e5ed8a025b842dc7ddf9 /xslt/shearwater.xslt | |
parent | f6f74a0a3e2658c784ae462c3d3b552e195893a9 (diff) | |
download | subsurface-fcc69103becd726463ac0e87d5d5299f6491619c.tar.gz |
Fix Shearwater import pressure data
Apparently recording cylinder pressure in PSI is not the only oddity
with Shearwater Desktop. It also records half the value, so doubling the
reading here.
Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
Diffstat (limited to 'xslt/shearwater.xslt')
-rw-r--r-- | xslt/shearwater.xslt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xslt/shearwater.xslt b/xslt/shearwater.xslt index 074c2ebde..fe0c75e52 100644 --- a/xslt/shearwater.xslt +++ b/xslt/shearwater.xslt @@ -150,7 +150,7 @@ </xsl:if> <xsl:if test="tank0pressurePSI != '' and tank0pressurePSI > 0 and tank0pressurePSI < 4092"> <xsl:attribute name="pressure"> - <xsl:value-of select="concat(format-number((tank0pressurePSI div 14.5037738007), '#.##'), ' bar')"/> + <xsl:value-of select="concat(format-number((tank0pressurePSI * 2 div 14.5037738007), '#.##'), ' bar')"/> </xsl:attribute> </xsl:if> </sample> |