Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mpim-sw
cdo
Commits
7efb6fe4
Commit
7efb6fe4
authored
Sep 27, 2019
by
Oliver Heidmann
Browse files
added debug for file and pipe streams inqTimestep functions
parent
680f1ca7
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/fileStream.cc
View file @
7efb6fe4
...
...
@@ -279,6 +279,7 @@ FileStream::inqTimestep(int p_tsID)
{
m_tsID
=
p_tsID
;
}
Debug
(
FILE_STREAM
,
"Current TsID: %d, nrecs: %d"
,
m_tsID
,
nrecs
);
return
nrecs
;
}
...
...
src/pipeStream.cc
View file @
7efb6fe4
...
...
@@ -139,7 +139,10 @@ PipeStream::copyRecord(CdoStreamID p_destination)
int
PipeStream
::
inqTimestep
(
int
p_tsID
)
{
return
m_pipe
->
pipeInqTimestep
(
p_tsID
);
int
nrecs
=
m_pipe
->
pipeInqTimestep
(
p_tsID
);
m_tsID
=
p_tsID
;
Debug
(
PIPE_STREAM
,
"PipeStream: Current TsID: %d, nrecs: %d"
,
m_tsID
,
nrecs
);
return
nrecs
;
}
void
...
...
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