diff --git a/definitions/Makefile.am b/definitions/Makefile.am index caf2346db..cbf7d8ace 100644 --- a/definitions/Makefile.am +++ b/definitions/Makefile.am @@ -285,6 +285,7 @@ dist_definitionsgrib2_DATA = \ grib2/local.98.0.def\ grib2/local.98.1.def\ grib2/local.98.11.def\ + grib2/local.98.14.def\ grib2/local.98.15.def\ grib2/local.98.16.def\ grib2/local.98.18.def\ diff --git a/definitions/grib2/grib2LocalSectionNumber.98.table b/definitions/grib2/grib2LocalSectionNumber.98.table index 84690004f..7857b0c8f 100644 --- a/definitions/grib2/grib2LocalSectionNumber.98.table +++ b/definitions/grib2/grib2LocalSectionNumber.98.table @@ -3,6 +3,7 @@ 7 7 Sensitivity data 9 9 Singular vectors and ensemble perturbations 11 11 Supplementary data used by the analysis +14 14 Brightness temperature 15 15 Seasonal forecast data 16 16 Seasonal forecast monthly mean data 18 18 Multianalysis ensemble data diff --git a/definitions/grib2/local.98.14.def b/definitions/grib2/local.98.14.def new file mode 100644 index 000000000..ba2839068 --- /dev/null +++ b/definitions/grib2/local.98.14.def @@ -0,0 +1,13 @@ +# Copyright 2005-2013 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. +# + +# Definition 14, Brightness temperature + +unsigned[4] channelNumber : dump ; +alias mars.channel = channelNumber; diff --git a/src/grib_accessor_class_local_definition.c b/src/grib_accessor_class_local_definition.c index 5d737889e..7c60fba07 100644 --- a/src/grib_accessor_class_local_definition.c +++ b/src/grib_accessor_class_local_definition.c @@ -250,7 +250,7 @@ static int pack_long(grib_accessor* a, const long* val, size_t *len) break; case 15: /* Seasonal forecast data */ - case 16: + case 16: /* Seasonal forecast monthly mean data */ case 18: /* Multianalysis ensemble data */ case 26: /* MARS labelling or ensemble forecast data */ case 30: /* Forecasting Systems with Variable Resolution */ @@ -264,6 +264,7 @@ static int pack_long(grib_accessor* a, const long* val, size_t *len) case 7: /* Sensitivity data */ case 9: /* Singular vectors and ensemble perturbations */ case 11: /* Supplementary data used by the analysis */ + case 14: /* Brightness temperature */ case 20: /* 4D variational increments */ case 21: /* Sensitive area predictions */ case 23: /* Coupled atmospheric, wave and ocean means */