Skip to content

Commit

Permalink
Ignore operation instant for statistical processing
Browse files Browse the repository at this point in the history
  • Loading branch information
dsarmany committed Nov 27, 2024
1 parent fe120ed commit 55ad47b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/multio/action/encode/GribEncoder.cc
Original file line number Diff line number Diff line change
Expand Up @@ -710,7 +710,7 @@ void setDateAndStatisticalFields(GribEncoder& g, const eckit::LocalConfiguration
/ 3600);
}

if (operation) {
if (operation && (*operation != "instant")) {
static const std::map<const std::string, const std::int64_t> TYPE_OF_STATISTICAL_PROCESSING{
{"average", 0}, {"accumulate", 1}, {"maximum", 2}, {"minimum", 3}, {"stddev", 6}};
if (auto searchStat = TYPE_OF_STATISTICAL_PROCESSING.find(*operation);
Expand Down

0 comments on commit 55ad47b

Please sign in to comment.