Go to the documentation of this file.
34 #define MAX_BND N_VNIR_BND + N_IR_BND
35 #define MAX_FILES MAX_BND + 1
36 #define RAD_CGS_2_MKS 10.
37 #define SEC_PER_SCAN 1.7864
38 #define PI 3.141592654
42 #define ONBOARD_PT_FLOAT32_FILL -999.7
43 #define ONBOARD_PT_UINT16_FILL 65533
44 #define SOUB_UINT16_FILL 65528
45 #define ERR_UINT16_FILL 65531
46 #define MISS_UINT16_FILL 65534
47 #define MISS_FLOAT32_FILL -999.8
51 #define VIR_SCAN_AGSMP 0
52 #define VIR_SCAN_UASMP 1
53 #define VIR_SCAN_ANG 2
54 #define VIR_SCAN_AOI 3
340 int rd_sim_init(ctl_struc *, sdr_info_struc *, in_rec_struc *);
341 int rd_geo_init(ctl_struc *, sdr_info_struc *, in_rec_struc *);
342 int init_sdr(ctl_struc *, sdr_info_struc *, in_rec_struc *, out_rec_struc *);
343 int init_sdr_top(
int, sdr_info_struc *, out_rec_struc *);
344 int init_geo_data(sdr_info_struc *, in_rec_struc *, out_rec_struc *);
345 int init_bnd_data(
int, sdr_info_struc *, in_rec_struc *, out_rec_struc *);
348 int init_sdr_gran(
int, h5io_str *, sdr_info_struc *, out_rec_struc *);
349 int rd_sdr_scan(
int, ctl_struc *, sdr_info_struc *, in_rec_struc *);
350 int rd_geo_scan(
int, sdr_info_struc *, in_rec_struc *);
355 int fin_sdr(ctl_struc *, in_rec_struc *, out_rec_struc *);
357 int gen_sdr_fname(
int,
char *, sdr_info_struc *,
int,
char *);
359 int rhos_to_lt(
int,
float **, in_rec_struc *,
int, sdr_info_struc *);
360 int scan_cvt(in_rec_struc *, out_rec_struc *);
361 int ang_avg(
float,
float,
float,
float,
float *,
float *);
363 int viirs_oxt(ctl_struc *, in_rec_struc *);
370 int viirs_cal(ctl_struc *, in_rec_struc *);
373 int32_t
rdsensorinfo(int32_t, int32_t,
const char *,
void **);
375 int viirs_ext(ctl_struc *, in_rec_struc *);
381 int jd_c(
int,
int,
int);
382 int day2mday(
int,
int,
int *,
int *);
unsigned char * bnd_q[MAX_BND]
int mod_artifact(ctl_struc *, in_rec_struc *)
int viirs_ext(ctl_struc *, in_rec_struc *)
int viirs_oxt(ctl_struc *, in_rec_struc *)
h5io_str sdr_dat_gid[2][MAX_FILES]
int rhos_to_lt(int, float **, in_rec_struc *, int, sdr_info_struc *)
int init_sdr_dpattr(int, h5io_str *, sdr_info_struc *)
int rd_geo_scan(int, sdr_info_struc *, in_rec_struc *)
unsigned char * bnd_q[MAX_BND]
h5io_str bnd_dat_id[2][MAX_BND]
int init_bnd_data(int, sdr_info_struc *, in_rec_struc *, out_rec_struc *)
int rd_geo_init(ctl_struc *, sdr_info_struc *, in_rec_struc *)
int viirs_cal(ctl_struc *, in_rec_struc *)
int viirs_noise(ctl_struc *, in_rec_struc *, int)
int init_sdr(ctl_struc *, sdr_info_struc *, in_rec_struc *, out_rec_struc *)
int wr_geo_scan(int, out_rec_struc *)
h5io_str qual1_m_id[MAX_BND]
char sdr_files[MAX_FILES][200]
int wr_attr_seq(h5io_str *, int, h5attr_struc *)
unsigned char * qual1_m[MAX_BND]
unsigned long long uint64
h5io_str sdr_fid[MAX_FILES]
int rd_sim_init(ctl_struc *, sdr_info_struc *, in_rec_struc *)
int bnd_ix_2_sen_info(char *, void *)
char count_decal_gain_file[500]
int viirs_straylt_rd(char *, vir_straylt_struc *)
int fin_sdr(ctl_struc *, in_rec_struc *, out_rec_struc *)
int scan_cvt(in_rec_struc *, out_rec_struc *)
char out_bnd_typ[MAX_BND]
float refl_offset[MAX_BND]
int viirs_decal(ctl_struc *, in_rec_struc *)
char count_cal_rvs_file[500]
int check_usage(int, char *[], ctl_struc *)
int vset_cal_gain(char *, vir_gain_struc *)
int viirs_noise_coef_rd(char *, float *, float *, float *, float *)
int rd_sdr_scan(int, ctl_struc *, sdr_info_struc *, in_rec_struc *)
float refl_scale[MAX_BND]
char count_decal_rvs_file[500]
char count_cal_gain_file[500]
int vset_cal_rvs(char *, vir_rvs_struc *)
int init_sdr_agg(int, h5io_str *, sdr_info_struc *)
int init_sdr_top(int, sdr_info_struc *, out_rec_struc *)
int rd_rhos_scan(char *, int, int, int, float **)
unsigned char * gain_bit[MAX_BND]
int viirs_oxt_comp(ctl_struc *, in_rec_struc *)
int viirs_oxt_ib_read(char *, float *, float *)
int wr_sdr_scan(int, out_rec_struc *)
int viirs_straylt(ctl_struc *, in_rec_struc *, int)
int32_t rdsensorinfo(int32_t, int32_t, const char *, void **)
int init_geo_data(sdr_info_struc *, in_rec_struc *, out_rec_struc *)
int vir_xf_scan(float, int, int, float *)
int wr_bnd_scan(int, out_rec_struc *)
int viirs_sim_input(int, char *[], ctl_struc *)
int gen_const_rad_scn(sdr_info_struc *, int, in_rec_struc *)
int day2mday(int, int, int *, int *)
float bbt_2_rad(float, float)
int init_sdr_gran(int, h5io_str *, sdr_info_struc *, out_rec_struc *)
int ang_avg(float, float, float, float, float *, float *)
int gen_sdr_fname(int, char *, sdr_info_struc *, int, char *)