bufr2synop 0.24.0
|
file with the code to read table C data (code and flag tables) More...
#include "bufrdeco.h"
Go to the source code of this file.
Functions | |
int | bufr_read_tableC (struct bufrdeco *b) |
Reads a file with table C content (Code table and bit flags) according with csv WMO format. More... | |
int | bufr_find_tableC_csv_index (buf_t *index, struct bufr_tableC *tc, const char *key, uint32_t code) |
char * | bufrdeco_explained_table_val (char *expl, size_t dim, struct bufr_tableC *tc, uint32_t *index, struct bufr_descriptor *d, uint32_t ival) |
char * | bufrdeco_explained_flag_val (char *expl, size_t dim, struct bufr_tableC *tc, struct bufr_descriptor *d, uint64_t ival, uint8_t nbits) |
file with the code to read table C data (code and flag tables)
Definition in file bufrdeco_tableC.c.
int bufr_find_tableC_csv_index | ( | buf_t * | index, |
struct bufr_tableC * | tc, | ||
const char * | key, | ||
uint32_t | code | ||
) |
Definition at line 134 of file bufrdeco_tableC.c.
References bufrdeco_assert, bufr_descriptor::c, bufr_tableC::item, bufr_tableC_decoded_item::ival, bufr_tableC::num, uint32_t_to_descriptor(), bufr_descriptor::x, bufr_tableC::x_start, bufr_descriptor::y, and bufr_tableC_decoded_item::y.
Referenced by bufrdeco_explained_table_val().
int bufr_read_tableC | ( | struct bufrdeco * | b | ) |
Reads a file with table C content (Code table and bit flags) according with csv WMO format.
b | pointer to a target struct bufrdeco |
Definition at line 33 of file bufrdeco_tableC.c.
References BUFR_EXPLAINED_LENGTH, BUFR_MAXLINES_TABLEC, bufr_tables::c, CSV_MAXL, bufr_tableC_decoded_item::description, bufrdeco::error, bufr_tableC::item, bufr_tableC_decoded_item::ival, bufr_tableC_decoded_item::key, bufr_tableC::nlines, bufr_tableC::num, bufr_tableC::old_path, parse_csv_line(), bufr_tableC::path, bufrdeco::tables, uint32_t_to_descriptor(), bufr_tableC::wmo_table, bufr_descriptor::x, bufr_tableC_decoded_item::x, bufr_tableC::x_start, bufr_descriptor::y, bufr_tableC_decoded_item::y, and bufr_tableC::y_ref.
Referenced by bufr_read_tables().
char * bufrdeco_explained_flag_val | ( | char * | expl, |
size_t | dim, | ||
struct bufr_tableC * | tc, | ||
struct bufr_descriptor * | d, | ||
uint64_t | ival, | ||
uint8_t | nbits | ||
) |
Definition at line 200 of file bufrdeco_tableC.c.
References bufrdeco_assert, bufr_tableC_decoded_item::description, bufr_tableC::item, bufr_tableC_decoded_item::ival, bufr_tableC::num, bufr_descriptor::x, bufr_tableC_decoded_item::x, bufr_tableC::x_start, bufr_descriptor::y, bufr_tableC_decoded_item::y, and bufr_tableC::y_ref.
Referenced by bufrdeco_get_atom_data_from_compressed_data_ref(), and bufrdeco_tableB_val().
char * bufrdeco_explained_table_val | ( | char * | expl, |
size_t | dim, | ||
struct bufr_tableC * | tc, | ||
uint32_t * | index, | ||
struct bufr_descriptor * | d, | ||
uint32_t | ival | ||
) |
Definition at line 168 of file bufrdeco_tableC.c.
References bufr_find_tableC_csv_index(), bufrdeco_assert, bufr_descriptor::c, bufr_tableC_decoded_item::description, bufr_tableC::item, strncpy_safe, bufr_descriptor::x, bufr_tableC::x_start, bufr_descriptor::y, and bufr_tableC::y_ref.
Referenced by bufrdeco_get_atom_data_from_compressed_data_ref(), and bufrdeco_tableB_val().