bufr2synop 0.24.0
|
file with the code to read table D data (code and flag tables) More...
#include "bufrdeco.h"
Go to the source code of this file.
Functions | |
int | bufr_read_tableD (struct bufrdeco *b) |
Reads a file with table D content according with WMO csv format. More... | |
int | bufr_find_tableD_index (buf_t *index, struct bufr_tableD *td, const char *key) |
int | bufrdeco_tableD_get_descriptors_array (struct bufr_sequence *s, struct bufrdeco *b, const char *key) |
get the descriptors array for a descriptor sequence defined in table D with F = 3 More... | |
file with the code to read table D data (code and flag tables)
Definition in file bufrdeco_tableD.c.
int bufr_find_tableD_index | ( | buf_t * | index, |
struct bufr_tableD * | td, | ||
const char * | key | ||
) |
Definition at line 169 of file bufrdeco_tableD.c.
References bufr_tableD::l, bufr_tableD::num, and bufr_tableD::x_start.
Referenced by bufrdeco_tableD_get_descriptors_array().
int bufr_read_tableD | ( | struct bufrdeco * | b | ) |
Reads a file with table D content according with WMO csv format.
b | pointer to a target struct bufrdeco |
Definition at line 32 of file bufrdeco_tableD.c.
References BUFR_MAXLINES_TABLED, CSV_MAXL, bufr_tables::d, bufr_tableD_decoded_item::description, bufr_tableD_decoded_item::description2, bufrdeco::error, bufr_tableD::item, bufr_tableD_decoded_item::key, bufr_tableD_decoded_item::key2, bufr_tableD::l, bufr_tableD::nlines, bufr_tableD::num, bufr_tableD::old_path, parse_csv_line(), bufr_tableD::path, bufrdeco::tables, uint32_t_to_descriptor(), bufr_tableD::wmo_table, bufr_descriptor::x, and bufr_tableD::x_start.
Referenced by bufr_read_tables().
int bufrdeco_tableD_get_descriptors_array | ( | struct bufr_sequence * | s, |
struct bufrdeco * | b, | ||
const char * | key | ||
) |
get the descriptors array for a descriptor sequence defined in table D with F = 3
s | target struct bufr_sequence |
b | pointer to the basic container struct bufrdeco |
key | string in the form FXXYYY which is the key of descriptor we want to find out, F = 3 |
Definition at line 211 of file bufrdeco_tableD.c.
References bufr_find_tableD_index(), bufrdeco_assert, bufr_tables::d, bufr_tableD_decoded_item::description, bufrdeco::error, bufr_tableD::item, bufr_tableD::l, bufr_sequence::lseq, bufr_sequence::name, bufr_sequence::ndesc, bufr_tableD::nlines, bufrdeco::tables, and uint32_t_to_descriptor().
Referenced by bufrdeco_parse_tree_recursive().