Write one trace of data with INFO line.
c----------------------------------------------------------------------
subroutine sff_WTrace(lu, wid2line, nsamp, fdata, idata, last, ierr)
c
c Write one data block starting with DAST line.
c The File will be closed after writing the last trace.
c
c input:
c wid2line valid WID2 line
c nsamp number of samples
c fdata data array
c last must be true is the trace to be written is the
c last one in this file
c ouput:
c ierr error status (ok: ierr=0)
c
c workspace:
c idata fdata will be converted to idata using sff_f2i
c (both array may be in same memory space - see
c comments on sff_f2i)
c
character wid2line*132
c----------------------------------------------------------------------
87 unsigned int nsamples=
static_cast<unsigned int>(*nsamp);
89 aff::LinearShape shape(0, nsamples-1, 0);
90 datrw::Tfseries series(shape, aff::SharedHeap<real>(fdata, *nsamp));
This struct is used to pass WID2 line data within libfapidxx.
::fapidxx::OFileUnits ostreammanager
the global ostream manager
void close(const int &unit)
close the file associated with this file unit