diff options
author | Jan Mulder <jlmulder@planet.nl> | 2014-04-03 17:28:50 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-04-03 10:26:38 -0700 |
commit | 141433c3df8f033737942c2fb90dca9fa841a19d (patch) | |
tree | 493ecf18c4000e50229be65db0a03d495238983c /xslt/sensuscsv.xslt | |
parent | 71afa05b84ae67a5471b31b73d2a18545d90d798 (diff) | |
download | subsurface-141433c3df8f033737942c2fb90dca9fa841a19d.tar.gz |
Reefnet Sensus dataloggers report in mbar (CSV import)
Sensus dataloggers report depth in (absolute) millibar. This simple
fix corrects the CSV import. The depth is now computed correctly.
Signed-off-by: Jan Mulder <jlmulder@planet.nl>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'xslt/sensuscsv.xslt')
-rw-r--r-- | xslt/sensuscsv.xslt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xslt/sensuscsv.xslt b/xslt/sensuscsv.xslt index f94eb7374..a2f37bd62 100644 --- a/xslt/sensuscsv.xslt +++ b/xslt/sensuscsv.xslt @@ -142,7 +142,7 @@ </xsl:call-template> </xsl:variable> <xsl:attribute name="depth"> - <xsl:value-of select="$depth div 1000"/> + <xsl:value-of select="($depth - 1000) div 100"/> </xsl:attribute> <xsl:variable name="temp"> |