DATRW++ library: seismic data I/O with multiple formats
|
All classes and functions to extract data from TSOFT files. More...
Classes | |
struct | Channel |
struct to hold a pair of channel names More... | |
class | Channeldata |
date for one channel. More... | |
struct | ChannelDescription |
hold channel description More... | |
class | Channelinfo |
contains channel info. More... | |
struct | Checklist |
check list for requiered fields More... | |
class | Datacontainer |
data container. More... | |
class | Dataline |
contains one data line. More... | |
class | Datasequence |
sequence of contiguous data. More... | |
class | Datatrace |
trace of contiguous data. More... | |
struct | File |
contents of a complete TSOFT file More... | |
class | Line |
contains takes one line and splits it into tag and information. More... | |
struct | ReaderConfig |
config parameters for data extractionThese parameters control the way gaps in the input data are handled. More... | |
struct | SFFchannelid |
hold SFF channel description More... | |
struct | Trace |
contents for one trace of data More... | |
struct | TSOFTchannelid |
hold TSOFT channel description More... | |
class | TSOFTfile |
read a complete file More... | |
Typedefs | |
typedef std::list< std::string > | Tlos |
list of strings. More... | |
typedef aff::Series< datrw::tsoft::Trace > | Ttraceseries |
collection of traces More... | |
typedef std::vector< Channeldata > | Tvocd |
vector of channels. More... | |
typedef std::vector< Channelinfo > | Tvoci |
vector of channel info. More... | |
typedef std::vector< double > | Tvod |
vector of doubles. More... | |
typedef std::vector< Datatrace > | Tvodt |
vector of sequences. More... | |
typedef std::vector< std::string > | Tvos |
vector of strings. More... | |
Enumerations | |
enum | Econversion { SIDIODE, SIDIODE1, SIDIODE2, SIDIODE3, SIDIODE4, MASFLO1, GEPLHe19, GEPLHe23, POWERV, PT100_K, PT100V_K, PT100, PT100V, PSI_1_1, H2OFLO1, TDV, TD, PSI_500, PSI_2500, PSI_3000, PSI_3447, KPA_3447, KPA_20684, KPA_17236, MPA_17236, MPA_3447, MPA_20684, FAN16, C20P4, CNSP, CNFD } |
DDAS3 sensor data conversion codesSensor data conversion codes as defined in GWR document DDAS3_man_technical_ch5_UIPCsoftware_2010-07-16_BFO-Excerpt. More... | |
Functions | |
ChannelDescription | channel (const SFFchannelid &ci) |
return channel data for given SFF channel ID More... | |
Tlos | channelinfofree (const Channelinfo &ci) |
prepare free comment block from channel info More... | |
std::string | getDOSline (std::istream &is) |
helper function getDOSline More... | |
void | pfield (std::ostream &os, const std::string &s, const int &w) |
helper function: print fixed width field More... | |
void | pline (std::ostream &os, const std::string &s1, const std::string &s2, const std::string &s3, const std::string &s4, const std::string &s5, const std::string &s6, const std::string &s7) |
helper function: formatted output More... | |
File | readfile (std::istream &is, const ReaderConfig &rc) |
read complete file More... | |
void | reportdatacomments (std::ostream &os) |
report comments from 1s files More... | |
void | reporttranslation (std::ostream &os) |
report translation table More... | |
SFFchannelid | schannelid (const Channel &ci) |
split SFF channel description More... | |
Tvos | stringtovec (const std::string &line, const std::string &delimiters) |
helper function stringtok More... | |
TSOFTchannelid | tchannelid (const Channel &ci) |
split TSOFT channel description More... | |
SFFchannelid | translate (const TSOFTchannelid &ci) |
return SFF channel ID for given TSOFT channel ID More... | |
bool | translationisunique (const bool &verbose=true) |
check uniqueness of translation table More... | |
void | trimws (std::string &line) |
helper function trimws More... | |
Variables | |
const char * | NSP ="NSP" |
value not specified More... | |
const char * | tagbegin ="[" |
first character of TSOFT tag More... | |
const char * | tagchannels ="CHANNELS" |
TSOFT channels tag. More... | |
const char * | tagdata ="DATA" |
TSOFT data tag. More... | |
const char * | tagend ="]" |
last character of TSOFT tag More... | |
const char * | tagfileid ="TSF-file" |
TSOFT fileid tag. More... | |
const char * | tagincrement ="INCREMENT" |
TSOFT increment tag. More... | |
const char * | tagtimeformat ="TIMEFORMAT" |
TSOFT timeformat tag. More... | |
const char * | tagundetval ="UNDETVAL" |
TSOFT undetval tag. More... | |
const char * | tagunits ="UNITS" |
TSOFT units tag. More... | |
const Channel | translationtable [] |
global variable: channel name translation tableThis table is specific for SG056 at BFO. Sensor data conversion codes are assigned based on GWR document DDAS3_man_technical_ch5_UIPCsoftware_2010-07-16_BFO-Excerpt and Auxill_2.txt as compiled by Walter Zuern (Id: Auxill_2.txt 752 2013-01-09 12:07:01Z). More... | |
const char * | TSOFTID ="v01.0" |
string constant to check TSOFT file id More... | |
const char *const | key_keepundetval ="keepundetval" |
Format modifier keys. More... | |
const char *const | key_replaceundetval ="replaceundetval" |
Format modifier keys. More... | |
const char *const | key_bridgetime ="bridgetime" |
Format modifier keys. More... | |
const char *const | key_flagbridged ="flagbridged" |
Format modifier keys. More... | |
const bool | isbinary =false |
Format properties. More... | |
const char *const | streamID ="tsoft" |
Format properties. More... | |
All classes and functions to extract data from TSOFT files.