bufr2synop 0.24.0
|
decodes the descriptors with X = 07 (Vertical Position) More...
#include "bufr2tac.h"
Go to the source code of this file.
Functions | |
char * | grad_to_ec (char *target, double grad) |
Converts elevation in grads to ec (code table 1004) More... | |
int | syn_parse_x07 (struct synop_chunks *syn, struct bufr2tac_subset_state *s) |
Parse a expanded descriptor with X = 07. More... | |
int | buoy_parse_x07 (struct buoy_chunks *b, struct bufr2tac_subset_state *s) |
Parse a expanded descriptor with X = 07. More... | |
int | climat_parse_x07 (struct climat_chunks *c, struct bufr2tac_subset_state *s) |
int | temp_parse_x07 (struct temp_chunks *t, struct bufr2tac_subset_state *s) |
decodes the descriptors with X = 07 (Vertical Position)
Definition in file bufr2tac_x07.c.
int buoy_parse_x07 | ( | struct buoy_chunks * | b, |
struct bufr2tac_subset_state * | s | ||
) |
Parse a expanded descriptor with X = 07.
b | pointer to a struct buoy_chunks where to set the results |
s | pointer to a struct bufr2tac_subset_state where is stored needed information in sequential analysis |
It returns 0 if success, 1 if problems when processing. If a descriptor is not processed returns 0 anyway
Definition at line 164 of file bufr2tac_x07.c.
References bufr2tac_subset_state::a, BUFR2TAC_DEBUG_LEVEL, bufr2tac_set_error(), bufr2tac_subset_state::deep, bufr_atom_data::desc, DESCRIPTOR_VALUE_MISSING, bufr2tac_subset_state::i, bufr2tac_subset_state::k_rep, bufr2tac_subset_state::layer, bufr_atom_data::mask, bufr2tac_subset_state::val, and bufr_descriptor::y.
Referenced by parse_subset_as_buoy().
int climat_parse_x07 | ( | struct climat_chunks * | c, |
struct bufr2tac_subset_state * | s | ||
) |
Definition at line 208 of file bufr2tac_x07.c.
References bufr2tac_subset_state::a, bufr2tac_subset_state::alt, BUFR2TAC_DEBUG_LEVEL, bufr2tac_set_error(), bufr_atom_data::desc, DESCRIPTOR_VALUE_MISSING, bufr_atom_data::mask, bufr2tac_subset_state::val, and bufr_descriptor::y.
Referenced by parse_subset_as_climat().
char * grad_to_ec | ( | char * | target, |
double | grad | ||
) |
Converts elevation in grads to ec (code table 1004)
grad | the elevation angle (degrees) |
target | the resulting code |
Definition at line 32 of file bufr2tac_x07.c.
Referenced by syn_parse_x07().
int syn_parse_x07 | ( | struct synop_chunks * | syn, |
struct bufr2tac_subset_state * | s | ||
) |
Parse a expanded descriptor with X = 07.
syn | pointer to a struct synop_chunks where to set the results |
s | pointer to a struct bufr2tac_subset_state where is stored needed information in sequential analysis |
It returns 0 if success, 1 if problems when processing. If a descriptor is not processed returns 0 anyway
Definition at line 65 of file bufr2tac_x07.c.
References bufr2tac_subset_state::a, synop_sec1::a3, bufr2tac_subset_state::alt, BUFR2TAC_DEBUG_LEVEL, bufr2tac_set_error(), bufr_atom_data::desc, DESCRIPTOR_VALUE_MISSING, synop_sec3::ec, grad_to_ec(), synop_sec0::h0h0h0h0, bufr2tac_subset_state::hsensor, bufr2tac_subset_state::hwsensor, synop_sec0::im, bufr2tac_subset_state::ival, bufr_atom_data::mask, bufr2tac_subset_state::mask, synop_chunks::mask, synop_chunks::s0, synop_chunks::s1, synop_chunks::s3, SUBSET_MASK_HAVE_ALTITUDE, SYNOP_SEC3, bufr2tac_subset_state::val, and bufr_descriptor::y.
Referenced by parse_subset_as_synop().
int temp_parse_x07 | ( | struct temp_chunks * | t, |
struct bufr2tac_subset_state * | s | ||
) |
Definition at line 258 of file bufr2tac_x07.c.
References bufr2tac_subset_state::a, temp_chunks::a, bufr2tac_subset_state::alt, temp_chunks::b, BUFR2TAC_DEBUG_LEVEL, bufr2tac_set_error(), temp_chunks::c, temp_chunks::d, bufr_atom_data::desc, DESCRIPTOR_VALUE_MISSING, temp_acd_sec1::h0h0h0h0, temp_b_sec1::h0h0h0h0, bufr_atom_data::mask, temp_raw_data::n, temp_raw_wind_shear_data::n, temp_raw_point_data::p, temp_raw_wind_shear_point::p, bufr2tac_subset_state::r, temp_raw_data::raw, temp_raw_wind_shear_data::raw, bufr2tac_subset_state::rep, temp_a::s1, temp_b::s1, temp_c::s1, temp_d::s1, bufr2tac_subset_state::val, bufr2tac_subset_state::w, and bufr_descriptor::y.
Referenced by parse_subset_as_temp().