mirror of https://github.com/ecmwf/eccodes.git
ECC-1220: Encoding with packingType=grid_ieee via codes_grib_util_set_spec
This commit is contained in:
parent
b1f044b822
commit
85652e5e05
|
@ -1433,7 +1433,7 @@ grib_handle* grib_util_set_spec2(grib_handle* h,
|
|||
setCcsdsPacking = 1;
|
||||
break;
|
||||
case GRIB_UTIL_PACKING_TYPE_IEEE:
|
||||
if (strcmp(input_packing_type, "grid_ieee") && !strcmp(input_packing_type, "grid_simple"))
|
||||
if ( !STR_EQUAL(input_packing_type, "grid_ieee") )
|
||||
SET_STRING_VALUE("packingType", "grid_ieee");
|
||||
break;
|
||||
case GRIB_UTIL_PACKING_TYPE_GRID_SECOND_ORDER:
|
||||
|
|
Loading…
Reference in New Issue