Program to generate frame files from a time series saved in a text file.
cerr<<endl;
cerr<<"usage:"<<endl;
cerr<<"gwl-txt-to-frame [input text file] [channel name] [sampling rate] [time start]"<<endl;
cerr<<endl;
cerr<<" [input text file]: txt file with columns of data"<<endl;
cerr<<" [channel name] : name for the output channel"<<endl;
cerr<<" [sampling rate] : data sampling rate in Hz"<<endl;
cerr<<" [time start] : GPS time for the first sample"<<endl;
cerr<<""<<endl;
cerr<<"The text file must contain 1 or 2 columns."<<endl;
cerr<<""<<endl;
cerr<<"** 2 columns:"<<endl;
cerr<<"- first column = GPS time"<<endl;
cerr<<"- 2nd column = channel value"<<endl;
cerr<<""<<endl;
cerr<<"** 1 column:"<<endl;
cerr<<"- [sampling rate] and [time start] MUST be provided."<<endl;
cerr<<"- column data = channel value"<<endl;
cerr<<endl;
- Author
- Florent Robinet - florent.robinet@ijclab.in2p3.fr