Difference between revisions of "SciFigs: Multi-column Parser"

From GeopsyWiki
Jump to navigation Jump to search
Line 1: Line 1:
 
[[Image:LoadCurveTable.png|thumb|left|300px|Accepting different information from the multi column a curve]] At the top of the window there is the possibility to use a ''Parser'', i.e. an [[SciFigs:Xml files| XML file]], that describes the way to translate the ASCII multi-column file.
 
[[Image:LoadCurveTable.png|thumb|left|300px|Accepting different information from the multi column a curve]] At the top of the window there is the possibility to use a ''Parser'', i.e. an [[SciFigs:Xml files| XML file]], that describes the way to translate the ASCII multi-column file.
What is included in the parser (.ctparser) file correspond to:
+
What is included in the parser (.ctparser) file correspond to what is described as:
* [[Image:Lines.png|thumb|center|100px|]] the starting and ending line that you want to import. Additionally the Accept (not defined as a default) and Reject (# is the default descriptor) pattern.
+
* [[Image:Lines_Pop-up.png|thumb|right|200px|Setup the '''Line''' parser]][[Image:Lines.png|50px]] the starting and ending line that you want to import. Additionally the Accept (not defined as a default) and Reject (# is the default descriptor) pattern.
 
* Columns : the delimiter (space is the default) for the different columns (Tab, Space or user specific) or specify the Width of each Column.
 
* Columns : the delimiter (space is the default) for the different columns (Tab, Space or user specific) or specify the Width of each Column.
 
* Sections : a new section each time the parser encounters a pattern (# is the default), after reading a specific number of lines or/and columns or after you specify a pattern you find a number of matches in a column.
 
* Sections : a new section each time the parser encounters a pattern (# is the default), after reading a specific number of lines or/and columns or after you specify a pattern you find a number of matches in a column.
 
Finally one can specify to use the same parser for the next files when he has to import more files or Save the parser for later use by pressing the Load button.
 
Finally one can specify to use the same parser for the next files when he has to import more files or Save the parser for later use by pressing the Load button.
 
<br style="clear: both"/>
 
<br style="clear: both"/>

Revision as of 08:55, 9 March 2010

Accepting different information from the multi column a curve

At the top of the window there is the possibility to use a Parser, i.e. an XML file, that describes the way to translate the ASCII multi-column file.

What is included in the parser (.ctparser) file correspond to what is described as:

  • Setup the Line parser
    Lines.png the starting and ending line that you want to import. Additionally the Accept (not defined as a default) and Reject (# is the default descriptor) pattern.
  • Columns : the delimiter (space is the default) for the different columns (Tab, Space or user specific) or specify the Width of each Column.
  • Sections : a new section each time the parser encounters a pattern (# is the default), after reading a specific number of lines or/and columns or after you specify a pattern you find a number of matches in a column.

Finally one can specify to use the same parser for the next files when he has to import more files or Save the parser for later use by pressing the Load button.