# (C) Copyright 2005- ECMWF.

# TEMPLATE 3.1100, Hovmoller diagram grid with points equally spaced on the horizontal

# This template is simply experimental, was not validated at the time of publication
# and should be used only for bilateral previously agreed tests
transient template_is_experimental = 1 : hidden;

include "grib2/template.3.shape_of_the_earth.def"

constant isGridded = true;

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

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

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

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

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

alias Lo1  =longitudeOfFirstGridPoint;

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

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

alias La2  = latitudeOfLastGridPoint;
# Lo2 - longitude of last grid point
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 ;

unsigned[2] year  : dump;
unsigned[1] month  : dump;
unsigned[1] day  : dump;
unsigned[1] hour  : dump;
unsigned[1] minute  : dump;
unsigned[1] second  : dump;
