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

Replace TIME_VARIABLE by TSTEP_INSTANT.

parent 6030b368
......@@ -261,7 +261,7 @@ void *Adisit(void *argument)
int vlistID2 = vlistCreate();
int tisID2 = vlistDefVar(vlistID2, gridID, zaxisID, TIME_VARIABLE);
int tisID2 = vlistDefVar(vlistID2, gridID, zaxisID, TSTEP_INSTANT);
if ( operatorID == ADISIT )
{
vlistDefVarParam(vlistID2, tisID2, cdiEncodeParam(20, 255, 255));
......@@ -280,7 +280,7 @@ void *Adisit(void *argument)
vlistDefVarMissval(vlistID2, tisID2, tis.missval);
vlistDefVarDatatype(vlistID2, tisID2, datatype);
int saoID2 = vlistDefVar(vlistID2, gridID, zaxisID, TIME_VARIABLE);
int saoID2 = vlistDefVar(vlistID2, gridID, zaxisID, TSTEP_INSTANT);
vlistDefVarParam(vlistID2, saoID2, cdiEncodeParam(5, 255, 255));
vlistDefVarName(vlistID2, saoID2, "s");
vlistDefVarLongname(vlistID2, saoID2, "Sea water salinity");
......
......@@ -1807,7 +1807,7 @@ void after_postcntl(struct Control *globs, struct Variable *vars)
if ( globs->Mean != 2 )
{
vlistDefTaxis(globs->ovlistID, globs->taxisID2);
ovarID = vlistDefVar(globs->ovlistID, ogridID, ozaxisID, TIME_VARIABLE);
ovarID = vlistDefVar(globs->ovlistID, ogridID, ozaxisID, TSTEP_INSTANT);
vlistDefVarCode(globs->ovlistID, ovarID, code);
vars[code].ovarID = ovarID;
vlistDefVarInstitut(globs->ovlistID, ovarID, instID);
......@@ -1824,7 +1824,7 @@ void after_postcntl(struct Control *globs, struct Variable *vars)
if ( globs->Mean >= 2 )
{
vlistDefTaxis(globs->ovlistID2, globs->taxisID2);
ovarID2 = vlistDefVar(globs->ovlistID2, ogridID, ozaxisID, TIME_VARIABLE);
ovarID2 = vlistDefVar(globs->ovlistID2, ogridID, ozaxisID, TSTEP_INSTANT);
vlistDefVarCode(globs->ovlistID2, ovarID2, code);
vars[code].ovarID2 = ovarID2;
vlistDefVarInstitut(globs->ovlistID2, ovarID2, instID);
......
......@@ -214,7 +214,7 @@ int params_add_ts(parse_param_t *parse_arg)
params[varID].name = strdup("_ts");
params[varID].gridID = parse_arg->pointID;
params[varID].zaxisID = parse_arg->surfaceID;
params[varID].steptype = TIME_VARIABLE;
params[varID].steptype = TSTEP_INSTANT;
params[varID].ngp = 1;
params[varID].nlev = 1;
......
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