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# START 1/local.98.18 ---------------------------------------------------------------------- 11# LOCAL 98 18 12# 13# localDefinitionTemplate_018 14# --------------------------- 15# 16# Description Octet Code Ksec1 Count 17# ----------- ----- ---- ----- ----- 18#localDefinitionNumber 41 I1 37 - 19#class 42 I1 38 - 20#type 43 I1 39 - 21#stream 44 I2 40 - 22#experimentVersionNumber 46 A4 41 - 23#number 50 I1 42 - 24#total 51 I1 43 - 25#dataOrigin 52 I1 44 - 26#modelIdentifier 53 A4 45 - 27#consensusCount 57 I1 46 - 28#spareSetToZero 58 PAD n/a 3 29#wmoCentreIdentifiers 61 LIST 47 consensusCount 30#ccccIdentifiers - A4 - - 31#ENDLIST - ENDLIST - wmoCentreIdentifiers 32#unusedEntriesSetToBlanks - SP_TO - 120 33# 34 35constant GRIBEXSection1Problem = 120 - section1Length ; 36 37#1->2 38alias grib2LocalSectionPresent=present; 39constant grib2LocalSectionNumber=18; 40 41if (stepType is "instant" ) { 42 alias productDefinitionTemplateNumber=epsPoint; 43} else { 44 alias productDefinitionTemplateNumber=epsContinous; 45} 46template mars_labeling "grib1/mars_labeling.def"; 47 48unsigned[1] perturbationNumber : dump ; 49alias number=perturbationNumber; 50 51unsigned[1] numberOfForecastsInEnsemble : dump ; 52alias totalNumber=numberOfForecastsInEnsemble; 53 54codetable[1] dataOrigin "grib1/0.table" : dump; 55alias origin = dataOrigin; 56 57ascii[4] modelIdentifier : dump ; 58 59unsigned[1] consensusCount : dump ; 60 61# spareSetToZero 62pad padding_loc18_1(3); 63 64#ascii[60] ccccIdentifiers : dump ; 65 66consensus list(consensusCount) 67{ 68 ascii[4] ccccIdentifiers : dump; 69} 70 71padto padding_loc18_2(offsetSection1 + 120); 72 73alias local.dataOrigin=dataOrigin; 74alias local.modelIdentifier=modelIdentifier; 75alias local.consensusCount=consensusCount; 76 77# END 1/local.98.18 ---------------------------------------------------------------------- 78