mirror of https://github.com/ecmwf/eccodes.git
ECC-941: REVERT
This commit is contained in:
parent
6e5403ba08
commit
e882e41d82
|
@ -387,6 +387,8 @@ static int _unpack_double(grib_accessor* a, double* val, size_t *len,unsigned c
|
|||
buf += grib_byte_offset(a);
|
||||
|
||||
/*Assert(((bits_per_value*n_vals)/8) < (1<<29));*/ /* See GRIB-787 */
|
||||
#if 0
|
||||
/* See ECC-941: This is not the right place to do this. Fails ctest eccodes_t_grib_2nd_order_numValues */
|
||||
{
|
||||
long dataSectionLength = 0;
|
||||
err = grib_get_long(gh,self->seclen, &dataSectionLength);
|
||||
|
@ -400,6 +402,7 @@ static int _unpack_double(grib_accessor* a, double* val, size_t *len,unsigned c
|
|||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
grib_context_log(a->context, GRIB_LOG_DEBUG,
|
||||
"unpack_double: calling outline function : bpv %d, rv : %g, sf : %d, dsf : %d ",
|
||||
bits_per_value,reference_value,binary_scale_factor, decimal_scale_factor);
|
||||
|
|
Loading…
Reference in New Issue