mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Add support for importing pressure from CSV files
Signed-off-by: Anton Lundin <glance@acc.umu.se> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
9262d8a518
commit
89d74888b3
6 changed files with 48 additions and 9 deletions
|
@ -11,6 +11,7 @@
|
|||
<xsl:param name="ndlField" select="ndlField"/>
|
||||
<xsl:param name="ttsField" select="ttsField"/>
|
||||
<xsl:param name="stopdepthField" select="stopdepthField"/>
|
||||
<xsl:param name="pressureField" select="pressureField"/>
|
||||
<xsl:param name="date" select="date"/>
|
||||
<xsl:param name="time" select="time"/>
|
||||
<xsl:param name="units" select="units"/>
|
||||
|
@ -222,6 +223,15 @@
|
|||
</xsl:choose>
|
||||
</xsl:attribute>
|
||||
</xsl:if>
|
||||
|
||||
<xsl:if test="$pressureField >= 0">
|
||||
<xsl:attribute name="pressure">
|
||||
<xsl:call-template name="getFieldByIndex">
|
||||
<xsl:with-param name="index" select="$pressureField"/>
|
||||
<xsl:with-param name="line" select="$line"/>
|
||||
</xsl:call-template>
|
||||
</xsl:attribute>
|
||||
</xsl:if>
|
||||
</sample>
|
||||
</xsl:if>
|
||||
</xsl:template>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue