DATRW++ library: seismic data I/O with multiple formats
|
I/O module for ASCII data. More...
Namespaces | |
datrw::ascii | |
internals of the ascii I/O module | |
Classes | |
class | datrw::iasciistream |
class to read ascii data More... | |
class | datrw::oasciistream |
class to write ascii data More... | |
Functions | |
void | datrw::ascii::anonymous_namespace{iasciistream.cc}::explainmodifier (std::ostream &os, const char *const key, const char *const message) |
void | datrw::ascii::anonymous_namespace{iasciistream.cc}::explainmodifierflag (std::ostream &os, const char *const key, const char *const message) |
template<typename T > | |
std::string | datrw::ascii::anonymous_namespace{iasciistream.cc}::readany (std::istream &is, const unsigned int &n, const std::string &firstline, typename aff::Series< T > &series, const std::string &datatype, const bool &nonfatal) |
template<typename T > | |
std::string | datrw::ascii::anonymous_namespace{iasciistream.cc}::readsamples (std::istream &is, const unsigned int &n, const std::string &firstline, typename aff::Series< T > &series, const bool &nonfatal) |
const bool | datrw::ascii::isbinary =false |
Format properties. More... | |
const char *const | datrw::ascii::streamID ="ascii" |
Format properties. More... | |
const char *const | datrw::ascii::keydate ="date" |
key for WID2 line header field More... | |
const char *const | datrw::ascii::keydt ="dt" |
key for WID2 line header field More... | |
const char *const | datrw::ascii::keynsamples ="n" |
key for WID2 line header field More... | |
const char *const | datrw::ascii::keystation ="station" |
key for WID2 line header field More... | |
const char *const | datrw::ascii::keychannel ="channel" |
key for WID2 line header field More... | |
const char *const | datrw::ascii::keyauxid ="auxid" |
key for WID2 line header field More... | |
const char *const | datrw::ascii::keyinstype ="instype" |
key for WID2 line header field More... | |
const char *const | datrw::ascii::keycalib ="calib" |
key for WID2 line header field More... | |
const char *const | datrw::ascii::keycalper ="calper" |
key for WID2 line header field More... | |
const char *const | datrw::ascii::keyhang ="hang" |
key for WID2 line header field More... | |
const char *const | datrw::ascii::keyvang ="vang" |
key for WID2 line header field More... | |
const char *const | datrw::ascii::keySRCEdate ="SRCEdate" |
key for SRCE line header field More... | |
const char *const | datrw::ascii::keySRCEtype ="SRCEtype" |
key for SRCE line header field More... | |
const char *const | datrw::ascii::keySRCEX ="SRCE-X" |
key for SRCE line header field More... | |
const char *const | datrw::ascii::keySRCEY ="SRCE-Y" |
key for SRCE line header field More... | |
const char *const | datrw::ascii::keySRCEZ ="SRCE-Z" |
key for SRCE line header field More... | |
const char *const | datrw::ascii::keySRCECS ="SRCE-CS" |
key for SRCE line header field More... | |
const char *const | datrw::ascii::keyRECVX ="RECV-X" |
key for INFO line header field More... | |
const char *const | datrw::ascii::keyRECVY ="RECV-Y" |
key for INFO line header field More... | |
const char *const | datrw::ascii::keyRECVZ ="RECV-Z" |
key for INFO line header field More... | |
const char *const | datrw::ascii::keyRECVCS ="RECV-CS" |
key for INFO line header field More... | |
const char *const | datrw::ascii::keynstacks ="nstacks" |
key for INFO line header field More... | |
const char *const | datrw::ascii::keydata ="DATA" |
key for DATA type header field More... | |
const char *const | datrw::ascii::keyint ="int" |
key for DATA type header field More... | |
const char *const | datrw::ascii::keyfloat ="float" |
key for DATA type header field More... | |
const char *const | datrw::ascii::keydouble ="double" |
key for DATA type header field More... | |
const char *const | datrw::ascii::keynonfatal ="nonfatal" |
format modifier key More... | |
I/O module for ASCII data.
Lines of ASCII data files either start with
#
: these lines provide header data; see keywords belowor
##
: these lines are pure comments from FREE blocksor
Each file can contain multiple traces.