Tools: Print formula for calculating lon2

This commit is contained in:
shahramn 2024-03-11 17:11:01 +00:00
parent 0e93fbfc08
commit 62de7e1eba
1 changed files with 2 additions and 1 deletions

View File

@ -227,7 +227,8 @@ static int process_file(const char* filename)
}
if (fabs(lon2 - expected_lon2) > angular_tolerance) {
error(filename, msg_num, "longitudeOfLastGridPointInDegrees=%f but should be %f\n", lon2, expected_lon2);
error(filename, msg_num, "longitudeOfLastGridPointInDegrees=%f but should be %f (= 360 - 360/max(pl) )\n",
lon2, expected_lon2);
}
GRIB_CHECK(grib_get_size(h, "values", &sizeOfValuesArray), 0);