OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
l3stat_proto.h
Go to the documentation of this file.
1 #ifndef STATPROTO_H
2 #define STATPROTO_H
3 
4 extern int32_t read_cntldata(char *cntl_file, cntl_str *databinchk,
5  cntl_str *grschk, cntl_str *statchk, int32_t *wtchk,
6  clim_str *climchk);
7 
8 extern int32_t l3file(int32_t sdfid, int32_t c_sdfid, int32_t *nbins, int32_t *c_nbins,
9  char *ptype);
10 
11 extern int32_t chk_databin(int32_t sdfid, cntl_str *databinchk);
12 
13 extern int32_t l3data_chk(char *clim_file, int32_t fid, int32_t nbins, int32_t c_nbins,
14  int32_t c_fid, cntl_str *grschk, cntl_str *statchk,
15  clim_str *climchk);
16 
17 extern void stat_exit(int status);
18 
19 extern int32_t chk_weight(int32_t fid, int32_t nbins);
20 
21 extern int32_t get_wtcnt(int32_t vsid, char *vsname, int32_t start, int32_t elts,
22  float *wt_buf);
23 
24 extern double calc_sd(double xmean, float wts, int16_t nseg, float sumxx);
25 
26 extern void pr_grs_results(cntl_str *grschk, int32_t nbins, double *value1,
27  double *value2);
28 
29 extern void pr_stat_results(cntl_str *statchk, int32_t nbins, double *sumxbar,
30  double *sumsd, double *, double *);
31 
32 extern void pr_clim_results(char *clim_file, clim_str *climchk, double npts,
33  double *num1Hstd, double *num1Lstd, double *num2Hstd,
34  double *num2Lstd, double *num3Hstd, double *num3Lstd);
35 
36 extern int32_t pr_error(char *label, int32_t nvals, int32_t nvals_read);
37 
38 extern int32_t rdattr(int32_t sdfid, char *attr_name, void *buf);
39 
40 extern int32_t get_vsid(int32_t fid, char *vs_name);
41 
42 #endif /* STATPROTO_H */
void pr_grs_results(cntl_str *grschk, int32_t nbins, double *value1, double *value2)
int status
Definition: l1_czcs_hdf.c:32
void stat_exit(int status)
Definition: l1stat_chk.c:1688
int32_t rdattr(int32_t sdfid, char *attr_name, void *buf)
Definition: l3stat_chk.c:853
int32_t l3data_chk(char *clim_file, int32_t fid, int32_t nbins, int32_t c_nbins, int32_t c_fid, cntl_str *grschk, cntl_str *statchk, clim_str *climchk)
Definition: l3stat_chk.c:552
void pr_clim_results(char *clim_file, clim_str *climchk, double npts, double *num1Hstd, double *num1Lstd, double *num2Hstd, double *num2Lstd, double *num3Hstd, double *num3Lstd)
int32_t read_cntldata(char *cntl_file, cntl_str *databinchk, cntl_str *grschk, cntl_str *statchk, int32_t *wtchk, clim_str *climchk)
Definition: l3stat_chk.c:229
int32_t get_vsid(int32_t fid, char *vs_name)
Definition: l3stat_chk.c:950
int32_t chk_databin(int32_t sdfid, cntl_str *databinchk)
Definition: l3stat_chk.c:402
double calc_sd(double xmean, float wts, int16_t nseg, float sumxx)
int32_t chk_weight(int32_t fid, int32_t nbins)
Definition: l3stat_chk.c:451
int32_t pr_error(char *label, int32_t nvals, int32_t nvals_read)
Definition: l3stat_chk.c:880
int32_t nvals
void pr_stat_results(cntl_str *statchk, int32_t nbins, double *sumxbar, double *sumsd, double *, double *)
int32_t l3file(int32_t sdfid, int32_t c_sdfid, int32_t *nbins, int32_t *c_nbins, char *ptype)
Definition: l3stat_chk.c:347
int32_t get_wtcnt(int32_t vsid, char *vsname, int32_t start, int32_t elts, float *wt_buf)