43 strcpy ( syn->
s1.
ix,
"/" );
53 strcpy ( syn->
s0.
iw,
"0" );
54 else if ( s->
ival == 8 )
55 strcpy ( syn->
s0.
iw,
"1" );
56 else if ( s->
ival == 4 )
57 strcpy ( syn->
s0.
iw,
"3" );
58 else if ( s->
ival == 12 )
59 strcpy ( syn->
s0.
iw,
"4" );
98 strcpy ( b->
s0.
iw,
"4" );
100 strcpy ( b->
s0.
iw,
"1" );
104 if ( b->
s3.
k3[0] == 0 && s->
ival < 10 )
106 sprintf ( caux,
"%d", s->
ival );
107 b->
s3.
k3[0] = caux[0];
114 sprintf ( caux,
"%d", s->
ival );
115 b->
s3.
k2[0] = caux[0];
121 if ( b->
s3.
k6[0] == 0 )
123 sprintf ( caux,
"%d", s->
ival );
124 b->
s3.
k6[0] = caux[0];
163 strcpy ( c->
s4.
iw,
"4" );
165 strcpy ( c->
s4.
iw,
"1" );
197 sprintf ( t->
b.
s1.
a4,
"/" );
212 sprintf ( t->
b.
s1.
a4,
"%d", s->
ival + 1 );
215 strcpy ( t->
b.
s1.
a4,
"9" );
223 sprintf ( t->
a.
s7.
rara,
"//" );
224 sprintf ( t->
b.
s7.
rara,
"//" );
225 sprintf ( t->
c.
s7.
rara,
"//" );
226 sprintf ( t->
d.
s7.
rara,
"//" );
241 strcpy ( t->
a.
s7.
sr,
"/" );
242 strcpy ( t->
b.
s7.
sr,
"/" );
243 strcpy ( t->
c.
s7.
sr,
"/" );
244 strcpy ( t->
d.
s7.
sr,
"/" );
258 strcpy ( t->
a.
s7.
sr,
"/" );
259 strcpy ( t->
b.
s7.
sr,
"/" );
260 strcpy ( t->
c.
s7.
sr,
"/" );
261 strcpy ( t->
d.
s7.
sr,
"/" );
274 if ( s->
ival >= 0 && s->
ival < 100 )
Include header file for binary bufr2tac.
int bufr2tac_set_error(struct bufr2tac_subset_state *s, int severity, char *origin, char *explanation)
#define SUBSET_MASK_HAVE_TYPE_STATION
Bit mask to mark a struct bufr_subset_sequence_data having type station information.
int syn_parse_x02(struct synop_chunks *syn, struct bufr2tac_subset_state *s)
Parse a expanded descriptor with X = 02.
int climat_parse_x02(struct climat_chunks *c, struct bufr2tac_subset_state *s)
Parse a expanded descriptor with X = 02.
int buoy_parse_x02(struct buoy_chunks *b, struct bufr2tac_subset_state *s)
Parse a expanded descriptor with X = 02.
int temp_parse_x02(struct temp_chunks *t, struct bufr2tac_subset_state *s)
Parse a expanded descriptor with X = 02.
#define DESCRIPTOR_VALUE_MISSING
Bit mask for a missing value in a struct bufr_atom_data.
#define BUOY_SEC3
mask bit meaning section 3 of buoy is solicited to or parsed with success
stores information needed to parse a sequential list of expanded descriptors for a subset
struct bufr_atom_data * a
struct bufr_descriptor desc
contains all possible substrings from a synop report is parsed with success
contains all possible substrings from a synop report is parsed with success
contains all possible substrings from a synop report is parsed with success
Store the whole TEMP report.