# Copyright 2005-2007 ECMWF
#
# Licensed under the GNU Lesser General Public License which
# incorporates the terms and conditions of version 3 of the GNU
# General Public License.
# See LICENSE and gpl-3.0.txt for details.

constant one = 1 : hidden ;
constant million = 1000000 : hidden;
constant grib2divider   = 1000000;
alias extraDimensionPresent=zero;

meta gts_header gts_header() : no_copy,hidden,read_only;
meta gts_TTAAii gts_header(20,6) : no_copy,hidden,read_only;
meta gts_CCCC gts_header(27,4) : no_copy,hidden,read_only;
meta gts_ddhh00 gts_header(32,6) : no_copy,hidden,read_only;


transient  missingValue   = 9999;
constant ieeeFloats   = 1 : edition_specific;

include "section.0.def";

template core "grib2/sections.def";


#if(!new())
#{
  #lookup[4] endOfProduct(0);
  #while(endOfProduct != `7777`)
  #{
    #template core "grib2/sections.def";
    #lookup[4] endOfProduct(0);
  #}
#}

template     section_8 "grib2/section.8.def";

