Skip to content

Commit 8bdc834

Browse files
pgeierdsarmany
authored andcommitted
Set date/time in StageRuntime instead of Preset
1 parent 66914e0 commit 8bdc834

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/metkit/mars2grib/backend/concepts/reference-time/referenceTimeEncoding.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,9 +110,9 @@ constexpr bool referenceTimeApplicable() {
110110

111111
// Compile time conditions to apply this concept
112112
bool condition1 = (Variant == ReferenceTimeType::Standard || Variant == ReferenceTimeType::Reforecast) &&
113-
(Stage == StagePreset) && (Section == SecIdentificationSection);
113+
(Stage == StageRuntime) && (Section == SecIdentificationSection);
114114

115-
bool condition2 = (Variant == ReferenceTimeType::Reforecast) && (Stage == StagePreset) &&
115+
bool condition2 = (Variant == ReferenceTimeType::Reforecast) && (Stage == StageRuntime) &&
116116
(Section == SecProductDefinitionSection);
117117

118118
// Confitions to apply concept

0 commit comments

Comments
 (0)