bufr2synop 0.24.0
|
file with the code to print the results for buoy reports More...
#include "bufr2tac.h"
Go to the source code of this file.
Functions | |
size_t | print_buoy_sec0 (char **sec0, size_t lmax, struct buoy_chunks *b) |
Prints the buoy section 1. More... | |
size_t | print_buoy_sec1 (char **sec1, size_t lmax, struct buoy_chunks *b) |
Prints the buoy section 1. More... | |
size_t | print_buoy_sec2 (char **sec2, size_t lmax, struct buoy_chunks *b) |
Prints the buoy section 1. More... | |
size_t | print_buoy_sec3 (char **sec3, size_t lmax, struct buoy_chunks *b) |
Prints the buoy section 3. More... | |
size_t | print_buoy_wigos_id (char **wid, size_t lmax, struct buoy_chunks *b) |
int | print_buoy_report (struct metreport *m) |
prints a buoy into a string More... | |
file with the code to print the results for buoy reports
Definition in file bufr2tac_print_buoy.c.
int print_buoy_report | ( | struct metreport * | m | ) |
prints a buoy into a string
m | pointer to struct metreport where are both target and source |
If OK returns 0, otherwise 1
Definition at line 392 of file bufr2tac_print_buoy.c.
References metreport::alphanum, metreport::buoy, BUOY_SEC1, BUOY_SEC2, BUOY_SEC3, buoy_chunks::e, buoy_chunks::mask, PRINT_BITMASK_GEO, PRINT_BITMASK_WIGOS, print_buoy_sec0(), print_buoy_sec1(), print_buoy_sec2(), print_buoy_sec3(), print_geo(), metreport::print_mask, print_wigos_id(), and report_date_ext::YYYY.
Referenced by parse_subset_sequence().
size_t print_buoy_sec0 | ( | char ** | sec0, |
size_t | lmax, | ||
struct buoy_chunks * | b | ||
) |
Prints the buoy section 1.
sec0 | the pointer where to print section |
lmax | max length permited |
b | pointer to s atruct buoy_chunks where the parse results are set |
Definition at line 33 of file bufr2tac_print_buoy.c.
References buoy_sec0::A1, buoy_sec0::bw, buoy_sec0::D_D, report_date_ext::DD, buoy_chunks::e, buoy_sec0::GG, buoy_sec0::gg, report_date_ext::HH, buoy_sec0::iw, buoy_sec0::J, buoy_sec0::LaLaLaLaLa, buoy_sec0::LoLoLoLoLoLo, buoy_sec0::MiMi, buoy_sec0::MjMj, buoy_sec0::MM, report_date_ext::MM, report_date_ext::mm, buoy_sec0::nbnbnb, buoy_sec0::QA, buoy_sec0::Qc, buoy_sec0::Ql, buoy_sec0::Qt, buoy_chunks::s0, buoy_sec0::YY, and report_date_ext::YYYY.
Referenced by print_buoy_report().
size_t print_buoy_sec1 | ( | char ** | sec1, |
size_t | lmax, | ||
struct buoy_chunks * | b | ||
) |
Prints the buoy section 1.
sec1 | the pointer where to print section |
lmax | max length permited |
b | pointer to s atruct buoy_chunks where the parse results are set |
Definition at line 111 of file bufr2tac_print_buoy.c.
References buoy_sec1::a, BUOY_SEC1, buoy_sec1::dd, buoy_sec1::ff, buoy_chunks::mask, buoy_sec1::PoPoPoPo, buoy_sec1::ppp, buoy_sec1::PPPP, buoy_sec1::Qd, buoy_sec1::Qx, buoy_chunks::s1, buoy_sec1::sn1, buoy_sec1::sn2, buoy_sec1::TdTdTd, and buoy_sec1::TTT.
Referenced by print_buoy_report().
size_t print_buoy_sec2 | ( | char ** | sec2, |
size_t | lmax, | ||
struct buoy_chunks * | b | ||
) |
Prints the buoy section 1.
sec2 | the pointer where to print section |
lmax | max length permited |
b | pointer to s atruct buoy_chunks where the parse results are set |
Definition at line 212 of file bufr2tac_print_buoy.c.
References BUOY_SEC2, buoy_sec2::HwaHwa, buoy_sec2::HwaHwaHwa, buoy_chunks::mask, buoy_sec2::PwaPwa, buoy_sec2::PwaPwaPwa, buoy_sec2::Qd, buoy_sec2::Qx, buoy_chunks::s2, buoy_sec2::sn, and buoy_sec2::TwTwTw.
Referenced by print_buoy_report().
size_t print_buoy_sec3 | ( | char ** | sec3, |
size_t | lmax, | ||
struct buoy_chunks * | b | ||
) |
Prints the buoy section 3.
sec3 | the pointer where to print section |
lmax | max length permited |
b | pointer to s atruct buoy_chunks where the parse results are set |
Definition at line 295 of file bufr2tac_print_buoy.c.
References BUOY_SEC3, b_sec3_layer2::ccc, b_sec3_layer2::dd, buoy_sec3::k2, buoy_sec3::k3, buoy_sec3::k6, buoy_sec3::l1, buoy_sec3::l2, buoy_chunks::mask, buoy_sec3::Qd1, buoy_sec3::Qd2, buoy_chunks::s3, b_sec3_layer1::SSSS, b_sec3_layer1::TTTT, b_sec3_layer1::zzzz, and b_sec3_layer2::zzzz.
Referenced by print_buoy_report().
size_t print_buoy_wigos_id | ( | char ** | wid, |
size_t | lmax, | ||
struct buoy_chunks * | b | ||
) |
Definition at line 367 of file bufr2tac_print_buoy.c.
References wigos_id::issue, wigos_id::issuer, wigos_id::local_id, wigos_id::series, and buoy_chunks::wid.