From 3ff619c7f70f3632cf9dbd1f76e90b0d4f85c3f1 Mon Sep 17 00:00:00 2001 From: Shahram Najm Date: Mon, 15 Jan 2024 12:12:01 +0000 Subject: [PATCH] ECC-1746: GRIB2 template 4.34: Incorrect values for 'time' namespace --- definitions/grib2/template.4.34.def | 1 - tests/grib2_templates.sh | 6 ++++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/definitions/grib2/template.4.34.def b/definitions/grib2/template.4.34.def index 308074981..c5856ebb2 100644 --- a/definitions/grib2/template.4.34.def +++ b/definitions/grib2/template.4.34.def @@ -5,7 +5,6 @@ include "grib2/template.4.parameter.def" include "grib2/template.4.generating_process.def" include "grib2/template.4.forecast_time.def" -include "grib2/template.4.point_in_time.def" include "grib2/template.4.satellite.def" include "grib2/template.4.eps.def" include "grib2/template.4.statistical.def" diff --git a/tests/grib2_templates.sh b/tests/grib2_templates.sh index 4b08f2619..437eb36b1 100755 --- a/tests/grib2_templates.sh +++ b/tests/grib2_templates.sh @@ -32,6 +32,12 @@ awk '$1 !~ /#/ && $1 < 65000 {print $1}' $latest_codetable_file | while read pdt fi done +# ECC-1746 +# ------------- +$tools_dir/grib_set -s tablesVersion=31,productDefinitionTemplateNumber=34 $sample2 $temp +$tools_dir/grib_ls -j -n time $temp > $tempText +grep -q "stepRange.: 0," $tempText +grep -q "validityDate.: 20070323," $tempText # Template 4.86 # -------------