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

Changed TAXIS_INSTANT to TIME_VARYING in call to vlistDefVar().

parent 2514ceea
......@@ -33,8 +33,8 @@ int main(void)
int vlistID = vlistCreate();
// Define the variables
int varID1 = vlistDefVar(vlistID, gridID, zaxisID1, TSTEP_INSTANT);
int varID2 = vlistDefVar(vlistID, gridID, zaxisID2, TSTEP_INSTANT);
int varID1 = vlistDefVar(vlistID, gridID, zaxisID1, TIME_VARYING);
int varID2 = vlistDefVar(vlistID, gridID, zaxisID2, TIME_VARYING);
// Define the variable names
vlistDefVarName(vlistID, varID1, "varname1");
......
......@@ -37,8 +37,8 @@ int main(void)
vlistID = vlistCreate();
// Define the variables
varID1 = vlistDefVar(vlistID, gridID, zaxisID1, TSTEP_INSTANT);
varID2 = vlistDefVar(vlistID, gridID, zaxisID2, TSTEP_INSTANT);
varID1 = vlistDefVar(vlistID, gridID, zaxisID1, TIME_VARYING);
varID2 = vlistDefVar(vlistID, gridID, zaxisID2, TIME_VARYING);
// Define the variable names
vlistDefVarName(vlistID, varID1, "varname1");
......
......@@ -36,7 +36,7 @@ int main(void)
instID = institutDef( 252, 0, NULL, NULL );
vlistID = vlistCreate();
varID = vlistDefVar(vlistID, gridID, zaxisID, TSTEP_INSTANT);
varID = vlistDefVar(vlistID, gridID, zaxisID, TIME_VARYING);
vlistDefVarEnsemble( vlistID, varID, 1, 2, 3);
......
PROGRAM CDIWRITE
1 ,PROGRAM CDIWRITE
IMPLICIT NONE
......@@ -40,8 +40,8 @@
vlistID = vlistCreate()
! Define the variables
varID1 = vlistDefVar(vlistID, gridID, zaxisID1, TSTEP_INSTANT)
varID2 = vlistDefVar(vlistID, gridID, zaxisID2, TSTEP_INSTANT)
varID1 = vlistDefVar(vlistID, gridID, zaxisID1, TIME_VARYING)
varID2 = vlistDefVar(vlistID, gridID, zaxisID2, TIME_VARYING)
! Define the variable names
CALL vlistDefVarName(vlistID, varID1, "varname1")
......
......@@ -43,8 +43,8 @@
vlistID = vlistCreate()
! Define the variables
varID1 = vlistDefVar(vlistID, gridID, zaxisID1, TSTEP_INSTANT)
varID2 = vlistDefVar(vlistID, gridID, zaxisID2, TSTEP_INSTANT)
varID1 = vlistDefVar(vlistID, gridID, zaxisID1, TIME_VARYING)
varID2 = vlistDefVar(vlistID, gridID, zaxisID2, TIME_VARYING)
! Define the variable names
varname = "varname1" // c_null_char
......
......@@ -36,8 +36,8 @@ int main(void)
vlistID = vlistCreate();
// Define the variables
varID1 = vlistDefVar(vlistID, gridID, zaxisID1, TSTEP_INSTANT);
varID2 = vlistDefVar(vlistID, gridID, zaxisID2, TSTEP_INSTANT);
varID1 = vlistDefVar(vlistID, gridID, zaxisID1, TIME_VARYING);
varID2 = vlistDefVar(vlistID, gridID, zaxisID2, TIME_VARYING);
// Define the variable names
vlistDefVarName(vlistID, varID1, "varname1");
......
......@@ -37,7 +37,7 @@ int main(void)
// Define the variables
varID1 = vlistDefVar(vlistID, gridID, zaxisID1, TSTEP_AVG);
varID2 = vlistDefVar(vlistID, gridID, zaxisID2, TSTEP_INSTANT);
varID2 = vlistDefVar(vlistID, gridID, zaxisID2, TIME_VARYING);
// Define the variable names
vlistDefVarName(vlistID, varID1, "varname1");
......
......@@ -37,7 +37,7 @@ int main(void)
// Define the variables
varID1 = vlistDefVar(vlistID, gridID, zaxisID1, TSTEP_AVG);
varID2 = vlistDefVar(vlistID, gridID, zaxisID2, TSTEP_INSTANT);
varID2 = vlistDefVar(vlistID, gridID, zaxisID2, TIME_VARYING);
// Define the variable names
vlistDefVarName(vlistID, varID1, "varname1");
......
......@@ -54,10 +54,10 @@ int main(void)
vlistID = vlistCreate();
// Define the variables
varID1 = vlistDefVar(vlistID, gridID, zaxisID1, TSTEP_INSTANT);
varID2 = vlistDefVar(vlistID, gridID, zaxisID2, TSTEP_INSTANT);
varID3 = vlistDefVar(vlistID, gridID, zaxisID3, TSTEP_INSTANT);
varID4 = vlistDefVar(vlistID, gridID, zaxisID4, TSTEP_INSTANT);
varID1 = vlistDefVar(vlistID, gridID, zaxisID1, TIME_VARYING);
varID2 = vlistDefVar(vlistID, gridID, zaxisID2, TIME_VARYING);
varID3 = vlistDefVar(vlistID, gridID, zaxisID3, TIME_VARYING);
varID4 = vlistDefVar(vlistID, gridID, zaxisID4, TIME_VARYING);
// Define the variable names
vlistDefVarName(vlistID, varID1, "sp");
......
......@@ -39,8 +39,8 @@ int main(void)
vlistID = vlistCreate();
// Define the variables
varID1 = vlistDefVar(vlistID, gridID, zaxisID1, TSTEP_INSTANT);
varID2 = vlistDefVar(vlistID, gridID, zaxisID2, TSTEP_INSTANT);
varID1 = vlistDefVar(vlistID, gridID, zaxisID1, TIME_VARYING);
varID2 = vlistDefVar(vlistID, gridID, zaxisID2, TIME_VARYING);
// Define the variable names
vlistDefVarName(vlistID, varID1, "varname1");
......
......@@ -29,8 +29,8 @@ int main(void)
vlistID = vlistCreate();
// Define the variables
varID1 = vlistDefVar(vlistID, gridID, zaxisID1, TSTEP_INSTANT);
varID2 = vlistDefVar(vlistID, gridID, zaxisID2, TSTEP_INSTANT);
varID1 = vlistDefVar(vlistID, gridID, zaxisID1, TIME_VARYING);
varID2 = vlistDefVar(vlistID, gridID, zaxisID2, TIME_VARYING);
// Define the variable names
vlistDefVarName(vlistID, varID1, "varname1");
......
......@@ -34,8 +34,8 @@ int main(void)
vlistID = vlistCreate();
// Define the variables
varID1 = vlistDefVar(vlistID, gridID, zaxisID1, TSTEP_INSTANT);
varID2 = vlistDefVar(vlistID, gridID, zaxisID2, TSTEP_INSTANT);
varID1 = vlistDefVar(vlistID, gridID, zaxisID1, TIME_VARYING);
varID2 = vlistDefVar(vlistID, gridID, zaxisID2, TIME_VARYING);
// Define the variable names
vlistDefVarName(vlistID, varID1, "varname1");
......
......@@ -39,8 +39,8 @@ int main(void)
vlistID = vlistCreate();
// Define the variables
varID1 = vlistDefVar(vlistID, gridID, zaxisID1, TSTEP_INSTANT);
varID2 = vlistDefVar(vlistID, gridID, zaxisID2, TSTEP_INSTANT);
varID1 = vlistDefVar(vlistID, gridID, zaxisID1, TIME_VARYING);
varID2 = vlistDefVar(vlistID, gridID, zaxisID2, TIME_VARYING);
// Define the variable names
vlistDefVarName(vlistID, varID1, "varname1");
......
......@@ -33,8 +33,8 @@ int main(void)
int vlistID = vlistCreate();
// Define the variables
int varID1 = vlistDefVar(vlistID, gridID, zaxisID1, TSTEP_INSTANT);
int varID2 = vlistDefVar(vlistID, gridID, zaxisID2, TSTEP_INSTANT);
int varID1 = vlistDefVar(vlistID, gridID, zaxisID1, TIME_VARYING);
int varID2 = vlistDefVar(vlistID, gridID, zaxisID2, TIME_VARYING);
// Define the variable names
vlistDefVarName(vlistID, varID1, "varname1");
......
......@@ -37,8 +37,8 @@ int run(int irun)
vlistID = vlistCreate();
// Define the variables
varID1 = vlistDefVar(vlistID, gridID, zaxisID1, TSTEP_INSTANT);
varID2 = vlistDefVar(vlistID, gridID, zaxisID2, TSTEP_INSTANT);
varID1 = vlistDefVar(vlistID, gridID, zaxisID1, TIME_VARYING);
varID2 = vlistDefVar(vlistID, gridID, zaxisID2, TIME_VARYING);
// Define the variable names
vlistDefVarName(vlistID, varID1, "varname1");
......
......@@ -78,7 +78,7 @@ int main(int argc, const char **argv)
int zaxisID = zaxisCreate(ZAXIS_SURFACE, 1);
int vlistID = vlistCreate();
int varID = vlistDefVar(vlistID, gridID, zaxisID, TSTEP_INSTANT);
int varID = vlistDefVar(vlistID, gridID, zaxisID, TIME_VARYING);
vlistDefVarMissval(vlistID, varID, missValue);
{
static const char creatorText[] = "CDI test_cdf_write";
......
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