Skip to content

Commit

Permalink
MUL-131: Set additional keys for ensemble ocean output
Browse files Browse the repository at this point in the history
  • Loading branch information
dsarmany committed Jul 17, 2024
1 parent 737adfe commit 37b60dd
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/multio/action/encode/GribEncoder.cc
Original file line number Diff line number Diff line change
Expand Up @@ -450,6 +450,14 @@ QueriedMarsKeys setMarsKeys(GribEncoder& g, const eckit::Configuration& md) {
withFirstOf(valueSetter(g, "lengthOf4DvarWindow"), LookUpLong(md, "lengthOf4DvarWindow"),
LookUpLong(md, "anlength"));

// Metadata for ensemble forecast
withFirstOf(valueSetter(g, "oceanAtmosphereCoupling"), LookUpLong(md, "oceanAtmosphereCoupling"));
withFirstOf(valueSetter(g, "legBaseDate"), LookUpLong(md, "legBaseDate"));
withFirstOf(valueSetter(g, "legBaseTime"), LookUpLong(md, "legBaseTime"));
withFirstOf(valueSetter(g, "legNumber"), LookUpLong(md, "legNumber"));
withFirstOf(valueSetter(g, "referenceDate"), LookUpLong(md, "referenceDate"));
withFirstOf(valueSetter(g, "climateDateFrom"), LookUpLong(md, "climateDateFrom"));
withFirstOf(valueSetter(g, "climateDateTo"), LookUpLong(md, "climateDateTo"));

withFirstOf(valueSetter(g, "componentIndex"), LookUpLong(md, "componentIndex"));
withFirstOf(valueSetter(g, "numberOfComponents"), LookUpLong(md, "numberOfComponents"));
Expand Down

0 comments on commit 37b60dd

Please sign in to comment.