Fortran SFF API to data I/O streams in C++
|
Group of implemented functionsNot all libsff functions are already implemented in libfapidxx. More...
Functions | |
int | sff_close__ (integer *lu, integer *ierr) |
Close SFF file. More... | |
int | sff_help_details__ (void) |
print detailed information about modules in libdatrwxx More... | |
int | sff_help_formats__ (void) |
list supported data formats More... | |
int | sff_modwid2date__ (char *wid2line, integer *year, integer *month, integer *day, ftnlen wid2line_len) |
modify date of first sample in WID2 line More... | |
int | sff_modwid2samprat__ (char *wid2line, real *samprat, ftnlen wid2line_len) |
modify sampling rate in WID2 line More... | |
int | sff_modwid2samps__ (char *wid2line, integer *samps, ftnlen wid2line_len) |
modify number of samples in WID2 line More... | |
int | sff_modwid2shift__ (char *wid2line, real *tmin, real *tsec, ftnlen wid2line_len) |
shift time of first sample in WID2 line More... | |
int | sff_modwid2time__ (char *wid2line, integer *hour, integer *minute, real *second, ftnlen wid2line_len) |
modify time of first sample in WID2 line More... | |
int | sff_new__ (integer *lu, char *filename, integer *ierr, ftnlen filename_len) |
Delete existing file. More... | |
int | sff_prepwid2__ (integer *nsamp, real *samprat, char *station, integer *year, integer *month, integer *day, integer *hour, integer *minute, char *comp, char *auxid, char *instyp, real *second, real *calib, real *calper, real *hang, real *vang, char *wid2line, integer *ierr, ftnlen station_len, ftnlen comp_len, ftnlen auxid_len, ftnlen instyp_len, ftnlen wid2line_len) |
Encode WID2 data. More... | |
int | sff_ropen__ (integer *lu, char *filename, real *version, char *timestamp, char *code, integer *ierr, ftnlen filename_len, ftnlen timestamp_len, ftnlen code_len) |
Open SFF file. More... | |
int | sff_ropenfs__ (integer *lu, char *filename, real *version, char *timestamp, char *code, integer *nline, char *lines, integer *lenmax, integer *lindim, char *type__, char *cs, real *c1, real *c2, real *c3, char *date, char *time, integer *ierr, ftnlen filename_len, ftnlen timestamp_len, ftnlen code_len, ftnlen lines_len, ftnlen type_len, ftnlen cs_len, ftnlen date_len, ftnlen time_len) |
Open SFF file and return source line and FREE block. More... | |
int | sff_ropens__ (integer *lu, char *filename, real *version, char *timestamp, char *code, char *type__, char *cs, real *c1, real *c2, real *c3, char *date, char *time, integer *ierr, ftnlen filename_len, ftnlen timestamp_len, ftnlen code_len, ftnlen type_len, ftnlen cs_len, ftnlen date_len, ftnlen time_len) |
Open SFF file and return source line. More... | |
int | sff_rtrace__ (integer *lu, real *tanf, real *dt, char *wid2line, integer *nsamp, real *fdata, integer *idata, char *code, logical *last, integer *ierr, ftnlen wid2line_len, ftnlen code_len) |
Read one trace of data. More... | |
int | sff_rtracefi__ (integer *lu, real *tanf, real *dt, char *wid2line, integer *nsamp, real *fdata, integer *idata, char *code, logical *last, integer *nline, char *lines, integer *lindim, integer *lenmax, char *cs, real *c1, real *c2, real *c3, integer *nstack, integer *ierr, ftnlen wid2line_len, ftnlen code_len, ftnlen lines_len, ftnlen cs_len) |
Read one trace of data and return FREE block and INFO line additionally. More... | |
int | sff_rtracei__ (integer *lu, real *tanf, real *dt, char *wid2line, integer *nsamp, real *fdata, integer *idata, char *code, logical *last, char *cs, real *c1, real *c2, real *c3, integer *nstack, integer *ierr, ftnlen wid2line_len, ftnlen code_len, ftnlen cs_len) |
Read one trace of data and return INFO line additionally. More... | |
int | sff_select_format__ (char *formatid, integer *ierr, ftnlen formatid_len) |
select format for input and output More... | |
int | sff_select_input_format__ (char *formatid, integer *ierr, ftnlen formatid_len) |
select format for input More... | |
int | sff_select_output_format__ (char *formatid, integer *ierr, ftnlen formatid_len) |
select format for output More... | |
int | sff_skipdata__ (integer *lu, char *code, logical *last, integer *ierr, ftnlen code_len) |
Skip a complete trace. More... | |
int | sff_wopen__ (integer *lu, char *filename, integer *ierr, ftnlen filename_len) |
Open file for writing. More... | |
int | sff_wopenfs__ (integer *lu, char *filename, char *lines, integer *nline, char *type__, char *cs, real *c1, real *c2, real *c3, char *date, char *time, integer *ierr, ftnlen filename_len, ftnlen lines_len, ftnlen type_len, ftnlen cs_len, ftnlen date_len, ftnlen time_len) |
Open file for writing and pass FREE block and SRCE line. More... | |
int | sff_wopens__ (integer *lu, char *filename, char *type__, char *cs, real *c1, real *c2, real *c3, char *date, char *time, integer *ierr, ftnlen filename_len, ftnlen type_len, ftnlen cs_len, ftnlen date_len, ftnlen time_len) |
Open file for writing and pass SRCE line. More... | |
int | sff_wtrace__ (integer *lu, char *wid2line, integer *nsamp, real *fdata, integer *idata, logical *last, integer *ierr, ftnlen wid2line_len) |
Write one trace of data with INFO line. More... | |
int | sff_wtracefi__ (integer *lu, char *wid2line, integer *nsamp, real *fdata, integer *idata, logical *last, integer *nline, char *lines, char *cs, real *c1, real *c2, real *c3, integer *nstack, integer *ierr, ftnlen wid2line_len, ftnlen lines_len, ftnlen cs_len) |
Write one trace of data with FREE block and INFO line. More... | |
int | sff_wtracei__ (integer *lu, char *wid2line, integer *nsamp, real *fdata, integer *idata, logical *last, char *cs, real *c1, real *c2, real *c3, integer *nstack, integer *ierr, ftnlen wid2line_len, ftnlen cs_len) |
Write one trace of data with INFO line. More... | |
Group of implemented functions
Not all libsff functions are already implemented in libfapidxx.
Some Fortran functions are just copied: