# 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.1100, Hovmoller diagram grid with points equally spaced on the horizontal
include "grib2/template.3.shape_of_the_earth.def";

#  Number of horizontal points
unsigned[5] numberOfHorizontalPoints : dump ;

#  Basic angle of the initial production domain
# NOTE 1 NOT FOUND
unsigned[4] basicAngleOfTheInitialProductionDomain = 0 : dump ;

#  Subdivisions of basic angle used to define extreme longitudes and latitudes
# NOTE 1 NOT FOUND
unsigned[4] subdivisionsOfBasicAngle = missing() : can_be_missing,dump;

#  La1 - latitude of first grid point
# NOTE 1 NOT FOUND
signed[4] latitudeOfFirstGridPoint : edition_specific,dump;

alias La1  =latitudeOfFirstGridPoint;
#  Lo1 - longitude of first grid point
# NOTE 1 NOT FOUND
unsigned[4] longitudeOfFirstGridPoint : edition_specific,dump;

alias Lo1  =longitudeOfFirstGridPoint;

include "grib2/template.3.scanning_mode.def";

#  La2 - latitude of last grid point
# NOTE 1 NOT FOUND
signed[4] latitudeOfLastGridPoint : edition_specific,dump;

alias La2  = latitudeOfLastGridPoint;
#  Lo2 - longitude of last grid point
# NOTE 1 NOT FOUND
unsigned[4] longitudeOfLastGridPoint : edition_specific,dump ;

alias Lo2  = longitudeOfLastGridPoint;
#  Type of horizontal line
codetable[1] typeOfHorizontalLine ('3.20.table',masterDir,localDir) : dump;

#  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 ;

#  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;

