mirror of https://github.com/ecmwf/eccodes.git
Do not fail if local def number does not exist
This commit is contained in:
parent
d162728a7b
commit
a874ad0cc4
|
@ -207,7 +207,7 @@ int grib_accessor_class_local_definition_t::pack_long(grib_accessor* a, const lo
|
|||
// In test & development mode, fail so we remember to adjust PDTN
|
||||
grib_context_log(a->context, GRIB_LOG_ERROR,
|
||||
"grib_accessor_local_definition_t: Invalid localDefinitionNumber %d", localDefinitionNumber);
|
||||
return GRIB_ENCODING_ERROR;
|
||||
// return GRIB_ENCODING_ERROR;
|
||||
#endif
|
||||
// ECC-1253: Do not fail in operations. Leave PDTN as is
|
||||
productDefinitionTemplateNumberNew = productDefinitionTemplateNumber;
|
||||
|
|
Loading…
Reference in New Issue