Excerpt |
---|
|
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 = 3.14; |
This sets the 4th instance of the key "airTemperature" to 3.14.
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 |
---|
| # Does not work
set /subsetNumber=4/airTemperature = 3.14; ## Error |
|
Also see Setting keys by rank.
Related articles
Content by Label |
---|
showLabels | false |
---|
max | 5 |
---|
spaces | ~usa |
---|
showSpace | false |
---|
sort | modified |
---|
reverse | true |
---|
type | page |
---|
cql | label in ("kb-how-to-article","bufr","keys","rank","eccodes-faqs") and type = "page" and space = "UDOC" |
---|
labels | kb-how-to-article |
---|
|