Excerpt |
---|
|
You have to use the "by rank" syntax i.e. "#n#key ". For example using the bufr_filter rules |
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:
Code Block |
---|
set #4#airTemperature = 3.14; |
- This sets the 4th instance of the key "airTemperature" to 3.14.
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 = "kb-how-to-article" and type = "page" and space = "~usa" |
---|
labels | kb-how-to-article |
---|
|