SciFigs: Multi-column Parser

From GeopsyWiki
Jump to navigation Jump to search
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.