bufr2synop 0.24.0
Data Fields
bufr_sequence Struct Reference

Stores an unexpanded sequence of descriptors. More...

#include <bufrdeco.h>

Collaboration diagram for bufr_sequence:
Collaboration graph
[legend]

Data Fields

char key [8]
 
buf_t level
 
buf_t ndesc
 
struct bufr_sequencefather
 
buf_t father_idesc
 
struct bufr_sequence_index_range no_data_present
 
struct bufr_sequence_index_range event
 
struct bufr_sequence_index_range cond_event
 
struct bufr_sequence_index_range cat_forecast
 
uint8_t replicated [NMAXSEQ_DESCRIPTORS]
 
struct bufr_descriptor lseq [NMAXSEQ_DESCRIPTORS]
 
struct bufr_sequencesons [NMAXSEQ_DESCRIPTORS]
 
buf_t iseq
 
char name [BUFR_EXPLAINED_LENGTH]
 

Detailed Description

Stores an unexpanded sequence of descriptors.

A sequence layer is needed when parsing expanded descriptor sec3 and sec4

First bufr_sequence is the sequence of descriptors in sec3 after byte 8. This is a bufr_sequence in level 0.

When a sequence descriptor is found in a layer, the sequence entries found in table D form this descriptor is a son bufr_sequence. This son has then a father and also can have one or more sons. The index level is incremented by one every step it go into decendents.

Definition at line 571 of file bufrdeco.h.

Field Documentation

◆ cat_forecast

struct bufr_sequence_index_range bufr_sequence::cat_forecast

struct bufr_sequence_index_range with a categorical forecasts range

Definition at line 581 of file bufrdeco.h.

Referenced by bufrdeco_parse_tree_recursive().

◆ cond_event

struct bufr_sequence_index_range bufr_sequence::cond_event

struct bufr_sequence_index_range with a conditioning event range

Definition at line 580 of file bufrdeco.h.

Referenced by bufrdeco_parse_tree_recursive().

◆ event

struct bufr_sequence_index_range bufr_sequence::event

struct bufr_sequence_index_range with an event range

Definition at line 579 of file bufrdeco.h.

Referenced by bufrdeco_parse_tree_recursive().

◆ father

struct bufr_sequence* bufr_sequence::father

Pointer to the father struct. It should be NULL if level = 0

Definition at line 576 of file bufrdeco.h.

Referenced by bufrdeco_parse_tree_recursive().

◆ father_idesc

buf_t bufr_sequence::father_idesc

Index of a descriptor in father to which this sequence is expanded

Definition at line 577 of file bufrdeco.h.

Referenced by bufrdeco_parse_tree_recursive().

◆ iseq

buf_t bufr_sequence::iseq

number of sequence when parsing a tree. for recursion level 0 in sec3 is asigned 0. Is the index in member seq in struct bufereco_expanded_tree

Definition at line 586 of file bufrdeco.h.

Referenced by bufrdeco_parse_tree_recursive().

◆ key

char bufr_sequence::key[8]

◆ level

buf_t bufr_sequence::level

The recursion level. descriptors in sec3 are level 0

Definition at line 574 of file bufrdeco.h.

Referenced by bufrdeco_fprint_tree_recursive(), and bufrdeco_parse_tree_recursive().

◆ lseq

struct bufr_descriptor bufr_sequence::lseq[NMAXSEQ_DESCRIPTORS]

◆ name

char bufr_sequence::name[BUFR_EXPLAINED_LENGTH]

◆ ndesc

buf_t bufr_sequence::ndesc

◆ no_data_present

struct bufr_sequence_index_range bufr_sequence::no_data_present

◆ replicated

uint8_t bufr_sequence::replicated[NMAXSEQ_DESCRIPTORS]

◆ sons

struct bufr_sequence* bufr_sequence::sons[NMAXSEQ_DESCRIPTORS]

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