bufr2synop 0.24.0
|
decodes the descriptors with X = 14 (Radiation) More...
#include "bufr2tac.h"
Go to the source code of this file.
Functions | |
int | check_kj_m2 (double val) |
Check if a radiation value can be wrote in Kj/m2 using up to 4 chars. More... | |
int | check_j_cm2 (double val) |
Check if a radiation value can be wrote in J/cm2 using up to 4 chars. More... | |
int | syn_parse_x14 (struct synop_chunks *syn, struct bufr2tac_subset_state *s) |
Parse a expanded descriptor with X = 14. More... | |
int | buoy_parse_x14 (struct buoy_chunks *b, struct bufr2tac_subset_state *s) |
Parse a expanded descriptor with X = 14. More... | |
int | climat_parse_x14 (struct climat_chunks *c, struct bufr2tac_subset_state *s) |
Parse a expanded descriptor with X = 14. More... | |
decodes the descriptors with X = 14 (Radiation)
Definition in file bufr2tac_x14.c.
int buoy_parse_x14 | ( | struct buoy_chunks * | b, |
struct bufr2tac_subset_state * | s | ||
) |
Parse a expanded descriptor with X = 14.
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 467 of file bufr2tac_x14.c.
References bufr2tac_subset_state::a, BUFR2TAC_DEBUG_LEVEL, bufr2tac_set_error(), bufr_atom_data::desc, DESCRIPTOR_VALUE_MISSING, bufr_atom_data::mask, and bufr_descriptor::y.
Referenced by parse_subset_as_buoy().
int check_j_cm2 | ( | double | val | ) |
Check if a radiation value can be wrote in J/cm2 using up to 4 chars.
val | radiation value in J/m2 |
Returns 1 if success, 0 otherwise
Definition at line 45 of file bufr2tac_x14.c.
Referenced by syn_parse_x14().
int check_kj_m2 | ( | double | val | ) |
Check if a radiation value can be wrote in Kj/m2 using up to 4 chars.
val | radiation value in J/m2 |
Returns 1 if success, 0 otherwise
Definition at line 33 of file bufr2tac_x14.c.
Referenced by syn_parse_x14().
int climat_parse_x14 | ( | struct climat_chunks * | c, |
struct bufr2tac_subset_state * | s | ||
) |
Parse a expanded descriptor with X = 14.
c | pointer to a struct climat_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 497 of file bufr2tac_x14.c.
References bufr2tac_subset_state::a, BUFR2TAC_DEBUG_LEVEL, bufr2tac_set_error(), CLIMAT_SEC1, CLIMAT_SEC2, bufr_atom_data::desc, DESCRIPTOR_VALUE_MISSING, bufr2tac_subset_state::is_normal, bufr2tac_subset_state::ival, bufr_atom_data::mask, climat_chunks::mask, climat_sec1::pspsps, climat_chunks::s1, climat_sec1::S1S1S1, climat_sec2::S1S1S1, climat_chunks::s2, and bufr_descriptor::y.
Referenced by parse_subset_as_climat().
int syn_parse_x14 | ( | struct synop_chunks * | syn, |
struct bufr2tac_subset_state * | s | ||
) |
Parse a expanded descriptor with X = 14.
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 59 of file bufr2tac_x14.c.
References bufr2tac_subset_state::a, BUFR2TAC_DEBUG_LEVEL, bufr2tac_set_error(), check_j_cm2(), check_kj_m2(), bufr_atom_data::desc, DESCRIPTOR_VALUE_MISSING, synop_chunks::e, synop_sec3::FFFF, synop_sec3::FFFF24, synop_sec3::FFFF407, synop_sec3::FFFF408, synop_sec3::FFFF507, synop_sec3::FFFF508, report_date_ext::HH, synop_sec0::II, bufr2tac_subset_state::ival, synop_sec3::j5, synop_sec3::j524, bufr_atom_data::mask, synop_chunks::mask, synop_chunks::s0, synop_chunks::s3, synop_sec3::SS, synop_sec3::SSS, SYNOP_SEC3, time_period_duration(), bufr2tac_subset_state::val, and bufr_descriptor::y.
Referenced by parse_subset_as_synop().