From 5cdd9d17cb1111605e1d5639d8261d09f1b7b859 Mon Sep 17 00:00:00 2001 From: Shahram Najm Date: Sat, 17 Feb 2024 20:38:38 +0000 Subject: [PATCH] grib_util_set_spec: Support reduced latlon --- src/grib_util.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/grib_util.cc b/src/grib_util.cc index ab6283987..c559eeacb 100644 --- a/src/grib_util.cc +++ b/src/grib_util.cc @@ -897,6 +897,9 @@ static int get_grib_sample_name(grib_handle* h, long editionNumber, case GRIB_UTIL_GRID_SPEC_HEALPIX: snprintf(sample_name, sample_name_len, "GRIB%ld", editionNumber); break; + case GRIB_UTIL_GRID_SPEC_REDUCED_LL: + snprintf(sample_name, sample_name_len, "%s_sfc_grib%ld", grid_type, editionNumber); + break; default: snprintf(sample_name, sample_name_len, "%s_pl_grib%ld", grid_type, editionNumber); }