OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
nccmp.h File Reference
#include "opt.h"
#include <netcdf.h>
#include <math.h>
#include <stdint.h>
#include "nccmp_user_type.h"
Include dependency graph for nccmp.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  MISSING_STRUCT
 
struct  VARSTRUCT
 
struct  DIMSTRUCT
 
struct  GROUP_NODE
 

Functions

int openfiles (nccmpopts *opts, int *ncid1, int *ncid2)
 
int nccmp (nccmpopts *opts)
 
int nccmpmetadata (nccmpopts *opts, int ncid1, int ncid2)
 
int nccmpdata (nccmpopts *opts, int ncid1, int ncid2)
 
void getvarinfo (int ncid, varstruct *vars, int *nvars, int debug, int *ntypes, nccmp_user_type_t *user_types)
 
void type2string (nc_type type, char *str)
 
int excludevars (int ncid1, int ncid2, char **finallist, int nfinal, char **excludelist, int nexclude)
 
int allvarnames (char **list, int nvars, int ncid1, int ncid2)
 
int cmpattval (int nc1, int nc2, int varid1, int varid2, char *name, int len, nc_type type)
 
int findvar (char *name, varstruct *vars)
 

Function Documentation

◆ allvarnames()

int allvarnames ( char **  list,
int  nvars,
int  ncid1,
int  ncid2 
)

Definition at line 968 of file nccmp.c.

◆ cmpattval()

int cmpattval ( int  nc1,
int  nc2,
int  varid1,
int  varid2,
char *  name,
int  len,
nc_type  type 
)

Definition at line 503 of file nccmp.c.

◆ excludevars()

int excludevars ( int  ncid1,
int  ncid2,
char **  finallist,
int  nfinal,
char **  excludelist,
int  nexclude 
)

Definition at line 176 of file nccmp.c.

◆ findvar()

int findvar ( char *  name,
varstruct *  vars 
)

Definition at line 1527 of file nccmp.c.

◆ getvarinfo()

void getvarinfo ( int  ncid,
varstruct *  vars,
int *  nvars,
int  debug,
int *  ntypes,
nccmp_user_type_t user_types 
)

◆ nccmp()

int nccmp ( nccmpopts *  opts)

Definition at line 2202 of file nccmp.c.

◆ nccmpdata()

int nccmpdata ( nccmpopts *  opts,
int  ncid1,
int  ncid2 
)

Definition at line 2085 of file nccmp.c.

◆ nccmpmetadata()

int nccmpmetadata ( nccmpopts *  opts,
int  ncid1,
int  ncid2 
)

Definition at line 1248 of file nccmp.c.

◆ openfiles()

int openfiles ( nccmpopts *  opts,
int *  ncid1,
int *  ncid2 
)

Definition at line 692 of file nccmp.c.

◆ type2string()

void type2string ( nc_type  type,
char *  str 
)

Definition at line 664 of file nccmp.c.