OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
l1stat_proto.h
Go to the documentation of this file.
1 #ifndef STATPROTO_H
2 #define STATPROTO_H
3 
4 extern int32 read_cntldata
5 PROTO((char *control_file, char *fsttim, cntl1_str *gn1,
6  cntl1_str *gn2, cntl1_str *zero, cntl2_str *l1hicnt,
7  cntl2_str *l1locnt, float32 *nav_thresh1,
8  float32 *nav_thresh2, float32 *l1tilt_thresh,
9  float32 *pct_noise_thresh, float32 *pct_encrypt_thresh,
10  thr_ctl_def *thr_ctl, int16 *rpt_negtim));
11 
12 extern int32 l1file
13 PROTO((int32 sdfid, int32 *nsamp, int32 *nscans, int16 *dtynum));
14 
15 extern int32 chk_gn
16 PROTO((int32 sdfid, cntl1_str *gn1, cntl1_str *gn2, int16 dtynum,
17  int32 nsamps, int32 nscans));
18 
19 extern int32 chk_zero
20 PROTO((int32 sdfid, cntl1_str *zero_str, int32 nscans, int32 nsamp));
21 
22 extern void stat_exit
23 PROTO((int status));
24 
25 extern int32 rdattr
26 PROTO((int32 sdfid, char *attr_name, void *buf));
27 
28 extern int32 rdslice
29 PROTO((int32 sdfid, char *name, int32 *start, int32 *edge, void *buf));
30 
31 extern int32 chk_count
32 PROTO((int32 sdfid, int32 nscans, int32 nsamp, int16 dtynum,
33  cntl2_str *l1hicnt, cntl2_str *l1locnt, int *spike_cnt,
34  float *line_sd));
35 
36 extern void get_hicnt
37 PROTO((int32 nrec, int32 nsamp, int32 nbands, int16 *databuf,
38  cntl2_str *l1hicnt, int32 *hicnt));
39 
40 extern void get_lowcnt
41 PROTO((int32 nrec, int32 nsamp, int32 nbands, int16 *databuf,
42  cntl2_str *l1hicnt, int32 *lowcnt));
43 
44 extern int32 chk_nav
45 PROTO((int32 sdfid, int32 nscans, float32 nav_thresh1,
46  float32 nav_thresh2, int32 ntilts, int16 tilt_ranges[20][2],
47  int16 tilt_flags[20], int16 dtynum, int16 rpt_negtim));
48 
49 extern int32 chk_tilt
50 PROTO((int32 sdfid, int16 dtynum, float32 l1tilt_thresh,
51  int32 *ntilts, int16 tilt_ranges[20][2], int16 tilt_flags[20]));
52 
53 extern int geovex_(float32 *orb_vec, float32 *sen_mat, float32 *scan_ell,
54  float32 *sun_ref, float32 *v0);
55 
56 extern void ck_trng(char *);
57 
58 extern void anal_noise(int32, int32, int32, int32, int32, int16 *, int *,
59  float *, int32_t *, int32_t *);
60 
61 extern void rpt_noise(int32, int16, int32, int32, int *, float *,
62  float, float);
63 
64 extern void chk_inst_ana(int32, int32, thr_ctl_def);
65 
66 extern void chk_gainv(int32, int16, int32, thr_ctl_def);
67 
68 extern void chk_tdiv(int32, int16, int32, thr_ctl_def);
69 #endif /* STATPROTO_H */
int32 l1file(int32 sdfid, int32 *nsamp, int32 *nscans, int16 *dtynum)
Definition: l1stat_chk.c:586
integer, parameter int16
Definition: cubeio.f90:3
int32 rdslice(int32 sdfid, char *name, int32 *start, int32 *edge, void *buf)
Definition: stat_chk_utl.c:94
int status
Definition: l1_czcs_hdf.c:32
void chk_tdiv(int32, int16, int32, thr_ctl_def)
Definition: chk_tdiv.c:6
int32 chk_nav(int32 sdfid, int32 nscans, float32 nav_thresh1, float32 nav_thresh2, int32 ntilts, int16 tilt_ranges[20][2], int16 tilt_flags[20], int16 dtynum, int16 rpt_negtim)
Definition: l1stat_chk.c:1269
int rdattr(char *filename)
Definition: rdattr.c:34
void get_hicnt(int32 nrec, int32 nsamp, int32 nbands, int16 *databuf, cntl2_str *l1hicnt, int32 *hicnt)
Definition: l1stat_chk.c:1081
void get_lowcnt(int32 nrec, int32 nsamp, int32 nbands, int16 *databuf, cntl2_str *l1locnt, int32 *lowcnt)
Definition: l1stat_chk.c:1162
int32 chk_count(int32 sdfid, int32 nscans, int32 nsamp, int16 dtynum, cntl2_str *l1hicnt, cntl2_str *l1locnt, int *spike_cnt, float *line_sd)
Definition: l1stat_chk.c:894
int32 chk_zero(int32 sdfid, cntl1_str *zero_str, int32 nscans, int32 nsamp)
Definition: l1stat_chk.c:807
void stat_exit(int status)
Definition: l1stat_chk.c:1688
void rpt_noise(int32, int16, int32, int32, int *, float *, float, float)
Definition: rpt_noise.c:10
int32 read_cntldata PROTO((char *control_file, char *fsttim, cntl1_str *gn1, cntl1_str *gn2, cntl1_str *zero, cntl2_str *l1hicnt, cntl2_str *l1locnt, float32 *nav_thresh1, float32 *nav_thresh2, float32 *l1tilt_thresh, float32 *pct_noise_thresh, float32 *pct_encrypt_thresh, thr_ctl_def *thr_ctl, int16 *rpt_negtim))
int32 chk_tilt(int32 sdfid, int16 dtynum, float32 l1tilt_thresh, int32 *ntilts, int16 tilt_ranges[20][2], int16 *tilt_flags)
Definition: l1stat_chk.c:1622
void anal_noise(int32, int32, int32, int32, int32, int16 *, int *, float *, int32_t *, int32_t *)
Definition: anal_noise.c:7
int32_t nbands
void chk_inst_ana(int32, int32, thr_ctl_def)
Definition: chk_inst_ana.c:7
int geovex_(float32 *orb_vec, float32 *sen_mat, float32 *scan_ell, float32 *sun_ref, float32 *v0)
int scan_ell(float p[3], double sm[3][3], double coef[10])
void ck_trng(char *)
Definition: ck_trng.c:9
int32 read_cntldata(char *cntl_file, char *fsttim, cntl1_str *gn1, cntl1_str *gn2, cntl1_str *zero, cntl2_str *l1hicnt, cntl2_str *l1locnt, float32 *nav_thresh1, float32 *nav_thresh2, float32 *l1tilt_thresh, float32 *pct_noise_thresh, float32 *pct_encrypt_thresh, thr_ctl_def *thr_ctl, int16 *rpt_negtim)
Definition: l1stat_chk.c:276
void chk_gainv(int32, int16, int32, thr_ctl_def)
Definition: chk_gainv.c:6
int32 chk_gn(int32 sdfid, cntl1_str *gn1, cntl1_str *gn2, int16 dtynum, int32 nsamp, int32 nscans)
Definition: l1stat_chk.c:661