bufr2synop 0.24.0
|
decodes the descriptors with X = 10 (air pressure) More...
#include "bufr2tac.h"
Go to the source code of this file.
Functions | |
char * | pascal_to_ppp (char *target, double P) |
Converts pascal values (variation) into a ppp string. More... | |
char * | pascal_to_pnpnpn (char *target, double P) |
char * | pascal_to_PPPP (char *target, double P) |
Converts pascal values into a PPPP string. More... | |
int | syn_parse_x10 (struct synop_chunks *syn, struct bufr2tac_subset_state *s) |
Parse a expanded descriptor with X = 10. More... | |
int | buoy_parse_x10 (struct buoy_chunks *b, struct bufr2tac_subset_state *s) |
Parse a expanded descriptor with X = 10. More... | |
int | climat_parse_x10 (struct climat_chunks *c, struct bufr2tac_subset_state *s) |
Parse a expanded descriptor with X = 10. More... | |
int | temp_parse_x10 (struct temp_chunks *t, struct bufr2tac_subset_state *s) |
Parse a expanded descriptor with X = 10. More... | |
decodes the descriptors with X = 10 (air pressure)
Definition in file bufr2tac_x10.c.
int buoy_parse_x10 | ( | struct buoy_chunks * | b, |
struct bufr2tac_subset_state * | s | ||
) |
Parse a expanded descriptor with X = 10.
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 161 of file bufr2tac_x10.c.
References bufr2tac_subset_state::a, buoy_sec1::a, BUFR2TAC_DEBUG_LEVEL, bufr2tac_set_error(), BUOY_SEC1, bufr_atom_data::desc, DESCRIPTOR_VALUE_MISSING, bufr2tac_subset_state::ival, bufr_atom_data::mask, buoy_chunks::mask, pascal_to_ppp(), pascal_to_PPPP(), buoy_sec1::PoPoPoPo, buoy_sec1::ppp, buoy_sec1::PPPP, buoy_chunks::s1, bufr2tac_subset_state::val, and bufr_descriptor::y.
Referenced by parse_subset_as_buoy().
int climat_parse_x10 | ( | struct climat_chunks * | c, |
struct bufr2tac_subset_state * | s | ||
) |
Parse a expanded descriptor with X = 10.
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 214 of file bufr2tac_x10.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::isq_val, bufr2tac_subset_state::ival, bufr_atom_data::mask, climat_chunks::mask, pascal_to_PPPP(), climat_sec1::PoPoPoPo, climat_sec2::PoPoPoPo, climat_sec1::PPPP, climat_sec2::PPPP, climat_chunks::s1, climat_chunks::s2, bufr2tac_subset_state::val, and bufr_descriptor::y.
Referenced by parse_subset_as_climat().
char * pascal_to_pnpnpn | ( | char * | target, |
double | P | ||
) |
Definition at line 47 of file bufr2tac_x10.c.
Referenced by parse_temp_raw_data().
char * pascal_to_ppp | ( | char * | target, |
double | P | ||
) |
Converts pascal values (variation) into a ppp string.
P | the pressure variation in Pascal units |
target | string with the result |
Definition at line 32 of file bufr2tac_x10.c.
Referenced by buoy_parse_x10(), and syn_parse_x10().
char * pascal_to_PPPP | ( | char * | target, |
double | P | ||
) |
Converts pascal values into a PPPP string.
P | the pressure variation in Pascal units |
target | string with the result |
Definition at line 69 of file bufr2tac_x10.c.
Referenced by buoy_parse_x10(), climat_parse_x10(), and syn_parse_x10().
int syn_parse_x10 | ( | struct synop_chunks * | syn, |
struct bufr2tac_subset_state * | s | ||
) |
Parse a expanded descriptor with X = 10.
syn | pointer to a s if ( BUFR2TAC_DEBUG_LEVEL > 0 ) bufr2tac_set_error ( s, 0, "syn_parse_x08()", "Descriptor not parsed" ); truct 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 87 of file bufr2tac_x10.c.
References bufr2tac_subset_state::a, synop_sec1::a, BUFR2TAC_DEBUG_LEVEL, bufr2tac_set_error(), bufr_atom_data::desc, DESCRIPTOR_VALUE_MISSING, synop_sec1::hhh, bufr2tac_subset_state::ival, bufr_atom_data::mask, synop_chunks::mask, pascal_to_ppp(), pascal_to_PPPP(), synop_sec1::PoPoPoPo, synop_sec1::ppp, synop_sec3::ppp24, synop_sec1::PPPP, synop_chunks::s1, synop_chunks::s3, synop_sec3::snp24, SYNOP_SEC1, SYNOP_SEC3, bufr2tac_subset_state::val, and bufr_descriptor::y.
Referenced by parse_subset_as_synop().
int temp_parse_x10 | ( | struct temp_chunks * | t, |
struct bufr2tac_subset_state * | s | ||
) |
Parse a expanded descriptor with X = 10.
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 297 of file bufr2tac_x10.c.
References bufr2tac_subset_state::a, BUFR2TAC_DEBUG_LEVEL, bufr2tac_set_error(), bufr_atom_data::desc, DESCRIPTOR_VALUE_MISSING, temp_raw_point_data::h, bufr_atom_data::mask, temp_raw_data::n, bufr2tac_subset_state::r, temp_raw_data::raw, bufr2tac_subset_state::rep, bufr2tac_subset_state::val, and bufr_descriptor::y.
Referenced by parse_subset_as_temp().