From b51ec51192d0306fc573c7bf344cfe3e16528f31 Mon Sep 17 00:00:00 2001 From: Shahram Najm Date: Tue, 16 Jan 2024 13:54:32 +0000 Subject: [PATCH] Definitions: Cleanup --- definitions/grib2/boot.def | 2 +- definitions/grib2/template.3.latlon_vares.def | 2 +- definitions/grib2/template.4.forecast_time.def | 4 ++-- definitions/grib2/template.4.forecast_time_44.def | 6 +++--- definitions/grib2/template.4.localtime.def | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/definitions/grib2/boot.def b/definitions/grib2/boot.def index b37a9b83f..61f3c000d 100644 --- a/definitions/grib2/boot.def +++ b/definitions/grib2/boot.def @@ -30,7 +30,7 @@ transient missingValue = 9999; constant ieeeFloats = 1 : edition_specific; constant isHindcast = 0; -include "grib2/section.0.def"; +include "grib2/section.0.def" template core "grib2/sections.def"; diff --git a/definitions/grib2/template.3.latlon_vares.def b/definitions/grib2/template.3.latlon_vares.def index db25b45cf..764690332 100644 --- a/definitions/grib2/template.3.latlon_vares.def +++ b/definitions/grib2/template.3.latlon_vares.def @@ -36,7 +36,7 @@ when (missing(subdivisionsOfBasicAngle) || subdivisionsOfBasicAngle == 0) { include "grib2/template.3.resolution_flags.def" -include "grib2/template.3.scanning_mode.def"; +include "grib2/template.3.scanning_mode.def" longitudesList list(Ni) { unsigned[4] longitude; diff --git a/definitions/grib2/template.4.forecast_time.def b/definitions/grib2/template.4.forecast_time.def index f228d0a9e..c12da70e3 100644 --- a/definitions/grib2/template.4.forecast_time.def +++ b/definitions/grib2/template.4.forecast_time.def @@ -12,7 +12,7 @@ alias minutesAfterReferenceTimeOfDataCutoff=minutesAfterDataCutoff; codetable[1] indicatorOfUnitOfTimeRange ('4.4.table',masterDir,localDir) : dump; alias indicatorOfUnitForForecastTime = indicatorOfUnitOfTimeRange; -include "grib2/stepUnits.def"; +include "grib2/stepUnits.def" # Forecast time in units defined by previous octet (GRIB-29: supports negative forecast time) -signed[4] forecastTime : dump; +signed[4] forecastTime : dump; diff --git a/definitions/grib2/template.4.forecast_time_44.def b/definitions/grib2/template.4.forecast_time_44.def index aa35f543e..0b4ad445b 100644 --- a/definitions/grib2/template.4.forecast_time_44.def +++ b/definitions/grib2/template.4.forecast_time_44.def @@ -14,7 +14,7 @@ alias minutesAfterReferenceTimeOfDataCutoff=minutesAfterDataCutoff; codetable[1] indicatorOfUnitOfTimeRange ('4.4.table',masterDir,localDir) : dump; alias indicatorOfUnitForForecastTime = indicatorOfUnitOfTimeRange; -include "grib2/stepUnits.def"; +include "grib2/stepUnits.def" # Forecast time in units defined by previous octet # See GRIB-530: We have to make a special case for the error in WMO spec @@ -23,9 +23,9 @@ if ( new() || (section4Length - 4*NV == 45) ) { # Newly created messages # Existing GRIBs which have 45 bytes before the pv array # The 45 bytes = length of product def template 4.44 - unsigned[2] forecastTime : dump; + unsigned[2] forecastTime : dump; } else { # This is for existing gribs which were written with 4 octets (GRIB-29: supports negative forecast time) - signed[4] forecastTime : dump; + signed[4] forecastTime : dump; } diff --git a/definitions/grib2/template.4.localtime.def b/definitions/grib2/template.4.localtime.def index 5ae994b1d..96d655d68 100644 --- a/definitions/grib2/template.4.localtime.def +++ b/definitions/grib2/template.4.localtime.def @@ -3,7 +3,7 @@ remove is_localtime; transient is_localtime=1; -include "grib2/stepUnits.def"; +include "grib2/stepUnits.def" alias time.stepUnits = stepUnits;