GRIB-873: Encoding of simulated satellite data in grib2

This commit is contained in:
Shahram Najm 2015-12-08 17:47:24 +00:00
parent 6627d15eb8
commit 9c3bb208e0
5 changed files with 24 additions and 1 deletions

View File

@ -7836,6 +7836,7 @@ dist_definitionsgrib2_DATA = \
grib2/local.98.15.def\
grib2/local.98.16.def\
grib2/local.98.18.def\
grib2/local.98.192.def\
grib2/local.98.20.def\
grib2/local.98.21.def\
grib2/local.98.24.def\

View File

@ -17,4 +17,5 @@
36 36 MARS labelling for long window 4DVar system
38 38 4D variational increments for long window 4DVar system
39 39 4DVar model errors for long window 4Dvar system
192 192 Multiple ECMWF local definitions
300 300 Multi-dimensional parameters

View File

@ -0,0 +1,20 @@
# Copyright 2005-2015 ECMWF.
#
# This software is licensed under the terms of the Apache Licence Version 2.0
# which can be obtained at http://www.apache.org/licenses/LICENSE-2.0.
#
# In applying this licence, ECMWF does not waive the privileges and immunities granted to it by
# virtue of its status as an intergovernmental organisation nor does it submit to any jurisdiction.
#
# GRIB2 Local Definition 192: Multiple ECMWF local definitions
unsigned[1] numberOfLocalDefinitions = 2 : dump;
if (numberOfLocalDefinitions == 2 ) {
unsigned[1] subLocalDefinitionNumber1 = 1 : dump;
template subDefinitions1 "grib2/local.98.[subLocalDefinitionNumber1].def";
unsigned[1] subLocalDefinitionNumber2 = 24 : dump;
template subDefinitions2 "grib2/local.98.[subLocalDefinitionNumber2].def";
}

View File

@ -281,6 +281,7 @@ static int pack_long(grib_accessor* a, const long* val, size_t *len)
case 28: /* COSMO local area EPS */
case 38: /* 4D variational increments for long window 4Dvar system */
case 39: /* 4DVar model errors for long window 4Dvar system */
case 192: /* Multiple ECMWF local definitions */
if (isInstant) {
productDefinitionTemplateNumberNew=0;
} else {