version  0.0.1
Defines the C++ API for MsPASS
Loading...
Searching...
No Matches
fileio.h
1#ifndef _MSEED_INDEX_H_
2#define _MSEED_INDEX_H_
3#include "mspass/seismic/Seismogram.h"
4#include "mspass/seismic/TimeSeries.h"
5#include "mspass/seismic/Ensemble.h"
6#include <string>
7namespace mspass::io {
37long int fwrite_to_file(mspass::seismic::TimeSeries &d, const std::string dir,
38 const std::string dfile);
71long int fwrite_to_file(mspass::seismic::Seismogram &d, const std::string dir,
72 const std::string dfile);
73
107std::vector<long int>
109 const std::string dir, const std::string dfile);
110
144std::vector<long int>
146 const std::string dir, const std::string dfile);
147
177size_t fread_from_file(mspass::seismic::Seismogram &d, const std::string dir,
178 const std::string dfile, const long int foff);
179
209size_t fread_from_file(mspass::seismic::TimeSeries &d, const std::string dir,
210 const std::string dfile, const long int foff);
211
242size_t fread_from_file(
244 const std::string dir, const std::string dfile,
245 std::vector<long int> indexes);
246
277size_t fread_from_file(
279 const std::string dir, const std::string dfile,
280 std::vector<long int> indexes);
281
282} // namespace mspass::io
283#endif
Template class that extends Ensemble to include an error log and live tests.
Definition Ensemble.h:135
Implemntation of Seismogram for MsPASS.
Definition Seismogram.h:14
Implemntation of TimeSeries for MsPASS.
Definition TimeSeries.h:14