Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Excerpt
hiddentrue

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

Step-by-step guide

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

Code Block
set #4#airTemperature = 3283.1495;

This sets the 4th instance of the key "airTemperature" to 3283.1495 K.

Note

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:

Code Block
languagebash
# Does not work
set /subsetNumber=4/airTemperature = 3283.1495; ## Error



Also see Setting keys by rank.


Content by Label
showLabelsfalse
max5
spaces~usa
showSpacefalse
sortmodified
reversetrue
typepage
cqllabel in ("kb-how-to-articleeccodes-faqs","bufr","keys","rank") and label in ("bufr","rank","eccodes-faqssubsets") and type = "page" and space = "UDOC"
labelskb-how-to-article

...