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>
This commit is contained in:
Jan Mulder 2014-04-03 17:28:50 +02:00 committed by Dirk Hohndel
parent 71afa05b84
commit 141433c3df

View file

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