sdata.h
Go to the documentation of this file.
40 /* all the fields below are redundant, and are different expressions (or parts) of the same timestamp.
45 time_t unix_time; /* representation of the timestamp in number of seconds since the Unix Epoch */
46 long index_of_day; /* representation of the timestamp in number of days since the Unix Epoch (starts at 0) */
58 int nrecords; /* number of records (one record is a SDATA_RECORD object). One record may contain several pixels with the same time index (it). */
59 int npixels; /* total number of pixels (SDATA_PIXEL objects) in the SDATA file (sum of the pixels of all the records) */
69 int it; /* index of observation (the record number to which the pixel belongs in the SDATA file) */
71 long index_of_day; /* representation of the timestamp in number of days since the Unix Epoch (starts at 0) */
78 double hobs; /* height of the observation (same as hgr_km for AERONET, different for satellites) */
95 double dphi[SDATA_MAX_NWL][SDATA_MAX_NIP][SDATA_MAX_KNBVM]; /* relative azimuth angle, dphi = phis - phiv (aka raa) */
96 double groundpar[SDATA_MAX_NWL][SDATA_MAX_NSURF]; /* only the first nsurf indices of MAX_NSURF are valid */
98 int ifcov[SDATA_MAX_NWL][SDATA_MAX_NIP]; /* presence (0 - 1) of covariant matrix in input data */
100 int ifmp[SDATA_MAX_NWL][SDATA_MAX_NIP]; /* presence (0 - 1) of molecular profile in input data */
101 double mprof[SDATA_MAX_NWL][SDATA_MAX_NIP][SDATA_MAX_KVERTM]; /* vertical profile of Rayleigh Backscattering */
113 double p11_rel_ang[SDATA_MAX_NWL][SDATA_MAX_NBVM]; /* p44 phase matrix element (meas_type = 27) */
127 double I_rel_sum[SDATA_MAX_NWL][SDATA_MAX_NBVM]; /* Polarization sqrt(Q*Q + U*U) (meas_type = 45) */
128 double P_rel[SDATA_MAX_NWL][SDATA_MAX_NBVM]; /* Polarization sqrt(Q*Q + U*U) (meas_type = 46) */
130 double p11_intd[SDATA_MAX_NWL][SDATA_MAX_NBVM]; /* p11 integrated phase matrix element (meas_type = 51) */
131 double p11_intd_cut_off_1[SDATA_MAX_NWL][SDATA_MAX_NBVM]; /* p11 integrated phase matrix element (meas_type = 52) */
132 double p11_intd_cut_off_2[SDATA_MAX_NWL][SDATA_MAX_NBVM]; /* p11 integrated phase matrix element (meas_type = 53) */
133 double p11_intd_cut_off_3[SDATA_MAX_NWL][SDATA_MAX_NBVM]; /* p11 integrated phase matrix element (meas_type = 54) */
134 double p11_intd_cut_off_4[SDATA_MAX_NWL][SDATA_MAX_NBVM]; /* p11 integrated phase matrix element (meas_type = 55) */
142 extern void sdata_print_header(FILE *output_stream, const char *label, const SDATA_HEADER *header);
143 extern void sdata_print_pixel(FILE *output_stream, const char *label, const SDATA_PIXEL *pixel);
149 extern int sdata_load_box(SDATA_HANDLE *handle, const grasp_driver_settings_t *user_settings, grasp_box_t **ibox);
Definition: grasp_driver_settings.h:21
Definition: sdata.h:39
struct SDATA_PIXEL_ SDATA_PIXEL
double mprof[SDATA_MAX_NWL][SDATA_MAX_NIP][SDATA_MAX_KVERTM]
Definition: sdata.h:101
Definition: sdata-impl.h:61
const char * sdata_get_file_name(const SDATA_HANDLE *handle)
Definition: sdata.c:541
int sdata_get_header(const SDATA_HANDLE *handle, SDATA_HEADER *header)
Definition: sdata.c:530
struct SDATA_TIME_LIMITS_ SDATA_TIME_LIMITS
double p11_intd_cut_off_4[SDATA_MAX_NWL][SDATA_MAX_NBVM]
Definition: sdata.h:134
double thetav[SDATA_MAX_NWL][SDATA_MAX_NIP][SDATA_MAX_KNBVM]
Definition: sdata.h:94
void sdata_print_pixel(FILE *output_stream, const char *label, const SDATA_PIXEL *pixel)
Definition: sdata.c:685
void sdata_dump_pixel(FILE *output_stream, const SDATA_PIXEL *pixel)
Definition: sdata.c:2089
double p11_intd_cut_off_2[SDATA_MAX_NWL][SDATA_MAX_NBVM]
Definition: sdata.h:132
void sdata_print_header(FILE *output_stream, const char *label, const SDATA_HEADER *header)
Definition: sdata.c:562
int sdata_dump_file(FILE *output_stream, const char *sdata_file)
Definition: sdata.c:2397
struct SDATA_HEADER_ SDATA_HEADER
void sdata_dump_record(FILE *output_stream, SDATA_RECORD *record)
Definition: sdata.c:2077
void sdata_dump_header(FILE *output_stream, const SDATA_HEADER *header)
Definition: sdata.c:551
Definition: sdata.h:49
double p11_intd_cut_off_3[SDATA_MAX_NWL][SDATA_MAX_NBVM]
Definition: sdata.h:133
Definition: sdata.h:65
Definition: sdata-impl.h:52
double cmtrx[SDATA_MAX_NWL][SDATA_MAX_NIP][SDATA_MAX_KNBVM]
Definition: sdata.h:99
Definition: grasp_box.c:29
Definition: sdata.h:54
int sdata_load_box(SDATA_HANDLE *handle, const grasp_driver_settings_t *user_settings, grasp_box_t **ibox)
Definition: sdata.c:2536
struct SDATA_TIMESTAMP_ SDATA_TIMESTAMP
double p11_intd_cut_off_1[SDATA_MAX_NWL][SDATA_MAX_NBVM]
Definition: sdata.h:131