Commit c838d7d0 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

cgribexlib update.

parent ec952899
......@@ -16,6 +16,7 @@
#define GRIB1_LTYPE_ATMOSPHERE 10
#define GRIB1_LTYPE_99 99
#define GRIB1_LTYPE_ISOBARIC 100
#define GRIB1_LTYPE_ISOBARIC_PA 210
#define GRIB1_LTYPE_MEANSEA 102
#define GRIB1_LTYPE_ALTITUDE 103
#define GRIB1_LTYPE_HEIGHT 105
......@@ -32,7 +33,6 @@
#define GRIB1_LTYPE_SEDIMENT_BOTTOM_TA 164 /* Bottom Of Thermally Active Sediment Layer */
#define GRIB1_LTYPE_SEDIMENT_BOTTOM_TW 165 /* Bottom Of Sediment Layer Penetrated By Thermal Wave */
#define GRIB1_LTYPE_MIX_LAYER 166 /* Mixing Layer */
#define GRIB1_LTYPE_99_MARGIN 1000
/* GRIB1 Data representation type (Grid Type) [Table 6] */
#define GRIB1_GTYPE_LATLON 0 /* latitude/longitude */
......
/* Automatically generated by m214003 at 2016-11-05, do not edit */
/* Automatically generated by m214003 at 2016-12-20, do not edit */
/* CGRIBEXLIB_VERSION="1.7.6" */
......@@ -8623,19 +8623,20 @@ int decodePDS(unsigned char *pds, int *isec0, int *isec1)
ISEC1_LevelType = PDS_LevelType;
if ( (ISEC1_LevelType != 20) &&
(ISEC1_LevelType != GRIB1_LTYPE_99) &&
(ISEC1_LevelType != GRIB1_LTYPE_ISOBARIC) &&
(ISEC1_LevelType != GRIB1_LTYPE_ALTITUDE) &&
(ISEC1_LevelType != GRIB1_LTYPE_HEIGHT) &&
(ISEC1_LevelType != GRIB1_LTYPE_SIGMA) &&
(ISEC1_LevelType != GRIB1_LTYPE_HYBRID) &&
(ISEC1_LevelType != GRIB1_LTYPE_LANDDEPTH) &&
(ISEC1_LevelType != GRIB1_LTYPE_ISENTROPIC) &&
(ISEC1_LevelType != GRIB1_LTYPE_99) &&
(ISEC1_LevelType != GRIB1_LTYPE_ISOBARIC) &&
(ISEC1_LevelType != GRIB1_LTYPE_ISOBARIC_PA) &&
(ISEC1_LevelType != GRIB1_LTYPE_ALTITUDE) &&
(ISEC1_LevelType != GRIB1_LTYPE_HEIGHT) &&
(ISEC1_LevelType != GRIB1_LTYPE_SIGMA) &&
(ISEC1_LevelType != GRIB1_LTYPE_HYBRID) &&
(ISEC1_LevelType != GRIB1_LTYPE_LANDDEPTH) &&
(ISEC1_LevelType != GRIB1_LTYPE_ISENTROPIC) &&
(ISEC1_LevelType != 115) &&
(ISEC1_LevelType != 117) &&
(ISEC1_LevelType != 125) &&
(ISEC1_LevelType != 127) &&
(ISEC1_LevelType != GRIB1_LTYPE_SEADEPTH) &&
(ISEC1_LevelType != GRIB1_LTYPE_SEADEPTH) &&
(ISEC1_LevelType != 210) )
{
ISEC1_Level1 = PDS_Level1;
......@@ -11304,14 +11305,15 @@ void encodePDS(GRIBPACK *lpds, long pdsLen, int *isec1)
Put1Byte(ISEC1_Parameter); /* 8 Parameter Code */
Put1Byte(ISEC1_LevelType); /* 9 Type of level */
if ( (ISEC1_LevelType != 20) &&
(ISEC1_LevelType != GRIB1_LTYPE_99) &&
(ISEC1_LevelType != GRIB1_LTYPE_ISOBARIC) &&
(ISEC1_LevelType != GRIB1_LTYPE_ALTITUDE) &&
(ISEC1_LevelType != GRIB1_LTYPE_HEIGHT) &&
(ISEC1_LevelType != GRIB1_LTYPE_SIGMA) &&
(ISEC1_LevelType != GRIB1_LTYPE_HYBRID) &&
(ISEC1_LevelType != GRIB1_LTYPE_LANDDEPTH) &&
(ISEC1_LevelType != GRIB1_LTYPE_ISENTROPIC) &&
(ISEC1_LevelType != GRIB1_LTYPE_99) &&
(ISEC1_LevelType != GRIB1_LTYPE_ISOBARIC) &&
(ISEC1_LevelType != GRIB1_LTYPE_ISOBARIC_PA) &&
(ISEC1_LevelType != GRIB1_LTYPE_ALTITUDE) &&
(ISEC1_LevelType != GRIB1_LTYPE_HEIGHT) &&
(ISEC1_LevelType != GRIB1_LTYPE_SIGMA) &&
(ISEC1_LevelType != GRIB1_LTYPE_HYBRID) &&
(ISEC1_LevelType != GRIB1_LTYPE_LANDDEPTH) &&
(ISEC1_LevelType != GRIB1_LTYPE_ISENTROPIC) &&
(ISEC1_LevelType != 115) &&
(ISEC1_LevelType != 117) &&
(ISEC1_LevelType != 125) &&
......@@ -13709,7 +13711,7 @@ void encode_dummy(void)
(void) encode_array_unrolled_double(0, 0, 0, NULL, NULL, 0, 0, NULL);
(void) encode_array_unrolled_float(0, 0, 0, NULL, NULL, 0, 0, NULL);
}
static const char grb_libvers[] = "1.7.6" " of ""Nov 5 2016"" ""11:59:02";
static const char grb_libvers[] = "1.7.6" " of ""Dec 20 2016"" ""19:55:24";
const char *
cgribexLibraryVersion(void)
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment