Commit 5f22d10b authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

Check ncvarboundsid.

parent 6751e2f8
......@@ -75,7 +75,7 @@ void cdfDefTimeValue(stream_t *streamptr, int tsID)
if ( taxis->has_bounds )
{
ncvarid = streamptr->basetime.ncvarboundsid;
assert(ncvarid != CDI_UNDEFID);
if ( ncvarid == CDI_UNDEFID ) Error("Call to taxisWithBounds() missing!");
timevalue = cdiEncodeTimeval(taxis->vdate_lb, taxis->vtime_lb, &streamptr->tsteps[0].taxis);
size_t start[2], count[2];
......
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