mirror of https://github.com/ecmwf/eccodes.git
Tools: check interpretationOfNumberOfPoints
This commit is contained in:
parent
ccd402f272
commit
796beac27c
|
@ -183,7 +183,8 @@ static int process_file(const char* filename)
|
|||
|
||||
GRIB_CHECK(grib_get_long(h, "interpretationOfNumberOfPoints", &interpretationOfNumberOfPoints), 0);
|
||||
if (interpretationOfNumberOfPoints != 1) {
|
||||
error(filename, msg_num, "For a reduced grid, interpretationOfNumberOfPoints should be 1\n");
|
||||
error(filename, msg_num, "For a reduced grid, interpretationOfNumberOfPoints should be 1 "
|
||||
"(See Code Table 3.11)\n");
|
||||
}
|
||||
|
||||
GRIB_CHECK(grib_get_size(h, "pl", &pl_len), 0);
|
||||
|
|
Loading…
Reference in New Issue