38 while ( ( i < nlst ) && ( haystack[i] != needle ) )
63 while ( ( i < nlst ) && ( haystack[i] > needlemax || haystack[i] < needlemin ) )
99 ksec1[6] == 0 || ksec1[6] == 1 || ksec1[6] == 2 )
105 ksec1[6] == 3 || ksec1[6] == 4 || ksec1[6] == 5 )
151 sprintf ( err,
"The data category %d is not parsed at the moment", ksec1[5] );
158 sprintf ( err,
"Cannot find the report type\n" );
197 else if ( strcmp ( st->
type_report,
"CLIMAT" ) == 0 )
Include header file for binary bufr2tac.
int parse_subset_as_synop(struct metreport *m, struct bufr2tac_subset_state *s, struct bufr_subset_sequence_data *sq, char *err)
parses a subset sequence as an Land fixed SYNOP FM-12, SHIP FM-13 or SYNOP-mobil FM-14 report
#define bufr_subset_sequence_data
To use bufrdeco library with legacy old code using ECMWF library which is not used currently.
int print_buoy_report(struct metreport *m)
prints a buoy into a string
int parse_subset_as_temp(struct metreport *m, struct bufr2tac_subset_state *s, struct bufr_subset_sequence_data *sq, char *err)
int print_climat_report(struct metreport *m)
prints a climat into a string
int parse_subset_as_climat(struct metreport *m, struct bufr2tac_subset_state *s, struct bufr_subset_sequence_data *sq, char *err)
int print_synop_report(struct metreport *m)
prints a synop into a string
int bufr2tac_print_error(struct bufr2tac_error_stack *e)
int parse_subset_as_buoy(struct metreport *m, struct bufr2tac_subset_state *s, struct bufr_subset_sequence_data *sq, char *err)
int print_temp_report(struct metreport *m)
print the four parts of a decoded TEMP report from a BUFR file into strings
int find_descriptor(int *haystack, size_t nlst, int needle)
Try to find a descriptor in an array.
int parse_subset_sequence(struct metreport *m, struct bufr_subset_sequence_data *sq, struct bufr2tac_subset_state *st, int *kdtlst, size_t nlst, int *ksec1, char *err)
Parse a sequence of expanded descriptors for a subset.
int find_descriptor_interval(int *haystack, size_t nlst, int needlemin, int needlemax)
stores information needed to parse a sequential list of expanded descriptors for a subset
struct bufr2tac_error_stack e
all the information for a meteorological report in WMO text format from a BUFR file