35 #define DATRW_IMSEEDSTREAM_HELP_CC_VERSION \ 36 "DATRW_IMSEEDSTREAM_HELP_CC V1.1" 40 #include <datrwxx/mseed_keywords.h> 45 using namespace mseed;
50 os <<
"MiniSEED data reading functions" << std::endl;
51 os <<
"-------------------------------" << std::endl;
53 os <<
"This module is designed to read MiniSEED (data only SEED) files" 55 os <<
"created by several different data acquisition systems. It is" 57 os <<
"tested with the following systems:" 59 os <<
" comserv with Q680 (Quanterra with SeisComP, GRSN setup)" 61 os <<
" seedlink (new SeisComP system with EDD plugin)" 63 os <<
" Earth Data Logger (EDL raw files)" 65 os <<
" Q330HR (Quanterra data acquisition system with Baler)" 67 os <<
" Taurus (Nanometrics data acquisition system)" 69 os <<
" Q330HR (data streamed from Q330HR)" 71 os <<
" Cube3 (data converted by cube2mseed)" 74 os <<
"Special features:" 76 os <<
"Data files written by the datalog client of comserv commence" 78 os <<
"with a telemetry volume header which is non-standard MiniSEED." 80 os <<
"This module identifies and skips the telemetry volume headers." 82 os <<
"The module swaps data bytes if necessary. The SEED standard" 84 os <<
"defines (page 12 of SEED manual) that all headers must have" 86 os <<
"big-endian byte-sex. The byte-sex of MiniSEED data blocks is" 88 os <<
"defined in the header. The Earth Data Logger violates this" 90 os <<
"definition and writes headers in little-endian order. The" 92 os <<
"module tries to guess the correct byte-sex in this case" 94 os <<
"when reading the header blockettes." 96 os <<
"Several consistency checks (see below) are applied to the" 98 os <<
"data file. The library module this way refuses to read data" 100 os <<
"which obviously is corrupt or which header parameters are" 102 os <<
"not plausible or are at variance with the data actually read." 104 os <<
"There are data of known sources which fail these tests," 106 os <<
"although the data itself is intact. Such files are considered" 108 os <<
"to be at variance with the definition of Data Only SEED (MiniSEED)." 110 os <<
"To be able to work on such data, consistency checks can be made" 112 os <<
"non-fatal or even be switched of by format modifiers (see below)." 117 os <<
"Available format modifiers:\n";
119 <<
"dumps ASCII data blocks to stdout\n";
121 <<
"tolerate time jitter, if not larger than\n";
122 mh <<
"\"T\", where \"T\" is given in microseconds\n";
124 <<
"estimate number of frames rather than reading\n";
125 mh <<
"it from blockette1001; this is required for\n";
126 mh <<
"data created by \"cube2mseed\" which contains\n";
127 mh <<
"an invalid count of frames\n";
129 <<
"make consistency check \"ID\" non-fatal (report only)\n";
130 mh <<
"one or more check \"ID\" values may be passed in a list\n";
132 <<
"skip consistency check \"ID\" entirely (ignore)\n";
133 mh <<
"one or more check \"ID\" values may be passed in a list\n";
138 os <<
"Available consistency checks (IDs to be used with modifiers):\n";
140 <<
"The number of frames to be expected is specified in\n";
141 mh <<
"the header in Blockette 1001. This value will be\n";
142 mh <<
"compared against the number of frames actually\n";
143 mh <<
"used to store data.\n";
144 mh <<
"This test is only applied if the number of frames\n";
145 mh <<
"actually is specified in the header. Some data require\n";
146 mh <<
"the number of frames to be guessed (if Blockette 1001)\n";
147 mh <<
"is missing.\n";
149 <<
"The number of samples to be expected is provided in\n";
150 mh <<
"the header in the fixed section data header. This\n";
151 mh <<
"value will be compared against the number of\n";
152 mh <<
"samples actually provided in the logical record.\n";
154 <<
"The sample value of the last sample in the record\n";
155 mh <<
"is compared against the value of the reverse\n";
156 mh <<
"integration constant as provided in the first data\n";
157 mh <<
"frame of the record. Both must be identical.\n";
159 <<
"The SEED Reference Manual (Version 2.4, August, 2012, page 124)\n";
160 mh <<
"specifies the usec field in [1001] Data Extension Blockette:\n";
161 mh <<
"The recommended value is from -50 to +49 usecs. At the users\n";
162 mh <<
"option, this value may be from 0 to +99 usecs.\n";
164 <<
"Select all consistency checks\n";
165 os <<
"Consistency checks will be selected upon a substring match\n" 166 "against check IDs. This means that by passing only a substring\n" 167 "in the argument list to the format modifier several checks\n" 168 "can be selected at once,\n";
const char *const usec
keywords for consistency checks
const char *const nframes
keywords for consistency checks
const char *const ttolerance
keywords for format modifiers
const char *const data
keywords for consistency checks
const char *const dumpascii
keywords for format modifiers
Root namespace of library.
static void help(std::ostream &os=std::cout)
const char *const skipcheck
keywords for format modifiers
const char *const all
keywords for consistency checks
provide mini-SEED data (prototypes)
const char *const nsamples
number of samples per minute block and channel
const char *const estimateNframes
keywords for format modifiers
const char *const nonfatal
keywords for format modifiers