ecmwf / earthkit-data

A format-agnostic Python interface for geospatial data
Apache License 2.0
47 stars 9 forks source link

Do not implicitly set generatingProcessIdentifier when writing GRIB numpy fieldlist #274

Closed sandorkertesz closed 5 months ago

sandorkertesz commented 5 months ago

What happened?

When a GRIB numpy fieldlist is written to disk

ds.save("my_file.grib")

the generatingProcessIdentifier ecCodes key is implicitly set to 255 for each message. This should be controlled by an option.

What are the steps to reproduce the bug?

See above

Version

4.0

Platform (OS and architecture)

all

Relevant log output

No response

Accompanying data

No response

Organisation

ECMWF