| bufr2synop 0.24.0
    | 
file with the code to parse a sequence of descriptors for a subset More...
#include "bufr2tac.h"
Go to the source code of this file.
| Functions | |
| int | find_descriptor (int *haystack, size_t nlst, int needle) | 
| Try to find a descriptor in an array.  More... | |
| int | find_descriptor_interval (int *haystack, size_t nlst, int needlemin, int needlemax) | 
| 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.  More... | |
file with the code to parse a sequence of descriptors for a subset
Definition in file bufr2tac_sqparse.c.
| int find_descriptor | ( | int * | haystack, | 
| size_t | nlst, | ||
| int | needle | ||
| ) | 
Try to find a descriptor in an array.
| haystack | array of integers as descriptors | 
| nlst | number of descriptors in array | 
| needle | descriptor to find | 
it returns 1 if found, 0 otherwise.
Definition at line 35 of file bufr2tac_sqparse.c.
Referenced by parse_subset_sequence().

| int find_descriptor_interval | ( | int * | haystack, | 
| size_t | nlst, | ||
| int | needlemin, | ||
| int | needlemax | ||
| ) | 
Definition at line 59 of file bufr2tac_sqparse.c.
Referenced by parse_subset_sequence().

| 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.
| m | pointer to a struct metreport where to set the data | 
| sq | pointer to a struct bufr_subset_sequence_data where the values for sequence of descriptors for a subset has been decoded | 
| st | pointer to a struct bufr2tac_subset_state | 
| kdtlst | array of integers with descriptors | 
| nlst | number of descriptors in kdtlst | 
| ksec1 | array of auxiliar integers decoded by bufrdc ECMWF library | 
| err | string where to write errors if any | 
Definition at line 81 of file bufr2tac_sqparse.c.
References BUFR2TAC_DEBUG_LEVEL, bufr2tac_print_error(), bufr2tac_subset_state::e, find_descriptor(), find_descriptor_interval(), parse_subset_as_buoy(), parse_subset_as_climat(), parse_subset_as_synop(), parse_subset_as_temp(), print_buoy_report(), print_climat_report(), print_synop_report(), print_temp_report(), and bufr2tac_subset_state::type_report.
Referenced by bufrtotac_parse_subset_sequence().

