From 78c1d488a6c7285e0e70b33ecb8ef2c7912a7eab Mon Sep 17 00:00:00 2001 From: Christopher Haine Date: Wed, 8 Jan 2025 13:41:29 +0100 Subject: [PATCH] restored 2.2.3 keys --- src/multio/maestro/MaestroSink.cc | 20 +++++++------------- 1 file changed, 7 insertions(+), 13 deletions(-) diff --git a/src/multio/maestro/MaestroSink.cc b/src/multio/maestro/MaestroSink.cc index 682c13a9a..ddf21176d 100644 --- a/src/multio/maestro/MaestroSink.cc +++ b/src/multio/maestro/MaestroSink.cc @@ -44,19 +44,13 @@ static void setInt64Value(multio::MaestroCdo& cdo, const std::string& key, const using MaestroKeySetter = std::add_pointer::type; static const std::map cdoValueSetters{ - {"class", &setStringValue}, {"expver", &setStringValue}, {"stream", &setStringValue}, - {"date", &setStringValue}, {"time", &setStringValue}, {"domain", &setStringValue}, - {"type", &setStringValue}, {"levtype", &setStringValue}, {"step", &setInt64Value}, - {"anoffset", &setInt64Value}, {"levelist", &setInt64Value}, {"param", &setInt64Value}, - // # Additional attributes (D340.2.2.3). These keys will be put back once version 2.2.3 is released. - //{"experiment", &setStringValue}, - //{"activity", &setStringValue}, - //{"generation", &setInt64Value}, - //{"realization", &setInt64Value}, - //{"model", &setStringValue}, - //{"resolution", &setStringValue}, - //{"frequency", &setStringValue}, - //{"direction", &setStringValue}, + {"class", &setStringValue}, {"expver", &setStringValue}, {"stream", &setStringValue}, + {"date", &setStringValue}, {"time", &setStringValue}, {"domain", &setStringValue}, + {"type", &setStringValue}, {"levtype", &setStringValue}, {"step", &setInt64Value}, + {"anoffset", &setInt64Value}, {"levelist", &setInt64Value}, {"param", &setInt64Value}, + {"experiment", &setStringValue}, {"activity", &setStringValue}, {"generation", &setInt64Value}, + {"realization", &setInt64Value}, {"model", &setStringValue}, {"resolution", &setStringValue}, + {"frequency", &setStringValue}, {"direction", &setStringValue}, }; } // namespace