WARING in GRIB2_ipdtmpl_index setting #2417
-
We got WARNING in one of our EVS precip verification when reading CCPA climo data: In the conf file, have following settings: Thanks! Binbin Zhou |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hi @BinbinZhou-NOAA I see you're getting a warning related to the The MET code expects them to be set as, and parses them as, integers. The warning message occurs because you're defining them as strings. For example, just changes this setting FROM THIS:
TO THIS:
Please scan through your configuration settings and remove the quotes from around all of those For completeness sake, let me point you to this section of the MET User's Guide that describes these settings: The “GRIB2_ipdtmpl_index” and “GRIB2_ipdtmpl_val” entries are arrays of integers which specify the product description template values to be used. The indices are 0-based. For example, use the following to request a GRIB2 record whose 9-th and 27-th product description template values are 1 and 2, respectively: I'll note that MET actually expects them to be set as arrays of integers with square brackets around the list of values. However, the config file parsing code is smart enough to see a single value specified and store it in an array of length one. If you do ever need to specify multiple indices and corresponding values, you can do so using the square bracket array syntax. |
Beta Was this translation helpful? Give feedback.
-
John,
Got it.
Thanks.
Binbin
|
Beta Was this translation helpful? Give feedback.
Hi @BinbinZhou-NOAA I see you're getting a warning related to the
GRIB2_ipdtmpl_index
andGRIB2_ipdtmpl_val
configuration options. I tried some things and was able to replicate the warning message you're getting. The solution is just removing the enclosing quotes (") around the values.The MET code expects them to be set as, and parses them as, integers. The warning message occurs because you're defining them as strings.
For example, just changes this setting FROM THIS:
TO THIS:
Please scan through your configuration settings and remove …