SG2K_ASCII format description:
SeisGram2K reads and writes a simple ASCII format (SG2K_ASCII format) consisting of optional header information and two columns for trace data: time from the trace beginning and amplitude. This format is useful for importing and exporting trace data to spreadsheet, plotting, analysis, or other programs.
The first and last tokens SG2K_ASCII and END_SG2K_ASCII are optional; these allow SeisGram2K to automatically identify the file format. The optional header fields are specified by tokens of the form <name>=<value>, with no white space between <name>, =, and <value>. Header tokens must be separated by white space, but the use of <newline>'s is optional. Each point of trace data is specified by a value for the time from the beginning of the trace and a value for the amplitude. Trace data values must be separated by white space, but the use of <newline>'s is optional.
Lines beginning with the character #, ! or * are ignored.
When writing SG2K_ASCII format, SeisGram2K puts all header tokens on the first line, and the pair of time/amplitude values for each data point on a separate line.