Commit b99164fd authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

cgribex: change tsteptype only if tsteptype!=TSTEP_INSTANT2.

parent 2c728634
......@@ -1041,7 +1041,7 @@ int cgribexScanTimestep2(stream_t * streamptr)
gridChangeType(gridID, GRID_TRAJECTORY);
}
if ( tsteptype != vlistInqVarTsteptype(vlistID, varID) )
if ( tsteptype != TSTEP_INSTANT2 && tsteptype != vlistInqVarTsteptype(vlistID, varID) )
vlistDefVarTsteptype(vlistID, varID, tsteptype);
rindex++;
......
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