eccodes/definitions/grib1/local.214.1.def

42 lines
1.1 KiB
Modula-2
Raw Normal View History

2020-01-28 14:32:34 +00:00
# (C) Copyright 2005- ECMWF.
2013-03-25 12:04:10 +00:00
2023-12-18 14:16:47 +00:00
# Description Octet Code Ksec1 Count
# ----------- ----- ---- ----- -----
#localDefinitionNumber 41 I1 37 -
#class 42 I1 38 -
#type 43 I1 39 -
#stream 44 I2 40 -
#experimentVersionNumber 46 A4 41 -
#number 50 I1 42 -
#total 51 I1 43 -
#spareSetToZero 52 PAD n/a 1
2013-03-25 12:04:10 +00:00
#
template mars_labeling "grib1/mars_labeling.def";
unsigned[1] perturbationNumber : dump;
2021-03-05 12:25:16 +00:00
if(perturbationNumber != 0) {
2013-03-25 12:04:10 +00:00
alias number = perturbationNumber;
}
unsigned[1] numberOfForecastsInEnsemble : dump;
pad padding_local1_1(1);
2021-03-05 12:25:16 +00:00
# 1->2
2013-03-25 12:04:10 +00:00
alias grib2LocalSectionPresent=present;
constant grib2LocalSectionNumber=1;
if (stepType is "instant" ) {
if (numberOfForecastsInEnsemble!=0) {
alias productDefinitionTemplateNumber=epsPoint;
2021-03-05 12:25:16 +00:00
}
2013-03-25 12:04:10 +00:00
} else {
if (numberOfForecastsInEnsemble!=0) {
2024-09-03 15:51:06 +00:00
alias productDefinitionTemplateNumber=epsContinuous;
2021-03-05 12:25:16 +00:00
}
2013-03-25 12:04:10 +00:00
}
# monthly mean
#if (timeRangeIndicator==113) {
#}