Versions Compared

Key

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

...

Excerpt
hiddentrue

Users can define their own local BUFR tables to adapt ecCodes to their own needs e.g. to use a local descriptor.


Warning

Please note:
According to the WMO, the use of local tables in messages intended for non-local or international exchange is strongly discouraged.

Step-by-step guide

Users can define their own local BUFR tables to adapt ecCodes to their own needs e.g. to use a local descriptor.

...

.

The local BUFR tables are stored in the following definitions directories:

...

  1. Try decoding the BUFR file "ikco_217.local.bufr" using bufr_dump. This file uses a local table version (localTablesVersionNumber=66).
    Decoding should fail as ecCodes does not know about these descriptors.
  2. Run the codes_info tool to find the location of the default definitions.
  3. Now set ECCODES_DEFINITION_PATH to include the provided "mydefs" directory.
    E.g.
    export ECCODES_DEFINITION_PATH=`pwd`/mydefs:`codes_info -d`
  4. Now see if ecCodes can decode the BUFR file.
  5. Search the output of bufr_dump for the overridden unit "MyOwnUnits".
    This was added as an example of a centre defining its own parameter attributes

(smile)(smile)


Content by Label
showLabelsfalse
max5
spaces~usa
showSpacefalse
sortmodified
reversetrue
typepage
cqllabel = "kb-how-to-article" and label = "eccbufr-faqs" and label = "bufr" and label = "local-definitions" and label = "local-configuration" and type = "page" and space = "UDOC"
labelskb-how-to-article

...