|
bufr2synop 0.24.0
|
Stores an unexpanded sequence of descriptors. More...
#include <bufrdeco.h>

Data Fields | |
| char | key [8] |
| buf_t | level |
| buf_t | ndesc |
| struct bufr_sequence * | father |
| 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_sequence * | sons [NMAXSEQ_DESCRIPTORS] |
| buf_t | iseq |
| char | name [BUFR_EXPLAINED_LENGTH] |
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.
| 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().
| 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().
| 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().
| 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().
| 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().
| 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().
| char bufr_sequence::key[8] |
the key
Definition at line 573 of file bufrdeco.h.
Referenced by bufrdeco_parse_tree_recursive(), and bufrdeco_print_json_sequence_descriptor_header().
| 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().
| struct bufr_descriptor bufr_sequence::lseq[NMAXSEQ_DESCRIPTORS] |
Array of recursion level of replication 0 = no replicated. N = level of rep Array of unexpanded descriptors
Definition at line 583 of file bufrdeco.h.
Referenced by bufrdeco_decode_replicated_subsequence(), bufrdeco_decode_replicated_subsequence_compressed(), bufrdeco_decode_subset_data_recursive(), bufrdeco_fprint_tree_recursive(), bufrdeco_parse_compressed_recursive(), bufrdeco_parse_tree_recursive(), bufrdeco_print_json_tree_recursive(), bufrdeco_tableD_get_descriptors_array(), and get_unexpanded_descriptor_array_from_sec3().
| char bufr_sequence::name[BUFR_EXPLAINED_LENGTH] |
Name of sequence if any
Definition at line 588 of file bufrdeco.h.
Referenced by bufrdeco_fprint_tree_recursive(), bufrdeco_parse_tree_recursive(), bufrdeco_print_json_sequence_descriptor_header(), bufrdeco_print_json_tree_recursive(), and bufrdeco_tableD_get_descriptors_array().
| buf_t bufr_sequence::ndesc |
Number of unexpanded descriptor of a layer
Definition at line 575 of file bufrdeco.h.
Referenced by bufrdeco_decode_subset_data_recursive(), bufrdeco_fprint_tree_recursive(), bufrdeco_parse_compressed_recursive(), bufrdeco_parse_tree_recursive(), bufrdeco_print_json_tree_recursive(), bufrdeco_tableD_get_descriptors_array(), and get_unexpanded_descriptor_array_from_sec3().
| struct bufr_sequence_index_range bufr_sequence::no_data_present |
struct bufr_sequence_index_range with no data descriptor range
Definition at line 578 of file bufrdeco.h.
Referenced by bufrdeco_decode_replicated_subsequence(), bufrdeco_decode_replicated_subsequence_compressed(), bufrdeco_decode_subset_data_recursive(), bufrdeco_parse_compressed_recursive(), and bufrdeco_parse_tree_recursive().
| uint8_t bufr_sequence::replicated[NMAXSEQ_DESCRIPTORS] |
Definition at line 582 of file bufrdeco.h.
Referenced by bufrdeco_fprint_tree_recursive(), bufrdeco_parse_tree_recursive(), and bufrdeco_print_json_tree_recursive().
| struct bufr_sequence* bufr_sequence::sons[NMAXSEQ_DESCRIPTORS] |
Array of pointers to sons. It must be NULL except for sequence descriptors.
Definition at line 584 of file bufrdeco.h.
Referenced by bufrdeco_decode_replicated_subsequence(), bufrdeco_decode_replicated_subsequence_compressed(), bufrdeco_decode_subset_data_recursive(), bufrdeco_fprint_tree_recursive(), bufrdeco_parse_compressed_recursive(), bufrdeco_parse_tree_recursive(), and bufrdeco_print_json_tree_recursive().