From e605915cd2685bbe56adf89e7f1937ae3d58e01a Mon Sep 17 00:00:00 2001 From: Shahram Najm Date: Tue, 28 May 2019 13:54:56 +0100 Subject: [PATCH] Improve parameter check script error message --- definitions/check_grib_defs.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/definitions/check_grib_defs.pl b/definitions/check_grib_defs.pl index 48dc64193..e346f973f 100755 --- a/definitions/check_grib_defs.pl +++ b/definitions/check_grib_defs.pl @@ -194,7 +194,8 @@ sub process { exists($map2{'scaleFactorOfSecondFixedSurface'}) || exists($map2{'scaledValueOfSecondFixedSurface'})) ) { - print "File: $filename, line: $lineNum: TypeOfSurface problem (GRIB-229): Please check: $desc\n"; + print "File: $filename, line: $lineNum: TypeOfSurface issue: Please check: \"$desc\" ($concept)\n"; + print " Make sure the 'typeOfSecondFixedSurface' key comes BEFORE all the scale keys\n"; #print "DUMP,\t", Data::Dumper->Dump([\%map2], [" "]); $error = 1; }