From ad659de13cc687f57b0b608713e65004b0ccef2d Mon Sep 17 00:00:00 2001 From: shahramn Date: Mon, 21 Oct 2024 12:54:10 +0100 Subject: [PATCH] GRIB2 product template selection: Debug messages --- src/accessor/grib_accessor_class_concept.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/accessor/grib_accessor_class_concept.cc b/src/accessor/grib_accessor_class_concept.cc index 7c3601e6b..249dde888 100644 --- a/src/accessor/grib_accessor_class_concept.cc +++ b/src/accessor/grib_accessor_class_concept.cc @@ -383,8 +383,7 @@ static int grib_concept_apply(grib_accessor* a, const char* name) // Repair the most common cause of failure: input GRIB2 handle // is instantaneous but paramId/shortName being set is for accum/avg etc if (STR_EQUAL(values[i].name, "typeOfStatisticalProcessing")) { - // Switch from instantaneous to interval-based - grib_context_log(h->context, GRIB_LOG_DEBUG, "%s: Switch to statistically processed", __func__); + grib_context_log(h->context, GRIB_LOG_DEBUG, "%s: Switch from instantaneous to interval-based", __func__); if (grib_set_long(h, "selectStepTemplateInterval", 1) == GRIB_SUCCESS) { resubmit = true; grib_set_values(h, &values[i], 1); @@ -393,6 +392,7 @@ static int grib_concept_apply(grib_accessor* a, const char* name) // else if (STR_EQUAL(values[i].name, "sourceSinkChemicalPhysicalProcess")) { // if (grib_set_long(h, "is_chemical_srcsink", 1) == GRIB_SUCCESS) { // resubmit = true; + // grib_set_values(h, &values[i], 1); // } // } }