ECC-399: Detecting NaN values when encoding grib

This commit is contained in:
Shahram Najm 2016-12-19 13:37:31 +00:00
parent 35d12dd2e5
commit 359f9e6442
1 changed files with 2 additions and 2 deletions

View File

@ -278,12 +278,12 @@ static int pack_double(grib_accessor* a, const double* cval, size_t *len)
return GRIB_SUCCESS;
break;
case GRIB_INVALID_BPV:
grib_context_log(a->context,GRIB_LOG_ERROR,"unable to compute packing parameters\n");
grib_context_log(a->context,GRIB_LOG_ERROR,"unable to compute packing parameters. Invalid bits per value\n");
return ret;
case GRIB_SUCCESS:
break;
default:
grib_context_log(a->context,GRIB_LOG_FATAL,"unable to compute packing parameters\n");
grib_context_log(a->context,GRIB_LOG_ERROR,"unable to compute packing parameters\n");
return ret;
}