bufr2synop 0.24.0
Data Fields
bufr_sec1 Struct Reference

Store de parsed section 1 of a bufr file. More...

#include <bufrdeco.h>

Data Fields

uint32_t length
 
uint8_t master
 
uint32_t centre
 
uint32_t subcentre
 
uint8_t update
 
uint8_t options
 
uint8_t category
 
uint8_t subcategory
 
uint8_t subcategory_local
 
uint8_t master_version
 
uint8_t master_local
 
uint32_t year
 
uint8_t month
 
uint8_t day
 
uint8_t hour
 
uint8_t minute
 
uint8_t second
 
uint8_t raw [BUFR_LEN_SEC1]
 

Detailed Description

Store de parsed section 1 of a bufr file.

This is for version 4 BUFR
Section 1 – Identification section
Octet No.  Contents
1–3        Length of section
4          BUFR master table (zero if standard WMO FM 94 BUFR tables are used – see Note 2)
5–6        Identification of originating/generating centre (see Common Code table C-11)
7–8        Identification of originating/generating sub-centre (allocated by originating/generating centre
           – see Common Code table C-12)
9          Update sequence number (zero for original messages and for messages containing only
           delayed reports; incremented for the other updates)
10         Bit 1 = 0 No optional section
                 = 1 Optional section follows
           Bits 2-8 Set to zero (reserved)
11         Data category (Table A)
12         International data sub-category (see Common Code table C-13 and Note 3)
13         Local data sub-category (defined locally by automatic data-processing (ADP) centres
14         Version number of master table
15         Version number of local tables used to augment master table in use
16–17      Year (4 digits)
18         Month
19         Day Most typical time for the BUFR message contents – see Note 4
20         Hour
21         Minute
22         Second
23–Optional – for local use by ADP centres

And this is for version 3
1–3        Length of section
4          BUFR master table (zero if standard WMO FM 94 BUFR tables are used – see Note 2)
5          Originating/generating sub-centre: Code table 0 01 034 (defined, if necessary, by associated
           originating/generating centre – see Note 3 of Common Code table C–1 in Part C/c.)
6          Originating/generating centre: Code table 0 01 033 (Common Code table C–1 in Part C/c.)
7          Update sequence number (zero for original BUFR messages; incremented for updates)
8          Bit 1 = 0 No optional section
                 = 1 Optional section follows
           Bits 2–8 Set to zero (reserved)
9          Data category (Table A)
10         Data sub-category (defined by local automatic data processing (ADP) centres)
11         Version number of master table used – see Notes 2 and 4
12         Version number of local tables used to augment the master table in use – see Note 2
13         Year of century
14         Month
15         Day Most typical for the BUFR message contents
16         Hour
17         Minute
18-        If not required by ADP centres for local use, octet 18 only shall be included and set to zero with
           reference to Regulation 94.1.3

Definition at line 771 of file bufrdeco.h.

Field Documentation

◆ category

uint8_t bufr_sec1::category

◆ centre

uint32_t bufr_sec1::centre

◆ day

uint8_t bufr_sec1::day

◆ hour

uint8_t bufr_sec1::hour

◆ length

uint32_t bufr_sec1::length

Length of section 1

Definition at line 773 of file bufrdeco.h.

Referenced by bufrdeco_print_json_sec1(), bufrdeco_read_buffer(), sprint_sec1_info(), and sprint_sec1_info_html().

◆ master

uint8_t bufr_sec1::master

Bufr master table

Definition at line 774 of file bufrdeco.h.

Referenced by bufrdeco_print_json_sec1(), bufrdeco_read_buffer(), sprint_sec1_info(), and sprint_sec1_info_html().

◆ master_local

uint8_t bufr_sec1::master_local

Version number of local tables used to augment master table in use

Definition at line 783 of file bufrdeco.h.

Referenced by bufrdeco_print_json_sec1(), bufrdeco_read_buffer(), sprint_sec1_info(), and sprint_sec1_info_html().

◆ master_version

uint8_t bufr_sec1::master_version

◆ minute

uint8_t bufr_sec1::minute

◆ month

uint8_t bufr_sec1::month

◆ options

uint8_t bufr_sec1::options

◆ raw

uint8_t bufr_sec1::raw[BUFR_LEN_SEC1]

Raw data for sec1 as is in original BUFR file

Definition at line 790 of file bufrdeco.h.

Referenced by bufrdeco_read_buffer().

◆ second

uint8_t bufr_sec1::second

◆ subcategory

uint8_t bufr_sec1::subcategory

subcategory

Definition at line 780 of file bufrdeco.h.

Referenced by bufrdeco_print_json_sec1(), bufrdeco_read_buffer(), sprint_sec1_info(), and sprint_sec1_info_html().

◆ subcategory_local

uint8_t bufr_sec1::subcategory_local

◆ subcentre

uint32_t bufr_sec1::subcentre

sub-Centre

Definition at line 776 of file bufrdeco.h.

Referenced by bufrdeco_print_json_sec1(), bufrdeco_read_buffer(), sprint_sec1_info(), and sprint_sec1_info_html().

◆ update

uint8_t bufr_sec1::update

update sequence number

Definition at line 777 of file bufrdeco.h.

Referenced by bufrdeco_print_json_sec1(), bufrdeco_read_buffer(), sprint_sec1_info(), and sprint_sec1_info_html().

◆ year

uint32_t bufr_sec1::year

The documentation for this struct was generated from the following file: