|
Defines |
#define | UNIX_EPOCH 4383 |
#define | TAI2UNIX(day) ( (day) - UNIX_EPOCH ) |
#define | UNIX_SECONDS(unix_day, ms_of_day) ( 86400*(unix_day) + (ms_of_day) / 1000) |
#define | ROW_QUALITY_RECORD_SIZE ( sizeof(uint32_t) + sizeof(uint16_t) + sizeof(uint32_t) + 3*sizeof(uint8_t) ) |
#define | XRIT_DECODE(_buffer, _i) |
Functions |
void | xrit_resolution (int resolution) |
void | xrit_orientation (int orientation) |
int | read_xrit (const char *filename, uint16_t *counts, int *nsegments, xrit_header_t **xrit_header, xrit_rows_infos_t *rows_infos, MSG_Prologue *prologue, MSG_Epilogue *epilogue) |
| loads a buffer with an MSG/SEVIRI radiances XRIT file reads a file containing MSG radiances 2-bytes counts and stores them in the 'counts' buffer. Only the 'filename' argument is mandatory. The other ones may be set to NULL if they are not to be used. If xrit_header is not set to NULL, it shall have to be freed by free_xrit_header
|
void | free_xrit_header (xrit_header_t *xrit_header) |
| frees the 'xrit_header' linked list returned by read_xrit
|
void | print_xrit_header (xrit_header_t *xrit_header) |
| prints each element of the 'xrit_header' linked list (useful for debugging purposes)
|