Commit 8e43ea11 authored by Thomas Jahns's avatar Thomas Jahns 🤸
Browse files

Document non-intuitive function call.

parent 526f928d
...@@ -606,6 +606,7 @@ writeGribStream(struct winHeaderEntry *winDict, struct streamMapping *mapping, ...@@ -606,6 +606,7 @@ writeGribStream(struct winHeaderEntry *winDict, struct streamMapping *mapping,
int vlistID = streamInqVlist(streamID); int vlistID = streamInqVlist(streamID);
if (lastHeaderIdx < 0) if (lastHeaderIdx < 0)
{ {
/* write zero bytes to trigger synchronization code in fileWrite */
cdiPioFileWrite(streamInqFileID(streamID), NULL, 0, cdiPioFileWrite(streamInqFileID(streamID), NULL, 0,
streamInqCurTimestepID(streamID)); streamInqCurTimestepID(streamID));
} }
......
Supports Markdown
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