1# Copyright 2005-2018 ECMWF. 2# 3# This software is licensed under the terms of the Apache Licence Version 2.0 4# which can be obtained at http://www.apache.org/licenses/LICENSE-2.0. 5# 6# In applying this licence, ECMWF does not waive the privileges and immunities granted to it by 7# virtue of its status as an intergovernmental organisation nor does it submit to any jurisdiction. 8# 9 10 11# START 1/local.98.25 ---------------------------------------------------------------------- 12# LOCAL 98 25 13# 14# localDefinitionTemplate_025 15# --------------------------- 16# 17# Description Octet Code Ksec1 Count 18# ----------- ----- ---- ----- ----- 19#localDefinitionNumber 41 I1 37 - 20#class 42 I1 38 - 21#type 43 I1 39 - 22#stream 44 I2 40 - 23#experimentVersionNumber 46 A4 41 - 24#componentIndex 50 I1 42 - 25#numberOfComponents 51 I1 43 - 26#modelErrorType 52 I1 44 - 27# 28 29template mars_labeling "grib1/mars_labeling.def"; 30 31#1->2 32alias grib2LocalSectionPresent=present; 33constant grib2LocalSectionNumber=25; 34if (stepType is "instant") { 35 alias productDefinitionTemplateNumber=zero; 36} else { 37 alias productDefinitionTemplateNumber=eight; 38} 39 40 41constant GRIBEXSection1Problem = 52 - section1Length ; 42 43unsigned[1] componentIndex : dump; 44alias mars.number=componentIndex; 45unsigned[1] numberOfComponents : dump; 46unsigned[1] modelErrorType : dump; 47 48alias local.componentIndex=componentIndex; 49alias local.numberOfComponents=numberOfComponents; 50alias local.modelErrorType=modelErrorType; 51 52# END 1/local.98.25 ---------------------------------------------------------------------- 53