Easy peasy. Use the "defined" function which takes a single key name as argument. e.g.

grib_filter/bufr_filter: How can I check if a key exists (is defined) in a message?

Step-by-step guide

Easy peasy. Use the "defined" function which takes a single key name as argument. e.g.

if (defined(Latin1)) {
    print "Key Latin1 is there for this message";
}



Related articles

Related articles appear here based on the labels you select. Click to edit the macro and add or change labels.