ocssw
V2022
|
#include <time.h>
#include <math.h>
#include <hdf4utils.h>
#include "l3stat.h"
#include "l3lists.h"
#include "l3stat_proto.h"
#include "hist_proto.h"
#include <hdf.h>
#include <mfhdf.h>
Go to the source code of this file.
Macros | |
#define | NEG_FLAG -9.1E6 |
Functions | |
int | main (int argc, char *argv[]) |
int32_t | read_cntldata (char *cntl_file, cntl_str *databinchk, cntl_str *grschk, cntl_str *statchk, int32_t *wtchk, clim_str *climchk) |
int32_t | l3file (int32_t sdfid, int32_t c_sdfid, int32_t *nbins, int32_t *c_nbins, char *ptype) |
int32_t | chk_databin (int32_t sdfid, cntl_str *databinchk) |
int32_t | chk_weight (int32_t fid, int32_t nbins) |
int32_t | l3data_chk (char *clim_file, int32_t fid, int32_t c_fid, int32_t nbins, int32_t c_nbins, cntl_str *grschk, cntl_str *statchk, clim_str *climchk) |
void | stat_exit (int status) |
int32_t | rdattr (int32_t sdfid, char *attr_name, void *buf) |
int32_t | pr_error (char *label, int32_t nvals, int32_t nvals_read) |
int32_t | get_wtcnt (int32_t vsid, char *fld_name, int32_t start, int32_t elts, float32 *wt_buf) |
int32_t | get_vsid (int32_t fid, char *vs_name) |
float64 | calc_sd (float64 xmean, float32 wts, int16 nseg, float32 sumxx) |
void | pr_grs_results (cntl_str *grschk, int32_t nbins, float64 *value1, float64 *value2) |
void | pr_stat_results (cntl_str *statchk, int32_t nbins, float64 *sumxbar, float64 *sumsd, float64 *loparm, float64 *hiparm) |
void | pr_clim_results (char *clim_file, clim_str *climchk, float64 npts, float64 *num1Hstd, float64 *num1Lstd, float64 *num2Hstd, float64 *num2Lstd, float64 *num3Hstd, float64 *num3Lstd) |
Macro Definition Documentation
◆ NEG_FLAG
#define NEG_FLAG -9.1E6 |
Definition at line 16 of file l3stat_chk.c.
Function Documentation
◆ calc_sd()
float64 calc_sd | ( | float64 | xmean, |
float32 | wts, | ||
int16 | nseg, | ||
float32 | sumxx | ||
) |
Definition at line 990 of file l3stat_chk.c.
◆ chk_databin()
int32_t chk_databin | ( | int32_t | sdfid, |
cntl_str * | databinchk | ||
) |
Definition at line 402 of file l3stat_chk.c.
◆ chk_weight()
int32_t chk_weight | ( | int32_t | fid, |
int32_t | nbins | ||
) |
Definition at line 451 of file l3stat_chk.c.
◆ get_vsid()
int32_t get_vsid | ( | int32_t | fid, |
char * | vs_name | ||
) |
Definition at line 950 of file l3stat_chk.c.
◆ get_wtcnt()
int32_t get_wtcnt | ( | int32_t | vsid, |
char * | fld_name, | ||
int32_t | start, | ||
int32_t | elts, | ||
float32 * | wt_buf | ||
) |
Definition at line 913 of file l3stat_chk.c.
◆ l3data_chk()
int32_t l3data_chk | ( | char * | clim_file, |
int32_t | fid, | ||
int32_t | c_fid, | ||
int32_t | nbins, | ||
int32_t | c_nbins, | ||
cntl_str * | grschk, | ||
cntl_str * | statchk, | ||
clim_str * | climchk | ||
) |
Definition at line 552 of file l3stat_chk.c.
◆ l3file()
int32_t l3file | ( | int32_t | sdfid, |
int32_t | c_sdfid, | ||
int32_t * | nbins, | ||
int32_t * | c_nbins, | ||
char * | ptype | ||
) |
Definition at line 347 of file l3stat_chk.c.
◆ main()
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 18 of file l3stat_chk.c.
◆ pr_clim_results()
void pr_clim_results | ( | char * | clim_file, |
clim_str * | climchk, | ||
float64 | npts, | ||
float64 * | num1Hstd, | ||
float64 * | num1Lstd, | ||
float64 * | num2Hstd, | ||
float64 * | num2Lstd, | ||
float64 * | num3Hstd, | ||
float64 * | num3Lstd | ||
) |
Definition at line 1149 of file l3stat_chk.c.
◆ pr_error()
int32_t pr_error | ( | char * | label, |
int32_t | nvals, | ||
int32_t | nvals_read | ||
) |
Definition at line 880 of file l3stat_chk.c.
◆ pr_grs_results()
void pr_grs_results | ( | cntl_str * | grschk, |
int32_t | nbins, | ||
float64 * | value1, | ||
float64 * | value2 | ||
) |
Definition at line 1030 of file l3stat_chk.c.
◆ pr_stat_results()
void pr_stat_results | ( | cntl_str * | statchk, |
int32_t | nbins, | ||
float64 * | sumxbar, | ||
float64 * | sumsd, | ||
float64 * | loparm, | ||
float64 * | hiparm | ||
) |
Definition at line 1092 of file l3stat_chk.c.
◆ rdattr()
int32_t rdattr | ( | int32_t | sdfid, |
char * | attr_name, | ||
void * | buf | ||
) |
Definition at line 853 of file l3stat_chk.c.
◆ read_cntldata()
int32_t read_cntldata | ( | char * | cntl_file, |
cntl_str * | databinchk, | ||
cntl_str * | grschk, | ||
cntl_str * | statchk, | ||
int32_t * | wtchk, | ||
clim_str * | climchk | ||
) |
Definition at line 229 of file l3stat_chk.c.
◆ stat_exit()
void stat_exit | ( | int | status | ) |
Definition at line 798 of file l3stat_chk.c.