35 #define DATRW_ITHIESDL1STREAM_CC_VERSION \ 36 "DATRW_ITHIESDL1STREAM_CC V1.1" 43 const std::ios_base::openmode
49 const std::string& modifier,
51 Tbase(is, true, true, true, debug), Mmodifier(modifier)
121 "Thies DL1 reading functions" << std::endl <<
122 "---------------------------" << std::endl <<
126 "This file format is used to store data of the Thies DL1/N pluviometer\n" 127 "at BFO. The files are produced by program DL1logger, which accomplishes\n" 128 "data acquisition by controlling the Thies DL1/N data logger and reading\n" 129 "the data from the logger.\n" 131 "http://www.rz.uni-karlsruhe.de/~bi77/public/paperware/linked/technotes/DL1recording.pdf\n" 134 "The Thies DL1 input stream can be controlled by format modifiers:\n" 135 "tr input stream tolerates redundant samples\n" 136 "twt input stream tolerates samples not fitting in expected time window\n"
FileHeader readheader(std::istream &is)
Read and parse a file header.
aff::Series< float > Tfseries
virtual void skipseries()
Tdseries dseries() const
return data block of values
void setfilefree(const sff::FREE &free)
thiesdl1::FileHeader Mheader
::sff::FREE tracefree() const
return FREE lines produced while reading the data
void toleratewrongtime(const bool flag=true)
set tolerance for wrong time
void tolerateredundant(const bool flag=true)
set tolerance for redundant samples
aff::Series< double > Tdseries
virtual Tfseries fseries()
void setwid2(const sff::WID2 &wid2)
Tiseries iseries() const
return data block of counts
static void help(std::ostream &os=std::cout)
virtual Tiseries iseries()
Root namespace of library.
void read(std::istream &is, const FileHeader &header)
actually read file
module to read ThiesDL1 data files (prototypes)
void settracefree(const sff::FREE &free)
aff::Series< int > Tiseries
Tfseries fseries() const
return data block of values
virtual Tdseries dseries()
static const std::ios_base::openmode openmode
#define DATRW_ITHIESDL1STREAM_CC_VERSION
ithiesdl1stream(std::istream &is, const std::string &modifier="", const bool &debug=false)