Changeset fcc69103 in subsurface


Ignore:
Timestamp:
May 30, 2017, 1:25:08 PM (3 months ago)
Author:
Dirk Hohndel <dirk@…>
Branches:
master
Children:
afb45a2
Parents:
f6f74a0
git-author:
Miika Turkia <miika.turkia@…> (05/30/17 08:46:32)
git-committer:
Dirk Hohndel <dirk@…> (05/30/17 13:25:08)
Message:

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@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • xslt/shearwater.xslt

    rf6f74a0 rfcc69103  
    151151            <xsl:if test="tank0pressurePSI != '' and tank0pressurePSI &gt; 0 and tank0pressurePSI &lt; 4092">
    152152              <xsl:attribute name="pressure">
    153                 <xsl:value-of select="concat(format-number((tank0pressurePSI div 14.5037738007), '#.##'), ' bar')"/>
     153                <xsl:value-of select="concat(format-number((tank0pressurePSI * 2 div 14.5037738007), '#.##'), ' bar')"/>
    154154              </xsl:attribute>
    155155            </xsl:if>
Note: See TracChangeset for help on using the changeset viewer.