bufr2synop 0.24.0
|
Include header file for binary bufrtotac. More...
Go to the source code of this file.
Functions | |
void | bufrtotac_print_version (void) |
void | bufrtotac_print_usage (void) |
int | bufrtotac_set_bufrdeco_bitmask (struct bufrdeco *b) |
Set the bufrdeco struct bitmask according with readed args from shell. More... | |
int | bufrtotac_read_args (int _argc, char *_argv[]) |
char * | get_bufrfile_path (char *filename, char *fileoffset, char *err) |
int | bufrtotac_parse_subset_sequence (struct metreport *m, struct bufr2tac_subset_state *st, struct bufrdeco *b, char *err) |
Variables | |
struct bufrdeco | BUFR |
struct bufrdeco_subset_sequence_data | SEQ |
struct bufrdeco_compressed_data_references | REF |
struct metreport | REPORT |
struct bufr2tac_subset_state | STATE |
struct bufr2tac_error_stack | ERRS |
const char | SELF [] |
char | ERR [256] |
char | INPUTFILE [256] |
char | OUTPUTFILE [256] |
char | OFFSETFILE [BUFRDECO_PATH_LENGTH+8] |
char | BUFRTABLES_DIR [256] |
char | LISTOFFILES [256] |
int | NFILES |
int | SUBSET |
int | GTS_HEADER |
int | XML |
int | JSON |
int | CSV |
int | EXTRACT |
int | DEBUG |
int | VERBOSE |
int | SHOW_SEQUENCE |
int | HTML |
int | NOTAC |
int | PRINT_WIGOS_ID |
int | PRINT_GEO |
int | FIRST_SUBSET |
int | LAST_SUBSET |
int | READ_OFFSETS |
int | WRITE_OFFSETS |
int | USE_CACHE |
int | PRINT_JSON_DATA |
int | PRINT_JSON_SEC0 |
int | PRINT_JSON_SEC1 |
int | PRINT_JSON_SEC2 |
int | PRINT_JSON_SEC3 |
int | PRINT_JSON_EXPANDED_TREE |
FILE * | FL |
FILE * | OUT |
Include header file for binary bufrtotac.
Definition in file bufrtotac.h.
int bufrtotac_parse_subset_sequence | ( | struct metreport * | m, |
struct bufr2tac_subset_state * | st, | ||
struct bufrdeco * | b, | ||
char * | err | ||
) |
Definition at line 356 of file bufrtotac_io.c.
References bufr2tac_clean_metreport(), bufr_sec1::category, descriptor_to_integer(), metreport::h, bufrdeco::header, bufr_sec3::ndesc, parse_subset_sequence(), PRINT_BITMASK_GEO, PRINT_BITMASK_WIGOS, PRINT_GEO, metreport::print_mask, PRINT_WIGOS_ID, bufrdeco::sec1, bufrdeco::sec3, bufrdeco::seq, bufr_sec1::subcategory_local, SUBSET, metreport::subset, and bufr_sec3::unexpanded.
Referenced by main().
void bufrtotac_print_usage | ( | void | ) |
Definition at line 31 of file bufrtotac_io.c.
References bufrtotac_print_version(), and SELF.
Referenced by bufrtotac_read_args().
void bufrtotac_print_version | ( | void | ) |
Definition at line 124 of file bufrtotac_io.c.
References bufr2tac_get_version(), bufrdeco_get_version(), bufrtotac_get_version(), SELF, and VERSION.
Referenced by bufrtotac_print_usage(), and bufrtotac_read_args().
int bufrtotac_read_args | ( | int | _argc, |
char * | _argv[] | ||
) |
Definition at line 145 of file bufrtotac_io.c.
References bufr2tac_set_debug_level(), BUFRTABLES_DIR, bufrtotac_print_usage(), bufrtotac_print_version(), CSV, DEBUG, EXTRACT, FIRST_SUBSET, HTML, INPUTFILE, JSON, LAST_SUBSET, LISTOFFILES, NFILES, NOTAC, OFFSETFILE, OUT, OUTPUTFILE, PRINT_GEO, PRINT_JSON_DATA, PRINT_JSON_EXPANDED_TREE, PRINT_JSON_SEC0, PRINT_JSON_SEC1, PRINT_JSON_SEC2, PRINT_JSON_SEC3, PRINT_WIGOS_ID, READ_OFFSETS, SHOW_SEQUENCE, USE_CACHE, VERBOSE, WRITE_OFFSETS, and XML.
Referenced by main().
int bufrtotac_set_bufrdeco_bitmask | ( | struct bufrdeco * | b | ) |
Set the bufrdeco struct bitmask according with readed args from shell.
b | Pointer to struct bufrdeco already inited |
Definition at line 463 of file bufrtotac_io.c.
References bufrdeco_assert, BUFRDECO_OUTPUT_HTML, BUFRDECO_OUTPUT_JSON_EXPANDED_TREE, BUFRDECO_OUTPUT_JSON_SEC0, BUFRDECO_OUTPUT_JSON_SEC1, BUFRDECO_OUTPUT_JSON_SEC2, BUFRDECO_OUTPUT_JSON_SEC3, BUFRDECO_OUTPUT_JSON_SUBSET_DATA, BUFRDECO_USE_TABLES_CACHE, HTML, bufrdeco::mask, PRINT_JSON_DATA, PRINT_JSON_EXPANDED_TREE, PRINT_JSON_SEC0, PRINT_JSON_SEC1, PRINT_JSON_SEC2, PRINT_JSON_SEC3, and USE_CACHE.
Referenced by main().
char * get_bufrfile_path | ( | char * | filename, |
char * | fileoffset, | ||
char * | err | ||
) |
Definition at line 419 of file bufrtotac_io.c.
References BUFRDECO_PATH_LENGTH, FL, INPUTFILE, LISTOFFILES, and NFILES.
Referenced by main().
|
extern |
Definition at line 25 of file bufrdeco_json.c.
Referenced by main().
|
extern |
Directory for BUFR tables set by user
Definition at line 96 of file bufrtotac.c.
Referenced by bufrtotac_read_args(), and main().
|
extern |
If == 1 then output is in csv format
Definition at line 108 of file bufrtotac.c.
Referenced by bufrtotac_read_args(), and main().
|
extern |
Show debug information
Definition at line 103 of file bufrtotac.c.
Referenced by bufrtotac_read_args(), and main().
|
extern |
< the name of this binary string with an error
Definition at line 95 of file bufrtotac.c.
Referenced by main().
|
extern |
struct to store warnings and errors
Definition at line 92 of file bufrtotac.c.
|
extern |
if != 0 then the decoder tries to extract an embebed bufr in a file seraching for a first '7777' after first 'BUFR'
Definition at line 26 of file bufrdeco_json.c.
Referenced by bufrtotac_read_args(), main(), and read_args().
|
extern |
First subset to parse
First subset index in output. First available is 0
Definition at line 34 of file bufrdeco_json.c.
Referenced by bufrtotac_read_args(), main(), and read_args().
|
extern |
Buffer to read the list of files
Definition at line 128 of file bufrtotac.c.
Referenced by get_bufrfile_path().
|
extern |
If == 1 GTS header have been guessed from filename
Definition at line 105 of file bufrtotac.c.
Referenced by main().
|
extern |
If == 1 then output is in HTML format
Definition at line 111 of file bufrtotac.c.
Referenced by bufrtotac_read_args(), bufrtotac_set_bufrdeco_bitmask(), and main().
|
extern |
The pathname of input file
Definition at line 98 of file bufrtotac.c.
Referenced by bufrtotac_read_args(), get_bufrfile_path(), and main().
|
extern |
If == 1 then output is in json format
Definition at line 107 of file bufrtotac.c.
Referenced by bufrtotac_read_args(), and main().
int LAST_SUBSET |
Definition at line 55 of file bufrtotac.h.
|
extern |
The pathname of a file which includes a list of bufr files to parse
Definition at line 97 of file bufrtotac.c.
Referenced by bufrtotac_read_args(), and get_bufrfile_path().
|
extern |
The amount of files processed
Definition at line 104 of file bufrtotac.c.
Referenced by bufrtotac_read_args(), get_bufrfile_path(), and main().
|
extern |
if == 1 then do not decode to TAC
Definition at line 112 of file bufrtotac.c.
Referenced by bufrtotac_read_args(), and main().
|
extern |
Definition at line 99 of file bufrtotac.c.
Referenced by bufrtotac_read_args(), and main().
|
extern |
Buffer to write to OUTPUTFILE
Definition at line 129 of file bufrtotac.c.
Referenced by bufrtotac_read_args(), and main().
|
extern |
The pathname of output file
Definition at line 100 of file bufrtotac.c.
Referenced by bufrtotac_read_args(), and main().
|
extern |
if != 0 then print latitude, longitude and altitude
Definition at line 116 of file bufrtotac.c.
Referenced by bufrtotac_parse_subset_sequence(), and bufrtotac_read_args().
|
extern |
If != 0 then the data subset is in json format
Definition at line 121 of file bufrtotac.c.
Referenced by bufrtotac_read_args(), and bufrtotac_set_bufrdeco_bitmask().
|
extern |
If != 0 Prints expanded tree in json format
Definition at line 33 of file bufrdeco_json.c.
Referenced by bufrtotac_read_args(), bufrtotac_set_bufrdeco_bitmask(), main(), read_args(), and set_bufrdeco_mask().
|
extern |
If != 0 Prints Sec 0 information in json format
Definition at line 28 of file bufrdeco_json.c.
Referenced by bufrtotac_read_args(), bufrtotac_set_bufrdeco_bitmask(), read_args(), and set_bufrdeco_mask().
|
extern |
If != 0 Prints Sec 1 information in json format
Definition at line 29 of file bufrdeco_json.c.
Referenced by bufrtotac_read_args(), bufrtotac_set_bufrdeco_bitmask(), read_args(), and set_bufrdeco_mask().
|
extern |
If != 0 Prints Sec 2 information in json format
Definition at line 30 of file bufrdeco_json.c.
Referenced by bufrtotac_read_args(), bufrtotac_set_bufrdeco_bitmask(), read_args(), and set_bufrdeco_mask().
|
extern |
If != 0 Prints Sec 3 information in json format
Definition at line 31 of file bufrdeco_json.c.
Referenced by bufrtotac_read_args(), bufrtotac_set_bufrdeco_bitmask(), read_args(), and set_bufrdeco_mask().
|
extern |
if != 0 then print wigos id in output
Definition at line 115 of file bufrtotac.c.
Referenced by bufrtotac_parse_subset_sequence(), and bufrtotac_read_args().
|
extern |
if != then read bit offsets
Definition at line 117 of file bufrtotac.c.
Referenced by bufrtotac_read_args(), and main().
|
extern |
Definition at line 41 of file update_tableD.c.
Referenced by main().
|
extern |
|
extern |
Definition at line 94 of file bufrtotac.c.
Referenced by bufrtotac_print_usage(), bufrtotac_print_version(), main(), and print_usage().
|
extern |
|
extern |
Output explained sequence
Definition at line 102 of file bufrtotac.c.
Referenced by bufrtotac_read_args().
|
extern |
Includes the info when parsing a subset sequence
Definition at line 91 of file bufrtotac.c.
Referenced by main().
|
extern |
Index of subset in a BUFR being parsed
Definition at line 120 of file bufrtotac.c.
Referenced by bufrtotac_parse_subset_sequence(), and main().
|
extern |
if != 0 then use cache of tables
Definition at line 119 of file bufrtotac.c.
Referenced by bufrtotac_read_args(), and bufrtotac_set_bufrdeco_bitmask().
|
extern |
If != 0 the verbose output
Definition at line 192 of file bufrnoaa.c.
Referenced by bufrtotac_read_args(), main(), and read_args().
|
extern |
if != 0 then write bit offsets
Definition at line 118 of file bufrtotac.c.
Referenced by bufrtotac_read_args(), and main().
|
extern |
If == 1 then output is in xml format
Definition at line 106 of file bufrtotac.c.
Referenced by bufrtotac_read_args(), and main().