ECC-941: REVERT

This commit is contained in:
Shahram Najm 2019-06-19 18:34:10 +01:00
parent 6e5403ba08
commit e882e41d82
1 changed files with 3 additions and 0 deletions

View File

@ -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);