mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +00:00 
			
		
		
		
	Add optional support for po2 import 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
							
								
									907a22f37e
								
							
						
					
					
						commit
						8dde12fa35
					
				
					 6 changed files with 55 additions and 7 deletions
				
			
		|  | @ -5,6 +5,7 @@ | |||
|   <xsl:param name="timeField" select="timeField"/> | ||||
|   <xsl:param name="depthField" select="depthField"/> | ||||
|   <xsl:param name="tempField" select="tempField"/> | ||||
|   <xsl:param name="po2Field" select="po2Field"/> | ||||
|   <xsl:param name="date" select="date"/> | ||||
|   <xsl:param name="time" select="time"/> | ||||
|   <xsl:output method="xml" indent="yes"/> | ||||
|  | @ -105,6 +106,17 @@ | |||
|             </xsl:when> | ||||
|           </xsl:choose> | ||||
|         </xsl:attribute> | ||||
| 
 | ||||
|         <xsl:attribute name="po2"> | ||||
|           <xsl:choose> | ||||
|               <xsl:when test="$po2Field >= 0"> | ||||
|                 <xsl:call-template name="getFieldByIndex"> | ||||
|                   <xsl:with-param name="index" select="$po2Field"/> | ||||
|                   <xsl:with-param name="line" select="$line"/> | ||||
|                 </xsl:call-template> | ||||
|               </xsl:when> | ||||
|           </xsl:choose> | ||||
|         </xsl:attribute> | ||||
|       </sample> | ||||
|     </xsl:if> | ||||
|   </xsl:template> | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue