Versions Compared

Key

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


Excerpt
hiddentrue

The conversion of BUFR edition 3 to 4 is made easy starting from version 0.13.0 of ecCodes. To convert a message the user simply sets edition=4 and the message will be automatically converted to a valid BUFR edition 4 message. However the converted message is affected by the following unavoidable imperfections

Step-by-step guide

The conversion of BUFR edition 3 to 4 is made easy starting from version 0.13.0 of ecCodes. To convert a message the user simply sets edition=4 and the message will be automatically converted to a valid BUFR edition 4 message. However the converted message is affected by the following unavoidable imperfections.

  1. In edition 3 only the year of century is reported and therefore we need to guess the century in the conversion. At the moment ecCodes assumes that the data have been collected in the 21st century and therefore the year of century 14 will be translated to year 2014 in the edition 4 message. Correction of the date will be needed after the conversion for data collected in other centuries.
  2. The international sub-category is not present in edition 3 messages and is set to 255 (missing) in the conversion.
  3. A convenient way of converting messages from edition 3 to 4 is by using the bufr_set tool as follows:

    Code Block
    languagebash
    % bufr_set -s edition=4 data.bufr3 data.bufr4


  4. The conversion will not affect data which are already in edition 4.


Content by Label
showLabelsfalse
max5
spaces~usa
showSpacefalse
sortmodified
reversetrue
typepage
cqllabel = in ("kb-how-to-article","eccbufr-faqs","bufr","conversion","bufr-3","bufr-4") and label in ("bufr","conversion") and type = "page" and space = "UDOC"
labelskb-how-to-article

...