10 string version =
"$Id: mtu2birrp.cpp 1816 2009-09-07 11:28:35Z mmoorkamp $";
22 cout <<
"This is mtu2birrp: Convert Phoenix time series to birrp-ascii"
24 cout <<
"Usage: mtu2birrp infilename outfilename" << endl;
25 cout <<
"Ending .asc will be automatically assigned to outfilename" << endl
27 cout <<
"This is Version: " <<
version << endl << endl;
28 infilename = AskFilename(
"Input Filename: ");
29 cout <<
"Birrp-Ascii-Filename without extension: ";
32 int main(
int argc,
char *argv[])
34 string infilename, outfilename;
39 outfilename = argv[1];
43 outfilename = argv[2];
57 cerr << e.what() << endl;
TimeSeries & GetData()
return a reference to the actual object stored in the pointer
void WriteInfoAndAsk(string &infilename, string &outfilename)
void WriteAsBirrp(std::string filename_base)
Write data to file in ascii format for birrp processing.
TimeSeriesData stores a pointer to the different components of magnetotelluric data and provides func...
The basic exception class for all errors that arise in gplib.