Commit 2f6aafd3 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

mask: set datatype to int8

parent 1812c763
......@@ -157,12 +157,16 @@ void *Vargen(void *argument)
else
varID = vlistDefVar(vlistID, gridID, zaxisID, TIME_CONSTANT);
if ( operatorID == MASK )
vlistDefVarDatatype(vlistID, varID, DATATYPE_INT8);
vlistDefVarName(vlistID, varID, cdoOperatorName(operatorID));
taxisID = taxisCreate(TAXIS_RELATIVE);
vlistDefTaxis(vlistID, taxisID);
if ( operatorID == RANDOM || operatorID == CONST || operatorID == TOPO || operatorID == TEMP || operatorID == MASK )
if ( operatorID == RANDOM || operatorID == CONST || operatorID == TOPO ||
operatorID == TEMP || operatorID == MASK )
vlistDefNtsteps(vlistID, 1);
streamID = streamOpenWrite(cdoStreamName(0), cdoFiletype());
......
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