Skip to content
Snippets Groups Projects
Commit 2dab0f97 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

cdfDefTimestep(): call cdfEndDef() if streamptr->accessmode == 0.

parent 8f4fc166
No related merge requests found
Pipeline #19294 failed
......@@ -57,6 +57,11 @@ cdfDefTimestep(stream_t *streamptr, int tsID)
streamptr->ncmode = 2;
}
if (streamptr->accessmode == 0)
{
cdfEndDef(streamptr);
}
double timevalue = cdi_encode_timeval(taxis->vdatetime, &streamptr->tsteps[0].taxis);
if (CDI_Debug) Message("tsID = %d timevalue = %f", tsID, timevalue);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment