Skip to content

Commit 23ddfc3

Browse files
committed
Merge branch 'hotfix/2.1.11'
2 parents a3b9f8b + d49766f commit 23ddfc3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

VERSION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.2.0
1+
2.2.1

src/multio/action/encode/GribEncoder.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -715,7 +715,7 @@ void setDateAndStatisticalFields(GribEncoder& g, const message::Metadata& in,
715715
/ 3600);
716716
}
717717

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

0 commit comments

Comments
 (0)