ocssw
V2022
|
Include dependency graph for nccmp.c:
Go to the source code of this file.
Macros | |
#define | NCFORMATSTR(f) |
#define | BROADCAST_MISSING(T) |
#define | CMP_VAR(TYPE, NCFUNTYPE, ncid1, ncid2, P1, P2, M) |
#define | CMP_VARTOL(TYPE, NCFUNTYPE, ncid1, ncid2, P1, P2, M) |
Functions | |
void | getidxstr (varstruct *var, size_t *start, int curidx, char *out) |
void | getidxstr_fortran (varstruct *var, size_t *start, int curidx, char *out) |
void | doubleToString (double v, char *out, char *formatprec) |
void | floatToString (float v, char *out, char *formatprec) |
void | intToString (int v, char *out, char *ignore) |
void | shortToString (short v, char *out, char *ignore) |
void | byteToString (unsigned char v, char *out, char *ignore) |
void | textToString (char v, char *out, char *ignore) |
void | doubleToHex (double v, char *out) |
void | floatToHex (float v, char *out) |
void | intToHex (int v, char *out) |
void | shortToHex (short v, char *out) |
void | byteToHex (int8_t v, char *out) |
void | textToHex (char v, char *out) |
int | excludevars (int ncid1, int ncid2, char **finallist, int nfinal, char **excludelist, int nexclude) |
void | handle_error (int status) |
int | odometer (size_t *odo, size_t *limits, int first, int last) |
void | prettyprintatt (int ncid, char *varname, int varid, char *name, char *str) |
int | cmpatt (int ncid1, int ncid2, int varid1, int varid2, char *name, char *varname, nccmpopts *opts) |
int | cmpattval (int nc1, int nc2, int varid1, int varid2, char *name, int len, nc_type type) |
void | type2string (nc_type type, char *str) |
int | openfiles (nccmpopts *opts, int *ncid1, int *ncid2) |
int | nccmprecinfo (nccmpopts *opts, int ncid1, int ncid2) |
int | getgroupinfo (int ncid, int numgroups, GROUP_NODE *groups) |
void | getdiminfo (int ncid, dimstruct *dims, int *ndims) |
void | broadcast_missing (nc_type var_type, nc_type att_type, missing_struct *values) |
char | get_missing (int ncid, varstruct *var, const char *attname) |
void | getvarinfo (int ncid, varstruct *vars, int *nvars, int verbose) |
int | isinvarstructlist (char *name, varstruct *vars, int nvars) |
int | makecmpvarlist (nccmpopts *opts, int ncid1, int ncid2) |
int | allvarnames (char **list, int nvars, int ncid1, int ncid2) |
int | nccmpformats (nccmpopts *opts, int ncid1, int ncid2) |
int | nccmpglobalatts (nccmpopts *opts, int ncid1, int ncid2) |
int | nccmpmetadata (nccmpopts *opts, int ncid1, int ncid2) |
int | findvar (char *name, varstruct *vars) |
off_t | cmp_text (char *in1, char *in2) |
off_t | cmp_text_missing (char *in1, char *in2, char m1, char m2) |
off_t | cmp_byte (int8_t *in1, int8_t *in2) |
off_t | cmp_byte_missing (int8_t *in1, int8_t *in2, int8_t m1, int8_t m2) |
off_t | cmp_short (short *in1, short *in2) |
off_t | cmp_short_missing (short *in1, short *in2, short m1, short m2) |
off_t | cmp_int (int *in1, int *in2) |
off_t | cmp_int_missing (int *in1, int *in2, int m1, int m2) |
off_t | cmp_float (float *in1, float *in2) |
off_t | cmp_float_missing (float *in1, float *in2, float m1, float m2) |
off_t | cmp_double (double *in1, double *in2) |
off_t | cmp_double_missing (double *in1, double *in2, double m1, double m2) |
int | cmpvar (char *name, int rec, nccmpopts *opts, int ncid1, int ncid2) |
int | cmpvartol (char *name, int rec, nccmpopts *opts, int ncid1, int ncid2) |
int | nccmpdatarecvartol (int ncid1, int ncid2, char *varname, nccmpopts *opts, size_t recstart, size_t recend) |
int | nccmpdatarecvar (int ncid1, int ncid2, char *varname, nccmpopts *opts, size_t recstart, size_t recend) |
int | nccmpdatatol (int ncid1, int ncid2, nccmpopts *opts) |
int | nccmpdata (nccmpopts *opts, int ncid1, int ncid2) |
int | nccmp (nccmpopts *opts) |
int | main (int argc, char **argv) |
Variables | |
varstruct | vars1 [(int) NC_MAX_VARS] |
varstruct | vars2 [(int) NC_MAX_VARS] |
dimstruct | dims1 [(int) NC_MAX_DIMS] |
dimstruct | dims2 [(int) NC_MAX_DIMS] |
size_t | nrec1 |
size_t | nrec2 |
int | nvars1 |
int | nvars2 |
int | ndims1 |
int | ndims2 |
int | recid1 |
int | recid2 |
Macro Definition Documentation
◆ BROADCAST_MISSING
#define BROADCAST_MISSING | ( | T | ) |
Value:
{ \
switch(att_type) { \
} \
}
◆ CMP_VAR
#define CMP_VAR | ( | TYPE, | |
NCFUNTYPE, | |||
ncid1, | |||
ncid2, | |||
P1, | |||
P2, | |||
M | |||
) |
◆ CMP_VARTOL
#define CMP_VARTOL | ( | TYPE, | |
NCFUNTYPE, | |||
ncid1, | |||
ncid2, | |||
P1, | |||
P2, | |||
M | |||
) |
◆ NCFORMATSTR
#define NCFORMATSTR | ( | f | ) |
Function Documentation
◆ allvarnames()
int allvarnames | ( | char ** | list, |
int | nvars, | ||
int | ncid1, | ||
int | ncid2 | ||
) |
◆ broadcast_missing()
void broadcast_missing | ( | nc_type | var_type, |
nc_type | att_type, | ||
missing_struct * | values | ||
) |
◆ byteToHex()
◆ byteToString()
void byteToString | ( | unsigned char | v, |
char * | out, | ||
char * | ignore | ||
) |
◆ cmp_byte()
◆ cmp_byte_missing()
off_t cmp_byte_missing | ( | int8_t * | in1, |
int8_t * | in2, | ||
int8_t | m1, | ||
int8_t | m2 | ||
) |
◆ cmp_double()
◆ cmp_double_missing()
off_t cmp_double_missing | ( | double * | in1, |
double * | in2, | ||
double | m1, | ||
double | m2 | ||
) |
◆ cmp_float()
◆ cmp_float_missing()
off_t cmp_float_missing | ( | float * | in1, |
float * | in2, | ||
float | m1, | ||
float | m2 | ||
) |
◆ cmp_int()
◆ cmp_int_missing()
off_t cmp_int_missing | ( | int * | in1, |
int * | in2, | ||
int | m1, | ||
int | m2 | ||
) |
◆ cmp_short()
◆ cmp_short_missing()
off_t cmp_short_missing | ( | short * | in1, |
short * | in2, | ||
short | m1, | ||
short | m2 | ||
) |
◆ cmp_text()
◆ cmp_text_missing()
off_t cmp_text_missing | ( | char * | in1, |
char * | in2, | ||
char | m1, | ||
char | m2 | ||
) |
◆ cmpatt()
int cmpatt | ( | int | ncid1, |
int | ncid2, | ||
int | varid1, | ||
int | varid2, | ||
char * | name, | ||
char * | varname, | ||
nccmpopts * | opts | ||
) |
◆ cmpattval()
int cmpattval | ( | int | nc1, |
int | nc2, | ||
int | varid1, | ||
int | varid2, | ||
char * | name, | ||
int | len, | ||
nc_type | type | ||
) |
◆ cmpvar()
int cmpvar | ( | char * | name, |
int | rec, | ||
nccmpopts * | opts, | ||
int | ncid1, | ||
int | ncid2 | ||
) |
◆ cmpvartol()
int cmpvartol | ( | char * | name, |
int | rec, | ||
nccmpopts * | opts, | ||
int | ncid1, | ||
int | ncid2 | ||
) |
◆ doubleToHex()
◆ doubleToString()
void doubleToString | ( | double | v, |
char * | out, | ||
char * | formatprec | ||
) |
◆ excludevars()
int excludevars | ( | int | ncid1, |
int | ncid2, | ||
char ** | finallist, | ||
int | nfinal, | ||
char ** | excludelist, | ||
int | nexclude | ||
) |
◆ findvar()
◆ floatToHex()
◆ floatToString()
void floatToString | ( | float | v, |
char * | out, | ||
char * | formatprec | ||
) |
◆ get_missing()
char get_missing | ( | int | ncid, |
varstruct * | var, | ||
const char * | attname | ||
) |
◆ getdiminfo()
◆ getgroupinfo()
int getgroupinfo | ( | int | ncid, |
int | numgroups, | ||
GROUP_NODE * | groups | ||
) |
◆ getidxstr()
void getidxstr | ( | varstruct * | var, |
size_t * | start, | ||
int | curidx, | ||
char * | out | ||
) |
◆ getidxstr_fortran()
void getidxstr_fortran | ( | varstruct * | var, |
size_t * | start, | ||
int | curidx, | ||
char * | out | ||
) |
◆ getvarinfo()
void getvarinfo | ( | int | ncid, |
varstruct * | vars, | ||
int * | nvars, | ||
int | verbose | ||
) |
◆ handle_error()
◆ intToHex()
◆ intToString()
◆ isinvarstructlist()
int isinvarstructlist | ( | char * | name, |
varstruct * | vars, | ||
int | nvars | ||
) |
◆ main()
◆ makecmpvarlist()
int makecmpvarlist | ( | nccmpopts * | opts, |
int | ncid1, | ||
int | ncid2 | ||
) |
◆ nccmp()
◆ nccmpdata()
◆ nccmpdatarecvar()
int nccmpdatarecvar | ( | int | ncid1, |
int | ncid2, | ||
char * | varname, | ||
nccmpopts * | opts, | ||
size_t | recstart, | ||
size_t | recend | ||
) |
◆ nccmpdatarecvartol()
int nccmpdatarecvartol | ( | int | ncid1, |
int | ncid2, | ||
char * | varname, | ||
nccmpopts * | opts, | ||
size_t | recstart, | ||
size_t | recend | ||
) |
◆ nccmpdatatol()
int nccmpdatatol | ( | int | ncid1, |
int | ncid2, | ||
nccmpopts * | opts | ||
) |
◆ nccmpformats()
int nccmpformats | ( | nccmpopts * | opts, |
int | ncid1, | ||
int | ncid2 | ||
) |
◆ nccmpglobalatts()
int nccmpglobalatts | ( | nccmpopts * | opts, |
int | ncid1, | ||
int | ncid2 | ||
) |
◆ nccmpmetadata()
int nccmpmetadata | ( | nccmpopts * | opts, |
int | ncid1, | ||
int | ncid2 | ||
) |
◆ nccmprecinfo()
◆ odometer()
int odometer | ( | size_t * | odo, |
size_t * | limits, | ||
int | first, | ||
int | last | ||
) |
◆ openfiles()
int openfiles | ( | nccmpopts * | opts, |
int * | ncid1, | ||
int * | ncid2 | ||
) |
◆ prettyprintatt()
void prettyprintatt | ( | int | ncid, |
char * | varname, | ||
int | varid, | ||
char * | name, | ||
char * | str | ||
) |
◆ shortToHex()
◆ shortToString()
◆ textToHex()
◆ textToString()
◆ type2string()
Variable Documentation
◆ dims1
◆ dims2
◆ ndims1
◆ ndims2
◆ nrec1
◆ nrec2
◆ nvars1
◆ nvars2
◆ recid1
◆ recid2
◆ vars1
◆ vars2
HISTORY txt for MOD_PR01(step one of PGE01) History follows the following convention needed due to new Aqua ReprocessingActual and the expected LUT revision number from PCF Changed to use PGE version for ProductionHistory Added Archive including ProcessingEnvironment Corrected handling of bad to resovle GSFcd02514 Changed to check staged LUT revision number versus the expected LUT revision number from thereby resolving defect report MODxl02056 This change also avoids the memory access violation reported in MODur00039 Changed the way output arrays were initialized with fill values
Definition: HISTORY.txt:162