mirror of https://github.com/ecmwf/eccodes.git
Improve error message re step
This commit is contained in:
parent
be19a51199
commit
a23f9e154d
|
@ -321,7 +321,7 @@ static int unpack_string(grib_accessor* a, char* val, size_t *len)
|
|||
grib_get_long_internal(a->parent->h,self->unit,&unit);
|
||||
grib_set_long_internal(a->parent->h,self->step_unit,unit);
|
||||
grib_context_log(a->parent->h->context,GRIB_LOG_ERROR,
|
||||
"unable to represent the step in %s",
|
||||
"unable to represent the step in %s\n Hint: try changing the step units",
|
||||
step_unit_string);
|
||||
}
|
||||
return err;
|
||||
|
|
Loading…
Reference in New Issue