aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/CreateIOFlexIOdatafile.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/CreateIOFlexIOdatafile.c b/doc/CreateIOFlexIOdatafile.c
index e7ae1e2..54872ab 100644
--- a/doc/CreateIOFlexIOdatafile.c
+++ b/doc/CreateIOFlexIOdatafile.c
@@ -127,8 +127,8 @@ int main (void)
CHECK_ERROR (IOwriteAttribute (datafile, "ntimelevels", INT32, 1,
&ntimelevels));
- /* the timelevel of the variable */
- timelevel = 1;
+ /* the timelevel of the variable - 0 for the current timelevel */
+ timelevel = 0;
CHECK_ERROR (IOwriteAttribute (datafile, "timelevel", INT32, 1, &timelevel));
/* the dimensions of the variable (must correspond with the grid size