You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Current »

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.

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




  • No labels