bufr2synop 0.24.0
|
Struct to hold the needed reference bit offsets, descriptor tree and replications in a compressed BUFR. More...
#include <bufrdeco.h>
Data Fields | |
uint32_t | mask |
uint8_t | is_associated |
uint8_t | has_data |
uint8_t | bits |
uint8_t | inc_bits |
int32_t | ref |
buf_t | bit0 |
buf_t | ref0 |
char | cref0 [256] |
int32_t | escale |
char | name [BUFR_TABLEB_NAME_LENGTH] |
char | unit [BUFR_TABLEB_UNIT_LENGTH] |
struct bufr_descriptor * | desc |
struct bufr_sequence * | seq |
buf_t | is_bitmaped_by |
buf_t | bitmap_to |
buf_t | related_to |
buf_t | replicated_desc |
buf_t | replicated_loop |
buf_t | replicated_ndesc |
buf_t | replicated_nloop |
Struct to hold the needed reference bit offsets, descriptor tree and replications in a compressed BUFR.
In a compressed bufr it is supossed that all subsets are coded under the same expanded tree, included the delayed descriptors. So the length of data in every subset is the same. To access to a field data we would need these strutcs bufrdeco_compressed_ref
Definition at line 638 of file bufrdeco.h.
buf_t bufrdeco_compressed_ref::bit0 |
first bit offset, i.e, most significant bit for ref0
Definition at line 646 of file bufrdeco.h.
Referenced by bufrdeco_get_atom_data_from_compressed_data_ref(), bufrdeco_tableB_compressed(), and fprint_bufrdeco_compressed_ref().
buf_t bufrdeco_compressed_ref::bitmap_to |
Index element in a struct bufrdeco_compressed_data_references which this one is mapping to
Definition at line 655 of file bufrdeco.h.
Referenced by bufrdeco_decode_replicated_subsequence_compressed(), and bufrdeco_get_atom_data_from_compressed_data_ref().
uint8_t bufrdeco_compressed_ref::bits |
bits for data or associated in table b
Definition at line 643 of file bufrdeco.h.
Referenced by bufrdeco_decode_replicated_subsequence_compressed(), bufrdeco_get_atom_data_from_compressed_data_ref(), bufrdeco_tableB_compressed(), and fprint_bufrdeco_compressed_ref().
char bufrdeco_compressed_ref::cref0[256] |
Local reference in case of string
Definition at line 648 of file bufrdeco.h.
Referenced by bufrdeco_get_atom_data_from_compressed_data_ref(), bufrdeco_parse_f2_compressed(), bufrdeco_tableB_compressed(), and fprint_bufrdeco_compressed_ref().
struct bufr_descriptor* bufrdeco_compressed_ref::desc |
associated descriptor
Definition at line 652 of file bufrdeco.h.
Referenced by bufr_decode_subset_data_compressed(), bufrdeco_decode_replicated_subsequence_compressed(), bufrdeco_get_atom_data_from_compressed_data_ref(), bufrdeco_parse_compressed_recursive(), bufrdeco_parse_f2_compressed(), bufrdeco_tableB_compressed(), and fprint_bufrdeco_compressed_ref().
int32_t bufrdeco_compressed_ref::escale |
escale for a expanded data in subset
Definition at line 649 of file bufrdeco.h.
Referenced by bufrdeco_get_atom_data_from_compressed_data_ref(), bufrdeco_tableB_compressed(), and fprint_bufrdeco_compressed_ref().
uint8_t bufrdeco_compressed_ref::has_data |
1 if has any subset with valid data. 0 if missing in all subsets
Definition at line 642 of file bufrdeco.h.
Referenced by bufrdeco_get_atom_data_from_compressed_data_ref(), bufrdeco_parse_f2_compressed(), bufrdeco_tableB_compressed(), and fprint_bufrdeco_compressed_ref().
uint8_t bufrdeco_compressed_ref::inc_bits |
number of inc bits for every subset
Definition at line 644 of file bufrdeco.h.
Referenced by bufrdeco_get_atom_data_from_compressed_data_ref(), bufrdeco_parse_f2_compressed(), bufrdeco_tableB_compressed(), and fprint_bufrdeco_compressed_ref().
uint8_t bufrdeco_compressed_ref::is_associated |
0 if is not associated data
Definition at line 641 of file bufrdeco.h.
Referenced by bufr_decode_subset_data_compressed(), bufrdeco_get_atom_data_from_compressed_data_ref(), bufrdeco_tableB_compressed(), and fprint_bufrdeco_compressed_ref().
buf_t bufrdeco_compressed_ref::is_bitmaped_by |
Index element in a struct bufrdeco_compressed_data_references which bitmap this one
Definition at line 654 of file bufrdeco.h.
Referenced by bufrdeco_decode_replicated_subsequence_compressed(), and bufrdeco_get_atom_data_from_compressed_data_ref().
uint32_t bufrdeco_compressed_ref::mask |
Bit mask
Definition at line 640 of file bufrdeco.h.
Referenced by bufr_decode_subset_data_compressed(), bufrdeco_decode_replicated_subsequence_compressed(), bufrdeco_parse_compressed_recursive(), bufrdeco_parse_f2_compressed(), and fprint_bufrdeco_compressed_ref().
char bufrdeco_compressed_ref::name[BUFR_TABLEB_NAME_LENGTH] |
String with the name of descriptor
Definition at line 650 of file bufrdeco.h.
Referenced by bufrdeco_get_atom_data_from_compressed_data_ref(), bufrdeco_parse_f2_compressed(), bufrdeco_tableB_compressed(), and fprint_bufrdeco_compressed_ref().
int32_t bufrdeco_compressed_ref::ref |
reference for a expanded data in table b
Definition at line 645 of file bufrdeco.h.
Referenced by bufrdeco_decode_replicated_subsequence_compressed(), bufrdeco_get_atom_data_from_compressed_data_ref(), bufrdeco_tableB_compressed(), and fprint_bufrdeco_compressed_ref().
buf_t bufrdeco_compressed_ref::ref0 |
local reference for a expanded data in subsets
Definition at line 647 of file bufrdeco.h.
Referenced by bufrdeco_decode_replicated_subsequence_compressed(), bufrdeco_get_atom_data_from_compressed_data_ref(), bufrdeco_parse_compressed_recursive(), bufrdeco_tableB_compressed(), and fprint_bufrdeco_compressed_ref().
buf_t bufrdeco_compressed_ref::related_to |
Index of element ina struct bufrdeco_compressed_data_references which this one is related to
Definition at line 656 of file bufrdeco.h.
Referenced by bufrdeco_decode_replicated_subsequence_compressed(), and bufrdeco_get_atom_data_from_compressed_data_ref().
buf_t bufrdeco_compressed_ref::replicated_desc |
Index of a replicated descriptor in a replication interval at current level, first 1
Definition at line 657 of file bufrdeco.h.
Referenced by bufr_decode_subset_data_compressed(), and bufrdeco_decode_replicated_subsequence_compressed().
buf_t bufrdeco_compressed_ref::replicated_loop |
Index of loop of a replicated descriptor in replication interval at current level, first 1
Definition at line 658 of file bufrdeco.h.
Referenced by bufr_decode_subset_data_compressed(), and bufrdeco_decode_replicated_subsequence_compressed().
buf_t bufrdeco_compressed_ref::replicated_ndesc |
Amount of descriptors in a replication interval at current level
Definition at line 659 of file bufrdeco.h.
Referenced by bufr_decode_subset_data_compressed(), and bufrdeco_decode_replicated_subsequence_compressed().
buf_t bufrdeco_compressed_ref::replicated_nloop |
Amount of loops in a replication interval at current level
Definition at line 660 of file bufrdeco.h.
Referenced by bufr_decode_subset_data_compressed(), and bufrdeco_decode_replicated_subsequence_compressed().
struct bufr_sequence* bufrdeco_compressed_ref::seq |
associated sequence
Definition at line 653 of file bufrdeco.h.
Referenced by bufr_decode_subset_data_compressed(), bufrdeco_decode_replicated_subsequence_compressed(), and bufrdeco_parse_compressed_recursive().
char bufrdeco_compressed_ref::unit[BUFR_TABLEB_UNIT_LENGTH] |
String with the name of units
Definition at line 651 of file bufrdeco.h.
Referenced by bufrdeco_get_atom_data_from_compressed_data_ref(), bufrdeco_parse_f2_compressed(), bufrdeco_tableB_compressed(), and fprint_bufrdeco_compressed_ref().