# Copyright 2005-2018 ECMWF.
#
# This software is licensed under the terms of the Apache Licence Version 2.0
# which can be obtained at http://www.apache.org/licenses/LICENSE-2.0.
# 
# In applying this licence, ECMWF does not waive the privileges and immunities granted to it by
# virtue of its status as an intergovernmental organisation nor does it submit to any jurisdiction.
#

# TEMPLATE 3.1200, Time section grid
#  NT - Number of time steps
unsigned[4] numberOfTimeSteps  : dump;

alias NT =  numberOfTimeSteps;
#  Unit of offset from reference time
codetable[1] unitOfOffsetFromReferenceTime ('4.4.table',masterDir,localDir) : dump;

#  Offset from reference of first time
# (negative value when first bit set)
unsigned[4] offsetFromReferenceOfFirstTime  : dump;

#  Type of time increment
codetable[1] typeOfTimeIncrement ('4.11.table',masterDir,localDir) : dump;

#  Unit of time increment
codetable[1] unitOfTimeIncrement ('4.4.table',masterDir,localDir) : dump;

#  Time increment
# (negative value when first bit set)
unsigned[4] timeIncrement : dump;

#  Year
unsigned[2] year  : dump;

#  Month
unsigned[1] month  : dump;

#  Day
unsigned[1] day  : dump;

#  Hour
unsigned[1] hour  : dump;

#  Minute
unsigned[1] minute  : dump;

#  Second
unsigned[1] second  : dump;

#  Number of vertical points
unsigned[2] numberOfVerticalPoints  : dump;

#  Physical meaning of vertical coordinate
codetable[1] physicalMeaningOfVerticalCoordinate ('3.15.table',masterDir,localDir) : dump;

#  Vertical dimension coordinate values definition
codetable[1] verticalCoordinate ('3.21.table',masterDir,localDir) : dump;

#  NC - Number of coefficients or values used to specify vertical coordinates
unsigned[2] NC  : dump;

# Octets 43-(42+NC*4) : Coefficients to define vertical dimension coordinate values in functional form, or the explicit coordinate values
# (IEEE 32-bit floating-point values)
# ????          coefficients_to_define_vertical_dimension;

