DATRW++ library: seismic data I/O with multiple formats

◆ help() [1/2]

void datrw::itsoftstream::help ( std::ostream &  os = std::cout)
static

Definition at line 154 of file itsoftstream.cc.

References DATRW_report_assert, DATRW_TSOFT_CC_VERSION, DATRW_TSOFT_H_VERSION, datrw::tsoft::key_bridgetime, datrw::tsoft::key_flagbridged, datrw::tsoft::key_keepundetval, datrw::tsoft::key_replaceundetval, datrw::tsoft::reportdatacomments(), datrw::tsoft::reporttranslation(), and datrw::tsoft::translationisunique().

Referenced by datrw::online_help().

155  {
156  os << std::endl;
157  os << "TSOFT data reading functions" << std::endl;
158  os << "----------------------------" << std::endl;
159  os << DATRW_TSOFT_CC_VERSION << std::endl;
160  os << DATRW_TSOFT_H_VERSION << std::endl;
161  os << "TSOFT format is defined by the TSOFT software:\n"
162  << " http://seismologie.oma.be/TSOFT/tsoft.html" << std::endl;
163  os << "It is the standard data storage format of the UIPC " << std::endl
164  << "data acquisition of GWR superconducting gravimeters." << std::endl;
165  os << "This reading module is tailored to handle data recorded\n"
166  << "for the SG056 at BFO.\n";
167  os << std::endl;
169  os << std::endl;
172  "TSOFT translation table is not unique");
173  os << std::endl;
174  os
175  << "The TSOFT reading module supports format modifiers to handle\n"
176  << "gaps in the otherwise continuous input data:\n";
177  os << " " << tsoft::key_keepundetval << "\n";
178  os
179  << " Samples of the value defined as \"UNDETVAL\" in the TSOFT\n"
180  << " header are usually regarded as non-existent and for this\n"
181  << " reason produce a gap in the data. If this flag is set,\n"
182  << " these sample values are simply passed to the output.\n";
183  os << " " << tsoft::key_replaceundetval << "=value\n";
184  os
185  << " Samples of the value defined as \"UNDETVAL\" in the TSOFT\n"
186  << " header are set to \"value\".\n";
187  os << " " << tsoft::key_bridgetime << "=YYYY/MM/DD/hh/mm/ss\n";
188  os
189  << " The UIPC data acquisition system of SG056 occasionally\n"
190  << " produces data lines with unreasonable data times. The\n"
191  << " typical time on these lines is\n"
192  << " 0001 01 01 01 01 01\n"
193  << " These entries produce gaps in the output data. If this\n"
194  << " modifier is passed and the line is not the first line\n"
195  << " in the input data line, lines with sample time defined\n"
196  << " by the modifier parameter are replaced by the expected\n"
197  << " time for this line and sample values are included in\n"
198  << " the output data stream.\n";
199  os << " " << tsoft::key_flagbridged << "=value\n";
200  os
201  << " If this flag is set, sample values of lines with originally\n"
202  << " unreasonable sample time being bridge by the reader are\n"
203  << " flagged with sample value being replaced by \"value\".\n";
204  } // void itsoftstream::help(std::ostream& os)
void reporttranslation(std::ostream &os)
report translation table
#define DATRW_TSOFT_CC_VERSION
Definition: itsoftstream.cc:40
const char *const key_keepundetval
Format modifier keys.
Definition: itsoftstream.cc:67
bool translationisunique(const bool &verbose)
check uniqueness of translation table
const char *const key_replaceundetval
Format modifier keys.
Definition: itsoftstream.cc:68
const char *const key_bridgetime
Format modifier keys.
Definition: itsoftstream.cc:69
#define DATRW_TSOFT_H_VERSION
Definition: tsoft.h:41
const char *const key_flagbridged
Format modifier keys.
Definition: itsoftstream.cc:70
#define DATRW_report_assert(C, M)
Check an assertion and report only.
Definition: error.h:120
void reportdatacomments(std::ostream &os)
report comments from 1s files
Here is the call graph for this function:
Here is the caller graph for this function: