Skip to content

Commit

Permalink
Pass time as hhmmss format to multio
Browse files Browse the repository at this point in the history
  • Loading branch information
dsarmany committed Jun 7, 2024
1 parent a492681 commit ea39fd5
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/multio/tools/multio-feed.cc
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,12 @@ void MultioFeed::execute(const eckit::option::CmdArgs& args) {
metadata.set("step-frequency", 1);
}

// Multio pipelines require hhmmss format
if (metadata.has("time")) {
auto time = 100 * metadata.getLong("time");
metadata.set("time", time);
}

eckit::Buffer data = msg.decode();

metadata.set("globalSize", data.size() / sizeof(double));
Expand Down

0 comments on commit ea39fd5

Please sign in to comment.