bufr2synop 0.24.0
Data Fields
bufrdeco_compressed_ref Struct Reference

Struct to hold the needed reference bit offsets, descriptor tree and replications in a compressed BUFR. More...

#include <bufrdeco.h>

Collaboration diagram for bufrdeco_compressed_ref:
Collaboration graph
[legend]

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_descriptordesc
 
struct bufr_sequenceseq
 
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
 

Detailed Description

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.

Field Documentation

◆ bit0

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().

◆ bitmap_to

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().

◆ bits

uint8_t bufrdeco_compressed_ref::bits

◆ cref0

char bufrdeco_compressed_ref::cref0[256]

◆ desc

struct bufr_descriptor* bufrdeco_compressed_ref::desc

◆ escale

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().

◆ has_data

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().

◆ inc_bits

uint8_t bufrdeco_compressed_ref::inc_bits

◆ is_associated

uint8_t bufrdeco_compressed_ref::is_associated

◆ is_bitmaped_by

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().

◆ mask

uint32_t bufrdeco_compressed_ref::mask

◆ name

char bufrdeco_compressed_ref::name[BUFR_TABLEB_NAME_LENGTH]

◆ ref

int32_t bufrdeco_compressed_ref::ref

◆ ref0

buf_t bufrdeco_compressed_ref::ref0

◆ related_to

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().

◆ replicated_desc

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().

◆ replicated_loop

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().

◆ replicated_ndesc

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().

◆ replicated_nloop

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().

◆ seq

struct bufr_sequence* bufrdeco_compressed_ref::seq

◆ unit

char bufrdeco_compressed_ref::unit[BUFR_TABLEB_UNIT_LENGTH]

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