ocssw  1.0
Defines | Functions | Variables
/disk01/web/ocssw/build/src/auto_qc/l1stat_chk/l1stat_chk.c File Reference

(r8106/r4879)

#include "l1stat.h"
#include "l1stat_proto.h"
#include <libgen.h>

Go to the source code of this file.

Defines

#define SET   1

Functions

int main (int argc, char *argv[])
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)
int32 l1file (int32 sdfid, int32 *nsamp, int32 *nscans, int16 *dtynum)
int32 chk_gn (int32 sdfid, cntl1_str *gn1, cntl1_str *gn2, int16 dtynum, int32 nsamp, int32 nscans)
int32 chk_zero (int32 sdfid, cntl1_str *zero_str, int32 nscans, int32 nsamp)
int32 chk_count (int32 sdfid, int32 nscans, int32 nsamp, int16 dtynum, cntl2_str *l1hicnt, cntl2_str *l1locnt, int *spike_cnt, float *line_sd)
void get_hicnt (int32 nrec, int32 nsamp, int32 nbands, int16 *databuf, cntl2_str *l1hicnt, int32 *hicnt)
void get_lowcnt (int32 nrec, int32 nsamp, int32 nbands, int16 *databuf, cntl2_str *l1locnt, int32 *lowcnt)
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)
int32 chk_tilt (int32 sdfid, int16 dtynum, float32 l1tilt_thresh, int32 *ntilts, int16 tilt_ranges[20][2], int16 *tilt_flags)
void stat_exit (int status)

Variables

char err_msg [1024]
int32 stat_status = 0
char bad_stat_str [320]

Define Documentation

#define SET   1

Definition at line 5 of file l1stat_chk.c.


Function Documentation

int32 chk_count ( int32  sdfid,
int32  nscans,
int32  nsamp,
int16  dtynum,
cntl2_str l1hicnt,
cntl2_str l1locnt,
int *  spike_cnt,
float *  line_sd 
)

Definition at line 998 of file l1stat_chk.c.

int32 chk_gn ( int32  sdfid,
cntl1_str gn1,
cntl1_str gn2,
int16  dtynum,
int32  nsamp,
int32  nscans 
)

Definition at line 751 of file l1stat_chk.c.

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 at line 1393 of file l1stat_chk.c.

int32 chk_tilt ( int32  sdfid,
int16  dtynum,
float32  l1tilt_thresh,
int32 *  ntilts,
int16  tilt_ranges[20][2],
int16 *  tilt_flags 
)

Definition at line 1774 of file l1stat_chk.c.

int32 chk_zero ( int32  sdfid,
cntl1_str zero_str,
int32  nscans,
int32  nsamp 
)

Definition at line 907 of file l1stat_chk.c.

void get_hicnt ( int32  nrec,
int32  nsamp,
int32  nbands,
int16 *  databuf,
cntl2_str l1hicnt,
int32 *  hicnt 
)

Definition at line 1204 of file l1stat_chk.c.

void get_lowcnt ( int32  nrec,
int32  nsamp,
int32  nbands,
int16 *  databuf,
cntl2_str l1locnt,
int32 *  lowcnt 
)

Definition at line 1285 of file l1stat_chk.c.

int32 l1file ( int32  sdfid,
int32 *  nsamp,
int32 *  nscans,
int16 *  dtynum 
)

Definition at line 659 of file l1stat_chk.c.

int main ( int  argc,
char *  argv[] 
)

Definition at line 13 of file l1stat_chk.c.

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 at line 288 of file l1stat_chk.c.

void stat_exit ( int  status)

Definition at line 1847 of file l1stat_chk.c.


Variable Documentation

char bad_stat_str[320]

Definition at line 11 of file l1stat_chk.c.

char err_msg[1024]

Definition at line 7 of file l1stat_chk.c.

int32 stat_status = 0

Definition at line 8 of file l1stat_chk.c.