From eea0ffe9748e2144791b3f98a386316b030ec613 Mon Sep 17 00:00:00 2001 From: Shahram Najm Date: Wed, 17 Jan 2024 11:52:44 +0000 Subject: [PATCH] Sub hourly: Re-add the lowercase 'stepunits' key (For MARS compatibility) --- definitions/grib2/stepUnits.def | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/definitions/grib2/stepUnits.def b/definitions/grib2/stepUnits.def index 68efa462a..cffc236be 100644 --- a/definitions/grib2/stepUnits.def +++ b/definitions/grib2/stepUnits.def @@ -1,3 +1,5 @@ +# (C) Copyright 2005- ECMWF. + # alias defaultStepUnits = one; # 1 means Hour. See code table 4.4 # template_nofail default_step_units "grib2/localConcepts/[centre:s]/default_step_units.def"; # codetable[1] stepUnits 'stepUnits.table' = defaultStepUnits : transient,dump,no_copy; @@ -5,3 +7,5 @@ meta stepUnits optimal_step_units(forecastTime,indicatorOfUnitOfTimeRange,lengthOfTimeRange,indicatorOfUnitForTimeRange) : transient,dump; transient startStepUnit = 255 : hidden; # 255 means MISSING. See code table 4.4 transient endStepUnit = 255 : hidden; +# The lowercase version is to unify it with the helper key in the MARS language +alias stepunits = stepUnits;