Commit 7efb6fe4 authored by Oliver Heidmann's avatar Oliver Heidmann
Browse files

added debug for file and pipe streams inqTimestep functions

parent 680f1ca7
......@@ -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;
}
......
......@@ -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
......
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