3.3. ASCII table


Preamble

An ASCII table is interpreted line by line and has three parts
  • head indicator
  • file heading information
  • data
Columns are separated by (multiple) whitespace characters, i.e., tab and space.


parent_gray

Head indicator

The head indicator takes up the first line of the file
1: N   head[...]
where N is the number of lines that hold heading information (excluding itself, see example below).


parent_gray

Head information

If N > 0 then the next N - 1 lines hold arbitrary information and line N + 1 specifies the names of all columns in the table.
2:   if you need to tell more about the file...

     ...use as many heading lines as you need.
N:   data columns are specified in the last header line, e.g. a three-dimensional scalar field:
N+1: 1_pos  2_pos  3_pos  field_value


parent_gray

Data

All subsequent lines contain whitespace-separated data.


parent_gray

Example

The following example shows a typical ASCII table resulting from the postResults script. This exemplary table has one line of arbitrary heading information in addition to the column labels.

2	header
$Id: postResults 722 2011-01-14 13:15:19Z MPIE\c.kords $
inc	elem	node	grain	1_ipinitialcoord	2_ipinitialcoord	3_ipinitialcoord	LogarithmicStrain.intensity	CauchyStress.intensity	phase	1_orientation	2_orientation	3_orientation	4_orientation
450	1.0	1.0	1.0	0.025	0.025	0.025	0.208811183652	142613044.256	1.0	-0.513934612274	-0.304725438356	0.438042849302	0.67166364193
450	1.0	9.0	1.0	0.075	0.025	0.025	0.226491407214	149663024.085	1.0	-0.50838971138	-0.305481612682	0.439483761787	0.67459243536
...
Topic revision: r8 - 04 Dec 2015, PhilipEisenlohr


  • News
01 Dec 2018
DAMASK overview paper now online
17 Sep 2018
CMCn2018 & DAMASK user meeting to be hosted at Max-Planck-Institut für Eisenforschung
22 May 2018
Release of version v2.0.2
01 Sep 2016
CMCn2016 & DAMASK user meeting to be hosted at Max-Planck-Institut für Eisenforschung
25 Jul 2016
Release of version v2.0.1
08 Mar 2016
Release of version v2.0.0
22 Feb 2016
New webserver up and running
09 Feb 2016
Migrated code repository from Subversion to GitLab
17 Dec 2014
Release of revision 3813
14 May 2014
Release of revision 3108
02 Apr 2014
Release of revision 3062
16 Oct 2013
Release of revision 2689
15 Jul 2013
Release of revision 2555
15 Feb 2013
Release of revision 2174
13 Feb 2013
Doxygen documentation
16 Dec 2012
Powered by MathJax rendering
23 Nov 2012
Release of revision 1955
15 Nov 2012
Release of revision 1924
01 Nov 2012
Updated sidebar
30 Oct 2012
Significant website updates and content extensions


This site is powered by FoswikiCopyright by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding DAMASK? Send feedback
§ Imprint § Data Protection