diff options
author | Miika Turkia <miika.turkia@gmail.com> | 2014-04-27 12:56:53 +0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-04-27 09:27:19 -0700 |
commit | 4d48eb826279953d3809ec2420bcc3e848f4fa88 (patch) | |
tree | dcc1913f67af5c431e819db4961888bbbbd298d3 /xslt/uddf.xslt | |
parent | d98f715942c4059dd2ab6b6f9fa94e7394968a0a (diff) | |
download | subsurface-4d48eb826279953d3809ec2420bcc3e848f4fa88.tar.gz |
Include pressure data on UDDF import
Importing pressure samples on UDDF import was missing. This patch adds
that bit of information to our import.
See #499
Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'xslt/uddf.xslt')
-rw-r--r-- | xslt/uddf.xslt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/xslt/uddf.xslt b/xslt/uddf.xslt index 7f5d668ea..45e3ba02a 100644 --- a/xslt/uddf.xslt +++ b/xslt/uddf.xslt @@ -418,6 +418,12 @@ </xsl:attribute> </xsl:if> + <xsl:if test="tankpressure|u:tankpressure|u1:tankpressure != ''"> + <xsl:attribute name="pressure"> + <xsl:value-of select="concat(format-number(tankpressure|u:tankpressure|u1:tankpressure div 100000, '0.0'), ' bar')"/> + </xsl:attribute> + </xsl:if> + <xsl:if test="otu|u:otu|u1:otu > 0"> <xsl:attribute name="otu"> <xsl:value-of select="otu|u:otu|u1:otu"/> |