bufr2synop 0.24.0
|
decodes the descriptors with X = 12 (Temperature) More...
#include "bufr2tac.h"
Go to the source code of this file.
Functions | |
char * | kelvin_to_snTTT (char *target, double T) |
converts a kelvin temperature value into a snTTT string More... | |
char * | kelvin_to_snTT (char *target, double T) |
converts a kelvin temperature value into a snTT string More... | |
char * | kelvin_to_TT (char *target, double T) |
converts a kelvin temperature value into a TT string More... | |
char * | kelvin_to_TTTT (char *target, double T) |
converts a kelvin temperature value into a TTTT string More... | |
char * | kelvin_to_TTTa (char *target, double T) |
Set temperature TTTa. More... | |
char * | dewpoint_depression_to_DnDn (char *target, double T, double Td) |
Set DnDn (dewpoint depression) More... | |
int | syn_parse_x12 (struct synop_chunks *syn, struct bufr2tac_subset_state *s) |
Parse a expanded descriptor with X = 12. More... | |
int | buoy_parse_x12 (struct buoy_chunks *b, struct bufr2tac_subset_state *s) |
Parse a expanded descriptor with X = 12. More... | |
int | climat_parse_x12 (struct climat_chunks *c, struct bufr2tac_subset_state *s) |
Parse a expanded descriptor with X = 12. More... | |
int | temp_parse_x12 (struct temp_chunks *t, struct bufr2tac_subset_state *s) |
Parse a expanded descriptor with X = 12. More... | |
decodes the descriptors with X = 12 (Temperature)
Definition in file bufr2tac_x12.c.
int buoy_parse_x12 | ( | struct buoy_chunks * | b, |
struct bufr2tac_subset_state * | s | ||
) |
Parse a expanded descriptor with X = 12.
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 466 of file bufr2tac_x12.c.
References bufr2tac_subset_state::a, BUFR2TAC_DEBUG_LEVEL, bufr2tac_set_error(), BUOY_SEC1, bufr_atom_data::desc, DESCRIPTOR_VALUE_MISSING, kelvin_to_snTTT(), bufr_atom_data::mask, buoy_chunks::mask, buoy_chunks::s1, buoy_sec1::sn1, buoy_sec1::sn2, buoy_sec1::TdTdTd, buoy_sec1::TTT, bufr2tac_subset_state::val, and bufr_descriptor::y.
Referenced by parse_subset_as_buoy().
int climat_parse_x12 | ( | struct climat_chunks * | c, |
struct bufr2tac_subset_state * | s | ||
) |
Parse a expanded descriptor with X = 12.
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 526 of file bufr2tac_x12.c.
References bufr2tac_subset_state::a, bufr2tac_subset_state::a1, BUFR2TAC_DEBUG_LEVEL, bufr2tac_set_error(), CLIMAT_SEC1, CLIMAT_SEC2, CLIMAT_SEC4, bufr2tac_subset_state::day, bufr_atom_data::desc, DESCRIPTOR_VALUE_MISSING, bufr2tac_subset_state::is_normal, bufr2tac_subset_state::isq_val, kelvin_to_snTTT(), bufr_atom_data::mask, climat_chunks::mask, bufr2tac_subset_state::more_days, climat_sec1::s, climat_sec2::s, climat_chunks::s1, climat_chunks::s2, climat_chunks::s4, climat_sec4::san, climat_sec4::sax, climat_sec1::sn, climat_sec2::sn, climat_sec4::sn, climat_sec1::ststst, climat_sec2::ststst, climat_sec1::sx, climat_sec2::sx, climat_sec4::sx, climat_sec4::Tan, climat_sec4::Tax, climat_sec4::Tnd, climat_sec1::TnTnTn, climat_sec2::TnTnTn, climat_sec1::TTT, climat_sec2::TTT, climat_sec4::Txd, climat_sec1::TxTxTx, climat_sec2::TxTxTx, bufr2tac_subset_state::val, bufr_descriptor::x, bufr_descriptor::y, climat_sec4::yan, climat_sec4::yax, climat_sec4::yn, and climat_sec4::yx.
Referenced by parse_subset_as_climat().
char * dewpoint_depression_to_DnDn | ( | char * | target, |
double | T, | ||
double | Td | ||
) |
Set DnDn (dewpoint depression)
target | string to set as result |
T | temperature (Kelvin) |
Td | dewpoint (Kelvin) |
Definition at line 179 of file bufr2tac_x12.c.
References MISSING_REAL.
Referenced by parse_temp_raw_data().
char * kelvin_to_snTT | ( | char * | target, |
double | T | ||
) |
converts a kelvin temperature value into a snTT string
T | the temperature ( Kelvin ) |
target | string with the result |
Definition at line 69 of file bufr2tac_x12.c.
Referenced by syn_parse_x12().
char * kelvin_to_snTTT | ( | char * | target, |
double | T | ||
) |
converts a kelvin temperature value into a snTTT string
T | the temperature ( Kelvin ) |
target | string with the result |
Definition at line 32 of file bufr2tac_x12.c.
Referenced by buoy_parse_x12(), buoy_parse_x22(), climat_parse_x12(), syn_parse_x12(), syn_parse_x22(), and temp_parse_x22().
char * kelvin_to_TT | ( | char * | target, |
double | T | ||
) |
converts a kelvin temperature value into a TT string
T | the temperature ( Kelvin ) |
target | string with the result |
Definition at line 96 of file bufr2tac_x12.c.
Referenced by syn_parse_x12().
char * kelvin_to_TTTa | ( | char * | target, |
double | T | ||
) |
Set temperature TTTa.
target | result as string |
T | temperature (kelvin) |
Definition at line 147 of file bufr2tac_x12.c.
References MISSING_REAL.
Referenced by parse_temp_raw_data().
char * kelvin_to_TTTT | ( | char * | target, |
double | T | ||
) |
converts a kelvin temperature value into a TTTT string
T | the temperature ( Kelvin ) |
target | string with the result |
Definition at line 123 of file bufr2tac_x12.c.
Referenced by buoy_parse_x22().
int syn_parse_x12 | ( | struct synop_chunks * | syn, |
struct bufr2tac_subset_state * | s | ||
) |
Parse a expanded descriptor with X = 12.
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 220 of file bufr2tac_x12.c.
References bufr2tac_subset_state::a, synop_sec0::A1, BUFR2TAC_DEBUG_LEVEL, bufr2tac_set_error(), bufr_atom_data::desc, DESCRIPTOR_VALUE_MISSING, synop_sec3::E, synop_sec3::E1, bufr2tac_subset_state::hsensor, bufr2tac_subset_state::itval, synop_sec3::jjj, kelvin_to_snTT(), kelvin_to_snTTT(), kelvin_to_TT(), bufr_atom_data::mask, synop_chunks::mask, synop_chunks::s0, synop_chunks::s1, synop_chunks::s2, synop_chunks::s3, synop_sec1::sn1, synop_sec1::sn2, synop_sec3::snn, synop_sec3::snx, synop_sec2::sw, SYNOP_SEC1, SYNOP_SEC2, SYNOP_SEC3, synop_sec2::TbTbTb, synop_sec1::TdTdTd, time_period_duration(), synop_sec3::TnTnTn, synop_sec1::TTT, synop_sec3::TxTxTx, bufr2tac_subset_state::val, synop_sec3::XoXoXoXo, and bufr_descriptor::y.
Referenced by parse_subset_as_synop().
int temp_parse_x12 | ( | struct temp_chunks * | t, |
struct bufr2tac_subset_state * | s | ||
) |
Parse a expanded descriptor with X = 12.
t | pointer to a struct temp_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 751 of file bufr2tac_x12.c.
References bufr2tac_subset_state::a, BUFR2TAC_DEBUG_LEVEL, bufr2tac_set_error(), bufr_atom_data::desc, DESCRIPTOR_VALUE_MISSING, bufr_atom_data::mask, MISSING_REAL, temp_raw_data::n, bufr2tac_subset_state::r, temp_raw_data::raw, bufr2tac_subset_state::rep, temp_raw_point_data::T, temp_raw_point_data::Td, bufr2tac_subset_state::val, and bufr_descriptor::y.
Referenced by parse_subset_as_temp().