34 #define DATRW_SACREAD_CC_VERSION \ 35 "DATRW_SACREAD_CC V1.0 " 37 #include <datrwxx/sacread.h> 49 is.read(Pchar(&retval),
sizeof(
SACheader));
56 void help(std::ostream& os)
60 "SAC reading functions" << std::endl <<
61 "---------------------" << std::endl <<
64 "These functions are tuned to read binary SAC files as produced by" 66 "rdseed from IRIS SEED volumes." << std::endl;
76 "read_sac_data: input stream is not good before reading");
80 "read_sac_data: input stream is not good after reading");
#define DATRW_assert(C, M)
Check an assertion and report by throwing an exception.
SACheader read_sac_header(std::istream &is)
read SAC header from stream
#define DATRW_SACREAD_CC_VERSION
Tseries read_sac_data(std::istream &is, const int &nsamples)
read samples from file
const int nsamples
number of samples per minute block and channel
exception class declaration for libdatrwxx (prototypes)
Root namespace of library.
void help(std::ostream &os)
print information about file decoding
aff::Series< Tvalue > Tseries
float Tvalue
binary SAC sample type