Skip to content

Commit

Permalink
ECC-1709: GRIB2: Rename indicatorOfUnitOfTimeRange to indicatorOfUnit…
Browse files Browse the repository at this point in the history
…ForForecastTime
  • Loading branch information
shahramn committed Oct 30, 2023
1 parent a2628b6 commit 51f6dcf
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
8 changes: 3 additions & 5 deletions definitions/grib2/template.4.20.def
Original file line number Diff line number Diff line change
@@ -1,30 +1,28 @@
# (C) Copyright 2005- ECMWF.

# TEMPLATE 4.20, Radar product
# Parameter category
codetable[1] parameterCategory ('4.1.[discipline:l].table',masterDir,localDir) : dump;

# Parameter number
codetable[1] parameterNumber ('4.2.[discipline:l].[parameterCategory:l].table',masterDir,localDir) : dump;
meta parameterUnits codetable_units(parameterNumber) : dump;
meta parameterName codetable_title(parameterNumber) : dump;

# Type of generating process
codetable[1] typeOfGeneratingProcess ('4.3.table',masterDir,localDir) : dump;

# Number of radar sites used
unsigned[1] numberOfRadarSitesUsed : dump;

# Indicator of unit of time range
codetable[1] indicatorOfUnitOfTimeRange ('4.4.table',masterDir,localDir) : dump;
alias indicatorOfUnitForForecastTime = indicatorOfUnitOfTimeRange;
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;

# Site latitude (in 10-6 degree)
# Site latitude (in microdegrees)
unsigned[4] siteLatitude : dump;

# Site longitude (in 10-6 degree)
# Site longitude (in microdegrees)
unsigned[4] siteLongitude : dump;

# Site elevation (meters)
Expand Down
4 changes: 3 additions & 1 deletion definitions/grib2/template.4.forecast_time.def
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,10 @@ alias hoursAfterReferenceTimeOfDataCutoff=hoursAfterDataCutoff;
unsigned[1] minutesAfterDataCutoff = missing() : edition_specific,can_be_missing;
alias minutesAfterReferenceTimeOfDataCutoff=minutesAfterDataCutoff;

# Indicator of unit of time range
# Indicator of unit for forecastTime (ECC-1709)
codetable[1] indicatorOfUnitOfTimeRange ('4.4.table',masterDir,localDir) : dump;
alias indicatorOfUnitForForecastTime = indicatorOfUnitOfTimeRange;

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;
Expand Down
4 changes: 3 additions & 1 deletion definitions/grib2/template.4.forecast_time_44.def
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,10 @@ alias hoursAfterReferenceTimeOfDataCutoff=hoursAfterDataCutoff;
unsigned[1] minutesAfterDataCutoff = missing() : edition_specific,can_be_missing;
alias minutesAfterReferenceTimeOfDataCutoff=minutesAfterDataCutoff;

# Indicator of unit of time range
# Indicator of unit for forecastTime (ECC-1709)
codetable[1] indicatorOfUnitOfTimeRange ('4.4.table',masterDir,localDir) : dump;
alias indicatorOfUnitForForecastTime = indicatorOfUnitOfTimeRange;

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;
Expand Down

0 comments on commit 51f6dcf

Please sign in to comment.