mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
CSV export: export only existing temperatures
Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
This commit is contained in:
parent
3a003f4c10
commit
1c03cb259e
1 changed files with 6 additions and 2 deletions
|
@ -230,7 +230,9 @@
|
|||
<xsl:text>"</xsl:text>
|
||||
<xsl:choose>
|
||||
<xsl:when test="$units = 1">
|
||||
<xsl:if test="substring-before(@air, ' ') > 0">
|
||||
<xsl:value-of select="concat(format-number((substring-before(@air, ' ') * 1.8) + 32, '0.0'), ' F')"/>
|
||||
</xsl:if>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<xsl:value-of select="@air"/>
|
||||
|
@ -241,7 +243,9 @@
|
|||
<xsl:text>"</xsl:text>
|
||||
<xsl:choose>
|
||||
<xsl:when test="$units = 1">
|
||||
<xsl:if test="substring-before(@water, ' ') > 0">
|
||||
<xsl:value-of select="concat(format-number((substring-before(@water, ' ') * 1.8) + 32, '0.0'), ' F')"/>
|
||||
</xsl:if>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<xsl:value-of select="@water"/>
|
||||
|
|
Loading…
Reference in a new issue