Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Seitosh
Seitosh
Commits
a7336a74
Commit
a7336a74
authored
Nov 22, 2016
by
thomas.forbriger
Browse files
ts/wf [WP]: make proper use of libdatrwxx output stream
parent
3b2839b2
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/ts/wf/autocorr.cc
View file @
a7336a74
...
...
@@ -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
;
}
...
...
src/ts/wf/deconv.cc
View file @
a7336a74
...
...
@@ -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
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment