From 07382ee77fd9415db0b987da7625bf18941b9367 Mon Sep 17 00:00:00 2001 From: shahramn Date: Tue, 27 Feb 2024 11:54:09 +0000 Subject: [PATCH] HEALPix: Better error message re nested ordering --- src/grib_iterator_class_healpix.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/grib_iterator_class_healpix.cc b/src/grib_iterator_class_healpix.cc index f2e9c0766..6d7aad5c4 100644 --- a/src/grib_iterator_class_healpix.cc +++ b/src/grib_iterator_class_healpix.cc @@ -195,7 +195,7 @@ static int init(grib_iterator* iter, grib_handle* h, grib_arguments* args) if (!STR_EQUAL(ordering, "ring")) { grib_context_log(h->context, GRIB_LOG_ERROR, "%s: Only ring ordering is supported", ITER); - return GRIB_WRONG_GRID; + return GRIB_GEOCALCULUS_PROBLEM; } if (grib_is_earth_oblate(h)) {