Skip to content

Commit

Permalink
generatingProcessIdentifier
Browse files Browse the repository at this point in the history
  • Loading branch information
b8raoult committed Oct 4, 2023
1 parent 2bee0cb commit b7108c1
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions climetlab/readers/grib/output.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,12 @@ def write(

handle.set_values(values)

# Set values will set generatingProcessIdentifier to 255
if "generatingProcessIdentifier" in metadata:
handle.set(
"generatingProcessIdentifier", metadata["generatingProcessIdentifier"]
)

file, path = self.f(handle)
handle.write(file)

Expand Down

0 comments on commit b7108c1

Please sign in to comment.