Commit a7336a74 authored by thomas.forbriger's avatar thomas.forbriger
Browse files

ts/wf [WP]: make proper use of libdatrwxx output stream

parent 3b2839b2
......@@ -44,6 +44,7 @@
#include <tsxx/tsxx.h>
#include <tsxx/correlate.h>
#include <tsxx/wid2timeseries.h>
#include <tsxx/wid2tsio.h>
#include <datrwxx/sff.h>
#include <aff/seriesoperators.h>
......@@ -179,8 +180,8 @@ int main(int iargc, char* argv[])
result.header.auxid="corr";
result.header.date=srce.date
+(result.first()*libtime::double2time(result.header.dt));
os << result.series() << result.header;
if (is.hasinfo()) { os << info; }
os << result;
}
++I;
}
......
......@@ -45,6 +45,7 @@
#include <tfxx/rangestring.h>
#include <tfxx/error.h>
#include <tsxx/tsxx.h>
#include <tsioxx/outputoperators.h>
#include <tsxx/tapers.h>
#include <tsxx/filter.h>
#include <tsioxx/inputoperators.h>
......@@ -427,8 +428,8 @@ int main(int iargc, char* argv[])
std::ofstream ofs(outfile.c_str());
datrw::osffstream os(ofs);
os << impresp;
os << iwid2;
os << impresp;
os << finputtseries;
os << foutputtseries;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment