mirror of https://github.com/ecmwf/eccodes.git
Include stepUnits definition file
This commit is contained in:
parent
fb8cd565ac
commit
ccdd6f3d34
|
@ -0,0 +1,7 @@
|
||||||
|
# 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;
|
||||||
|
|
||||||
|
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;
|
|
@ -15,9 +15,7 @@ unsigned[1] numberOfRadarSitesUsed : dump;
|
||||||
|
|
||||||
codetable[1] indicatorOfUnitOfTimeRange ('4.4.table',masterDir,localDir) : dump;
|
codetable[1] indicatorOfUnitOfTimeRange ('4.4.table',masterDir,localDir) : dump;
|
||||||
alias indicatorOfUnitForForecastTime = indicatorOfUnitOfTimeRange;
|
alias indicatorOfUnitForForecastTime = indicatorOfUnitOfTimeRange;
|
||||||
alias defaultStepUnits = one; # 1 means Hour. See code table 4.4
|
include "grib2/stepUnits.def"
|
||||||
template_nofail default_step_units "grib2/localConcepts/[centre:s]/default_step_units.def";
|
|
||||||
codetable[1] stepUnits 'stepUnits.table' = defaultStepUnits : transient,dump,no_copy;
|
|
||||||
|
|
||||||
# Site latitude (in microdegrees)
|
# Site latitude (in microdegrees)
|
||||||
unsigned[4] siteLatitude : dump;
|
unsigned[4] siteLatitude : dump;
|
||||||
|
|
|
@ -12,9 +12,7 @@ alias minutesAfterReferenceTimeOfDataCutoff=minutesAfterDataCutoff;
|
||||||
codetable[1] indicatorOfUnitOfTimeRange ('4.4.table',masterDir,localDir) : dump;
|
codetable[1] indicatorOfUnitOfTimeRange ('4.4.table',masterDir,localDir) : dump;
|
||||||
alias indicatorOfUnitForForecastTime = indicatorOfUnitOfTimeRange;
|
alias indicatorOfUnitForForecastTime = indicatorOfUnitOfTimeRange;
|
||||||
|
|
||||||
meta stepUnits optimal_step_units(forecastTime,indicatorOfUnitOfTimeRange,lengthOfTimeRange,indicatorOfUnitForTimeRange) : transient,dump;
|
include "grib2/stepUnits.def";
|
||||||
transient startStepUnit = 255 : hidden; # 255 means MISSING. See code table 4.4
|
|
||||||
transient endStepUnit = 255 : hidden;
|
|
||||||
|
|
||||||
# Forecast time in units defined by previous octet (GRIB-29: supports negative forecast time)
|
# Forecast time in units defined by previous octet (GRIB-29: supports negative forecast time)
|
||||||
signed[4] forecastTime : dump;
|
signed[4] forecastTime : dump;
|
||||||
|
|
|
@ -14,9 +14,7 @@ alias minutesAfterReferenceTimeOfDataCutoff=minutesAfterDataCutoff;
|
||||||
codetable[1] indicatorOfUnitOfTimeRange ('4.4.table',masterDir,localDir) : dump;
|
codetable[1] indicatorOfUnitOfTimeRange ('4.4.table',masterDir,localDir) : dump;
|
||||||
alias indicatorOfUnitForForecastTime = indicatorOfUnitOfTimeRange;
|
alias indicatorOfUnitForForecastTime = indicatorOfUnitOfTimeRange;
|
||||||
|
|
||||||
alias defaultStepUnits = one; # 1 means Hour. See code table 4.4
|
include "grib2/stepUnits.def";
|
||||||
template_nofail default_step_units "grib2/localConcepts/[centre:s]/default_step_units.def";
|
|
||||||
codetable[1] stepUnits 'stepUnits.table' = defaultStepUnits : transient,dump,no_copy;
|
|
||||||
|
|
||||||
# Forecast time in units defined by previous octet
|
# Forecast time in units defined by previous octet
|
||||||
# See GRIB-530: We have to make a special case for the error in WMO spec
|
# See GRIB-530: We have to make a special case for the error in WMO spec
|
||||||
|
|
|
@ -3,9 +3,8 @@
|
||||||
remove is_localtime;
|
remove is_localtime;
|
||||||
transient is_localtime=1;
|
transient is_localtime=1;
|
||||||
|
|
||||||
alias defaultStepUnits = one; # 1 means Hour. See code table 4.4
|
#include "grib2/stepUnits.def";
|
||||||
template_nofail default_step_units "grib2/localConcepts/[centre:s]/default_step_units.def";
|
|
||||||
codetable[1] stepUnits 'stepUnits.table' = defaultStepUnits : transient,dump,no_copy;
|
|
||||||
alias time.stepUnits = stepUnits;
|
alias time.stepUnits = stepUnits;
|
||||||
|
|
||||||
# Method used to calculate the field value at the local time specified in section 1
|
# Method used to calculate the field value at the local time specified in section 1
|
||||||
|
|
Loading…
Reference in New Issue