OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
l2stat_chk.c File Reference
#include <time.h>
#include "l2stat.h"
#include "l2lists.h"
#include "l2stat_proto.h"
Include dependency graph for l2stat_chk.c:

Go to the source code of this file.

Macros

#define MAX_NAME   255
 
#define SET   1
 

Functions

int main (int argc, char *argv[])
 
int32 read_cntldata (char *cntl_file, cntl_str *grschk, cntl_str *statchk, flag_str *flgchk)
 
int32 l2file (int32 sdfid, int32 *nsamp, int32 *nscans, char *dtype)
 
int32 chk_grsstat (int32 sdfid, int32 nscans, int32 nsamp, cntl_str *grschk, cntl_str *statchk, char *extra_flags)
 
int16 set_mask (int32 sdfid, char *extra_flags, uint16 *mask)
 
int32 chk_flg (int32 sdfid, flag_str *flgchk)
 
void stat_exit (int status)
 
int32 rdattr (int32 sdfid, char *attr_name, void *buf)
 
int32 rdslice (int32 sdfid, char *name, int32 *start, int32 *edge, void *buf)
 
int32 getattrsz (int32 id, char *attr_name, int32 *nt, int32 *count)
 

Variables

char err_msg [1024]
 

Macro Definition Documentation

◆ MAX_NAME

#define MAX_NAME   255

Definition at line 10 of file l2stat_chk.c.

◆ SET

#define SET   1

Definition at line 11 of file l2stat_chk.c.

Function Documentation

◆ chk_flg()

int32 chk_flg ( int32  sdfid,
flag_str *  flgchk 
)

Definition at line 671 of file l2stat_chk.c.

◆ chk_grsstat()

int32 chk_grsstat ( int32  sdfid,
int32  nscans,
int32  nsamp,
cntl_str *  grschk,
cntl_str *  statchk,
char *  extra_flags 
)

Definition at line 378 of file l2stat_chk.c.

◆ getattrsz()

int32 getattrsz ( int32  id,
char *  attr_name,
int32 *  nt,
int32 *  count 
)

Definition at line 856 of file l2stat_chk.c.

◆ l2file()

int32 l2file ( int32  sdfid,
int32 *  nsamp,
int32 *  nscans,
char *  dtype 
)

Definition at line 313 of file l2stat_chk.c.

◆ main()

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

Definition at line 18 of file l2stat_chk.c.

◆ rdattr()

int32 rdattr ( int32  sdfid,
char *  attr_name,
void *  buf 
)

Definition at line 754 of file l2stat_chk.c.

◆ rdslice()

int32 rdslice ( int32  sdfid,
char *  name,
int32 *  start,
int32 *  edge,
void *  buf 
)

Definition at line 801 of file l2stat_chk.c.

◆ read_cntldata()

int32 read_cntldata ( char *  cntl_file,
cntl_str *  grschk,
cntl_str *  statchk,
flag_str *  flgchk 
)

Definition at line 185 of file l2stat_chk.c.

◆ set_mask()

int16 set_mask ( int32  sdfid,
char *  extra_flags,
uint16 *  mask 
)

Definition at line 617 of file l2stat_chk.c.

◆ stat_exit()

void stat_exit ( int  status)

Definition at line 699 of file l2stat_chk.c.

Variable Documentation

◆ err_msg

char err_msg[1024]

Definition at line 13 of file l2stat_chk.c.