Versions Compared

Key

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

...

Excerpt
hiddentrue

Each key can appear several times in a BUFR message. 

Examples are:

Access keys by rank:

Step-by-step guide

Each key can appear several times in a BUFR message. 

Examples are: 

  • airTemperature in an upper air report
  • backscatter in a scatterometer observation

ecCodes provides access by rank of all the keys in the data section of a BUFR message with the following syntax:

...

Code Block
languagepy
# To get the third airTemperature in the message
t = codes_get(bufr, '#3#airTemperature')

...


Code Block
languagepy
# To get the second backscatter in the message
b = 

...

codes_get_array(bufr, '#2#backscatter')

...

...


Content by Label
showLabelsfalse
max5
spaces~usa
showSpacefalse
sortmodified
reversetrue
typepage
excludeCurrenttrue
cqllabel = "kb-how-to-article" and label = "eccbufr-faqs" and label = "keys" and label = "rank" and type = "page" and space = "~usaUDOC"
labelskb-how-to-article

...

hiddentrue

...