BUFR decoding Dominique Lucas – Milan Dragosavac

Slides:



Advertisements
Similar presentations
You have been given a mission and a code. Use the code to complete the mission and you will save the world from obliteration…
Advertisements

Web Center Certification Sitemap / Formatting Content Web Center Certification Training Intuit Financial Services University.
Using Matrices in Real Life
Advanced Piloting Cruise Plot.
Copyright © 2003 Pearson Education, Inc. Slide 3-1 Created by Cheryl M. Hughes The Web Wizards Guide to XML by Cheryl M. Hughes.
Chapter 1 The Study of Body Function Image PowerPoint
1 Copyright © 2013 Elsevier Inc. All rights reserved. Chapter 1 Embedded Computing.
1 Copyright © 2013 Elsevier Inc. All rights reserved. Appendix 01.
1 Copyright © 2010, Elsevier Inc. All rights Reserved Fig 2.1 Chapter 2.
Chapter 1 Image Slides Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Business Transaction Management Software for Application Coordination 1 Business Processes and Coordination.
© 2010 Pearson Addison-Wesley. All rights reserved. Addison Wesley is an imprint of Chapter 11: Structure and Union Types Problem Solving & Program Design.
WORLD METEOROLOGICAL ORGANIZATION RA-VI Regional Training on BUFR and Migration to Table Driven Code Forms Langen, Germany, April, 2007 Introduction.
1 Often asked questions Eva Červená CZECH HYDROMETEOROLOGICAL INSTITUTE WORLD METEOROLOGICAL ORGANIZATION RA VI Training Workshop on BUFR and Migration.
Slide 1 WMO BUFR training course Langen April 2007 Slide 1 BUFR software Milan Dragosavac.
CREX CREX Code Form Examples of CREX messages Sections of a CREX message Section 0 – Indicator Section CREX Beginning of a CREX message.
Templates and Regulations
Introduction to Metview
Jeopardy Q 1 Q 6 Q 11 Q 16 Q 21 Q 2 Q 7 Q 12 Q 17 Q 22 Q 3 Q 8 Q 13
Jeopardy Q 1 Q 6 Q 11 Q 16 Q 21 Q 2 Q 7 Q 12 Q 17 Q 22 Q 3 Q 8 Q 13
Title Subtitle.
My Alphabet Book abcdefghijklm nopqrstuvwxyz.
0 - 0.
DIVIDING INTEGERS 1. IF THE SIGNS ARE THE SAME THE ANSWER IS POSITIVE 2. IF THE SIGNS ARE DIFFERENT THE ANSWER IS NEGATIVE.
Addition Facts
Year 6 mental test 5 second questions
ZMQS ZMQS
Report Card P Only 4 files are exported in SAMS, but there are at least 7 tables could be exported in WebSAMS. Report Card P contains 4 functions: Extract,
OBSERVATIONS & PRÉVISIONS CÔTIÈRES Training Workshop – Ostende – October 2009 REFORMATTING TOOLS Med2MedSDN and NEMO M. Fichaut.
Campaign Overview Mailers Mailing Lists
ABC Technology Project
Vanderbilt Business Objects Users Group 1 Reporting Techniques & Formatting Beginning & Advanced.
Exercise 1: Install PC Software & NXT Firmware
VOORBLAD.
15. Oktober Oktober Oktober 2012.
Name Convolutional codes Tomashevich Victor. Name- 2 - Introduction Convolutional codes map information to code bits sequentially by convolving a sequence.
CAR Training Module PRODUCT REGISTRATION and MANAGEMENT Module 2 - Register a New Document - Without Alternate Formats (Run as a PowerPoint show)
FM 94 BUFR and FM 95 CREX Table Driven Code Forms (or “Self-descriptive” Code Forms). The term "self-descriptive" means that the form and content of the.
Squares and Square Root WALK. Solve each problem REVIEW:
1..
© 2012 National Heart Foundation of Australia. Slide 2.
Lets play bingo!!. Calculate: MEAN Calculate: MEDIAN
Understanding Generalist Practice, 5e, Kirst-Ashman/Hull
Chapter 5 Test Review Sections 5-1 through 5-4.
SIMOCODE-DP Software.
GG Consulting, LLC I-SUITE. Source: TEA SHARS Frequently asked questions 2.
Macromedia Dreamweaver MX 2004 – Design Professional Dreamweaver GETTING STARTED WITH.
Addition 1’s to 20.
25 seconds left…...
Januar MDMDFSSMDMDFSSS
Week 1.
We will resume in: 25 Minutes.
©Brooks/Cole, 2001 Chapter 12 Derived Types-- Enumerated, Structure and Union.
©2004 Brooks/Cole FIGURES FOR CHAPTER 12 REGISTERS AND COUNTERS Click the mouse to move to the next page. Use the ESC key to exit this chapter. This chapter.
PSSA Preparation.
Essential Cell Biology
1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 1 v3.1 Module 1 Introduction to Networking.
Chapter 8 Improving the User Interface
1 © Crown copyright 2003 GRAS SAF User Workshop Helsingør, Denmark, June 2003 WMO BUFR Format for NRT Dissemination of RO Data Dave Offiler.
Training on Meteorological Telecommunications Alanya, Turkey, September 2010 General Philosophy of Table Driven Code Forms Simon Elliott, EUMETSAT.
Slide 1 WMO BUFR training course Langen April 2007 Slide 1 CREX software Milan Dragosavac.
Applications of BUFR (Why, when and how to use BUFR) Jeff Ator NOAA National Weather Service United States of America WORLD METEOROLOGICAL.
Introduction to BUFR TRAINING ON METEOROLOGICAL TELECOMMUNICATIONS WMO RTC-Turkey facilities, Alanya, Turkey September 2010.
WORLD METEOROLOGICAL ORGANIZATION RA-VI Regional Training on BUFR and Migration to Table Driven Code Forms Langen, Germany, April, 2007 General.
Binary Universal Form Representation (BUFR) Paul Hamer November, 2009
WMO, World Weather Watch, Data Processing and Forecasting Systems)
Presentation transcript:

