diff --git a/tests/grib_lam_gp.cc b/tests/grib_lam_gp.cc index 38b2178ed..29b94a96c 100644 --- a/tests/grib_lam_gp.cc +++ b/tests/grib_lam_gp.cc @@ -908,7 +908,7 @@ int main(int argc, char* argv[]) GRIB_CHECK(grib_set_long(h, "minute", 0), 0); GRIB_CHECK(grib_set_long(h, "second", 0), 0); len = strlen("s"); - GRIB_CHECK(grib_set_string(h, "indicatorOfUnitOfTimeRange", "s", &len), 0); + GRIB_CHECK(grib_set_string(h, "indicatorOfUnitForForecastTime", "s", &len), 0); len = strlen("s"); GRIB_CHECK(grib_set_string(h, "stepUnits", "s", &len), 0); GRIB_CHECK(grib_set_long(h, "endStep", 3600), 0);