bufr2synop 0.24.0
|
file with the code to print data or any output from library decobufr in html format More...
#include "bufrdeco.h"
Go to the source code of this file.
Functions | |
int | sprint_sec0_info_html (char *target, size_t lmax, struct bufrdeco *b) |
Prints info from sec0 in html format. More... | |
int | sprint_sec1_info_html (char *target, size_t lmax, struct bufrdeco *b) |
Prints info from sec1. More... | |
int | sprint_sec3_info_html (char *target, size_t lmax, struct bufrdeco *b) |
Prints info from sec3 formatted as html. More... | |
int | sprint_sec4_info_html (char *target, size_t lmax, struct bufrdeco *b) |
Prints info from sec4. More... | |
char * | bufrdeco_print_atom_data_html (char *target, size_t lmax, struct bufr_atom_data *a, uint32_t ss) |
print the data in a struct bufr_atom_data to a string as cells of table rows More... | |
int | bufrdeco_fprint_subset_sequence_data_html (FILE *f, struct bufrdeco_subset_sequence_data *s) |
int | bufrdeco_print_subset_sequence_data_html (struct bufrdeco_subset_sequence_data *s) |
int | bufrdeco_fprint_subset_sequence_data_tagged_html (FILE *f, struct bufrdeco_subset_sequence_data *s, char *id) |
int | bufrdeco_print_subset_sequence_data_tagged_html (struct bufrdeco_subset_sequence_data *s, char *id) |
file with the code to print data or any output from library decobufr in html format
Definition in file bufrdeco_print_html.c.
int bufrdeco_fprint_subset_sequence_data_html | ( | FILE * | f, |
struct bufrdeco_subset_sequence_data * | s | ||
) |
Definition at line 241 of file bufrdeco_print_html.c.
References bufrdeco_assert, bufrdeco_print_atom_data_html(), bufrdeco_subset_sequence_data::nd, bufrdeco_subset_sequence_data::sequence, and bufrdeco_subset_sequence_data::ss.
Referenced by bufrdeco_print_subset_sequence_data_html().
int bufrdeco_fprint_subset_sequence_data_tagged_html | ( | FILE * | f, |
struct bufrdeco_subset_sequence_data * | s, | ||
char * | id | ||
) |
Definition at line 279 of file bufrdeco_print_html.c.
References bufrdeco_assert, bufrdeco_print_atom_data_html(), bufrdeco_subset_sequence_data::nd, bufrdeco_subset_sequence_data::sequence, and bufrdeco_subset_sequence_data::ss.
Referenced by bufrdeco_print_subset_sequence_data_tagged_html().
char * bufrdeco_print_atom_data_html | ( | char * | target, |
size_t | lmax, | ||
struct bufr_atom_data * | a, | ||
uint32_t | ss | ||
) |
print the data in a struct bufr_atom_data to a string as cells of table rows
target | string where to print the result |
lmax | dimension of target |
a | pointer to struct ref bufr_atom_data with data to print |
ss | index of subset in bufr |
Definition at line 160 of file bufrdeco_print_html.c.
References bufr_atom_data::bitmap_to, bufrdeco_assert, bufr_atom_data::ctable, bufr_atom_data::cval, bufr_atom_data::desc, DESCRIPTOR_HAVE_CODE_TABLE_STRING, DESCRIPTOR_HAVE_FLAG_TABLE_STRING, DESCRIPTOR_HAVE_STRING_VALUE, DESCRIPTOR_VALUE_MISSING, bufr_atom_data::escale, bufr_descriptor::f, get_formatted_value_from_escale(), bufr_atom_data::is_bitmaped_by, bufr_atom_data::mask, bufr_atom_data::name, bufr_atom_data::related_to, bufr_atom_data::unit, bufr_atom_data::val, bufr_descriptor::x, and bufr_descriptor::y.
Referenced by bufrdeco_fprint_subset_sequence_data_html(), and bufrdeco_fprint_subset_sequence_data_tagged_html().
int bufrdeco_print_subset_sequence_data_html | ( | struct bufrdeco_subset_sequence_data * | s | ) |
Definition at line 265 of file bufrdeco_print_html.c.
References bufrdeco_assert, and bufrdeco_fprint_subset_sequence_data_html().
int bufrdeco_print_subset_sequence_data_tagged_html | ( | struct bufrdeco_subset_sequence_data * | s, |
char * | id | ||
) |
Definition at line 306 of file bufrdeco_print_html.c.
References bufrdeco_assert, and bufrdeco_fprint_subset_sequence_data_tagged_html().
Referenced by main().
int sprint_sec0_info_html | ( | char * | target, |
size_t | lmax, | ||
struct bufrdeco * | b | ||
) |
Prints info from sec0 in html format.
target | string target |
lmax | available size in target |
b | pointer to the source struct bufrdeco |
Definition at line 34 of file bufrdeco_print_html.c.
References bufr_sec0::bufr_length, bufrdeco_assert, bufr_sec0::edition, and bufrdeco::sec0.
Referenced by sprint_sec0_info().
int sprint_sec1_info_html | ( | char * | target, |
size_t | lmax, | ||
struct bufrdeco * | b | ||
) |
Prints info from sec1.
target | string target |
lmax | available size in target |
b | pointer to the source struct bufrdeco |
Definition at line 55 of file bufrdeco_print_html.c.
References bufr_tables::b, bufrdeco_assert, bufr_tables::c, bufr_sec1::category, bufr_sec1::centre, bufr_tables::d, bufr_sec1::day, bufr_sec0::edition, bufr_sec1::hour, bufr_sec1::length, bufr_sec1::master, bufr_sec1::master_local, bufr_sec1::master_version, bufr_sec1::minute, bufr_sec1::month, bufr_sec1::options, bufr_tableB::path, bufr_tableC::path, bufr_tableD::path, bufrdeco::sec0, bufrdeco::sec1, bufr_sec1::second, bufr_sec1::subcategory, bufr_sec1::subcategory_local, bufr_sec1::subcentre, bufrdeco::tables, bufr_sec1::update, and bufr_sec1::year.
Referenced by sprint_sec1_info().
int sprint_sec3_info_html | ( | char * | target, |
size_t | lmax, | ||
struct bufrdeco * | b | ||
) |
Prints info from sec3 formatted as html.
target | string target |
lmax | available size in target |
b | pointer to the source struct bufrdeco |
Definition at line 104 of file bufrdeco_print_html.c.
References bufrdeco_assert, bufr_sec3::compressed, bufr_descriptor::f, bufr_sec3::length, bufr_sec3::ndesc, bufr_sec3::observed, bufrdeco::sec3, bufr_sec3::subsets, bufr_sec3::unexpanded, bufr_descriptor::x, and bufr_descriptor::y.
Referenced by sprint_sec3_info().
int sprint_sec4_info_html | ( | char * | target, |
size_t | lmax, | ||
struct bufrdeco * | b | ||
) |
Prints info from sec4.
target | string target |
lmax | available size in target |
b | pointer to the source struct bufrdeco |
Definition at line 136 of file bufrdeco_print_html.c.
References bufrdeco_assert, bufr_sec4::length, and bufrdeco::sec4.
Referenced by sprint_sec4_info().