BUFR decoding Dominique Lucas – Milan Dragosavac User Support – Meteorological Application

Content BUFR data format BUFR software BUFR tool Practical example

What is BUFR Binary representation of meteorological data or Binary Universal Form for data Representation Continuous bit stream made of sequence of octets. Table driven code Self descriptive code Machine independent Compression available for improved transmission speed

BUFR FORMAT Indicator section Identification section Optional section Data description section Data section End section All sections are padded with “0”s if needed to occupy even number of octets.

Section 0 - Indication section

Section 1 - Identification section

Section 1 - Identification section

Section 1 - Identification section ADP: Automated Data Processing

Section 2 - Optional section

Section 3 - Data description section

Section 3 - Data descriptors F = 0 Element Descriptor – Bufr table B F = 1 Replication descriptor X = number of descriptors to repeat Y = number of times the descriptors are repeated F = 2 Operator Descriptor – Bufr table C F = 3 Sequence Descriptor – Bufr table D

Section 4 - Data section

Section 5 - End section

BUFR Tables Table A - Data category Table B - Classification of elements Table C - Data descriptor operators Table D - List of common sequences

Table A - Data category Used in the Section 1 (element 9) of the BUFR message Example: Code figure Meaning 0 Surface data - land 1 Surface data – sea 2 Vertical soundings (not satellite) … 31 Oceanographic data

Table B - Classification of elements Element Name Unit Scale Reference #bits 005001 Latitude (high accuracy) Degree 5 -9000000 25 007003 Geopotential m**2/s**2 -1 -400 17 002019 Satellite instruments Code table 0 0 11 008001 Vertical sounding signifi Flag Table 0 0 7 001006 Aircraft flight number CCITTIA5 0 0 64 (obs. * 10**scale – Reference) is encoded into #bits bits For coded or flagged values, the element descriptor indicates the number of the table discribing the codes/flags. 0 - Table B entry 05 - Location (horizontal 1) class 01 - Identification 08 - Significance qualifiers

Table C - Data Descriptor operators 201yyy - Change data width 202yyy - Change scale 203yyy - Change reference value 222000 - Quality information

Table D - List of common sequence Table D can contain sequences of table B entries, Table D entries and Operators. It is not needed but saves a lot of space. 301027 301001 WMO block and station 002011 Radiosonde type 002012 Radiosonde computational method 301011 Date 301012 Time 301022 Lat/Long and station height

Bufr software PBIO routines PBOPEN - open bufr file for read/write PBBUFR - read bufr message PBWRITE - write bufr message

BUFR decoding CALL BUFREX ( kbufl, kbuff, ksup, ksec0, ksec1, ksec2, ksec3, ksec4, kelem, cnames, cunits, kvals, values, cvals, kerr ) Input arguments kbufl - length of bufr message in words kbuff - array containing bufr message kelem - expected number of expanded elements kvals - size of values array

BUFR decoding Output arguments ksup - array containing supplementary information ksec[0-4] - array containing section [0-4] information cnames - character array containing element names cunits - character array containing element units values - real array containing element values cvals - character array containing char. elem. Values kerr - return code

BUFR decoding To access character strings from cvals array index = values(1)/1000 string = cvals(index) value(1) = index * 1000 + length To access i-th element in multi subset message from values array index = i +(nsub-1) * kelem

BUFR Tables BUFR Edition 3 naming convention Bwwwxxxyyzz, Cwwwxxxyyzz, Dwwwxxxyyzz B - Bufr table B C - Bufr table C code and flag tables D - Bufr table D www - Originating subcentre xxx - Originating centre yy - Version number of master table used zz - Version number of local table used

Where to find more about BUFR WMO manual on Codes, Volume I, International Codes, Part B-Binary Codes, WMO No.306, FM-94-IX Ext BUFR BUFR User Guide and Reference Manual, Ecmwf 2004 http://www.ecmwf.int/publications/technical_notes/ Guide to WMO Table Driven Code Forms http://www.wmo.ch/web/www/WDM/Guides/BUFR-CREX-guide.html

BUFR tool BUFR profiler available from /home/ma/emos/bin/sgimips/xbdc

Practical examples On ecgate, take a copy of ~trx/bufr_decode/Retrieve_decode_bufr.cmd Run (interactively or in batch mode) “Retrieve_decode_bufr.cmd” to decode one synop observation. Use ~emos/bin/rs6000/xbdc on ecgate to display the content of the bufr message in ~trx/bufr_decode/obs Try to adapt Retrieve_decode_bufr.cmd to write part of the observation data out to a file. An example job is available in ~trx/bufr_decode/ Retrieve_extract_bufr.cmd