1
# Copyright 2005-2007 ECMWF
3
# Licensed under the GNU Lesser General Public License which
4
# incorporates the terms and conditions of version 3 of the GNU
5
# General Public License.
6
# See LICENSE and gpl-3.0.txt for details.
8
# START 1/local.7.1 ----------------------------------------------------------------------
11
# KWBC localDefinitionTemplate_001
12
# --------------------------------
14
# Description Octet Code Ksec1 Count
15
# ----------- ----- ---- ----- -----
17
#sectionLength 1 L3 n/a ignore
18
#applicationIdentifier 41 I1 37 -
20
#identificationNumber 43 I1 39 -
21
#productIdentifier 44 I1 40 -
22
#spatialSmoothingOfProduct 45 I1 41 -
24
#if_ge_46 - IF_GT 45 sectionLength
25
#probProductDefinition 46 I1 42 -
26
#probabilityType 47 I1 43 -
27
#lowerLimit 48 I4 44 -
28
#upperLimit 52 I4 45 -
30
#endif_ge_46 - ENDIF if_ge_46
32
#if_ge_61 - IF_GT 60 sectionLength
33
#ensembleSize 61 I1 46 -
34
#clusterSize 62 I1 47 -
35
#numberOfClusters 63 I1 48 -
36
#clusteringMethod 64 I1 49 -
37
#northLatitudeOfCluster 65 S3 50 -
38
#southLatitudeOfCluster 68 S3 51 -
39
#westLongitudeOfCluster 71 S3 52 -
40
#eastLongitudeOfCluster 74 S3 53 -
41
#clusterMember1 77 I1 54 -
42
#clusterMember2 78 I1 55 -
43
#clusterMember3 79 I1 56 -
44
#clusterMember4 80 I1 57 -
45
#clusterMember5 81 I1 58 -
46
#clusterMember6 82 I1 59 -
47
#clusterMember7 83 I1 60 -
48
#clusterMember8 84 I1 61 -
49
#clusterMember9 85 I1 62 -
50
#clusterMember10 86 I1 63 -
51
#endif_ge_61 - ENDIF if_ge_61
53
#applicationIdentifier 1= ensemble
55
unsigned[1] applicationIdentifier : dump ; # 1= ensemble
56
unsigned[1] type : dump ; # 1=unperturbed control forecast,2=individual negative perturbed fcst 3=individual positive perturbed fcst, 4=cluster, 5=whole cluster
57
unsigned[1] identificationNumber : dump ; # if(type=1) { 1=high resolution control fcst, 2=low resolution control fcst} else { ensemble number }
58
unsigned[1] productIdentifier : dump; # 1= full field, 2=weighted mean, 3= etc
59
unsigned[1] spatialSmoothingOfProduct : dump ;
61
constant sectionLengthLimitForProbability = 45 : dump;
62
if(section1Length > sectionLengthLimitForProbability)
64
unsigned[1] probProductDefinition : dump;
65
unsigned[1] probabilityType : dump;
66
unsigned[4] lowerLimit : dump;
67
unsigned[4] upperLimit : dump;
70
pad padding_local_7_1(5);
74
constant sectionLengthLimitForEnsembles = 60;
76
if(section1Length > sectionLengthLimitForEnsembles)
78
unsigned[1] ensembleSize : dump ;
79
unsigned[1] clusterSize : dump;
80
unsigned[1] numberOfClusters : dump ;
81
unsigned[1] clusteringMethod : dump ;
82
signed[3] northLatitudeOfCluster : dump ;
83
signed[3] southLatitudeOfCluster : dump ;
84
signed[3] westLongitudeOfCluster : dump ;
85
signed[3] eastLongitudeOfCluster : dump ;
86
unsigned[1] clusterMember1 : dump ;
87
unsigned[1] clusterMember2 : dump ;
88
unsigned[1] clusterMember3 : dump ;
89
unsigned[1] clusterMember4 : dump ;
90
unsigned[1] clusterMember5 : dump ;
91
unsigned[1] clusterMember6 : dump ;
92
unsigned[1] clusterMember7 : dump ;
93
unsigned[1] clusterMember8 : dump ;
94
unsigned[1] clusterMember9 : dump ;
95
unsigned[1] clusterMember10 : dump ;
98
# END 1/local.7.1 ----------------------------------------------------------------------