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

Compare with Current View Page History

« Previous Version 2 Next »

How can I set keys for a subset?

Step-by-step guide

You have to use the "by rank" syntax i.e. "#n#key". For example using the bufr_filter rules:

set #4#airTemperature = 3.14;
  1. This sets the 4th instance of the key "airTemperature" to 3.14.
  2. Note: Although you can use the "by condition" syntax for getting values of keys, this method cannot be used for setting such keys i.e. The following will not work:

    # Does not work
    set /subsetNumber=4/airTemperature = 3.14; ## Error

    Also see Setting keys by rank.


There is no content with the specified labels



  • No labels