OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
nccmp.hpp File Reference
#include "opt.h"
#include <netcdf.h>
#include <math.h>
#include <cstring>
#include <cstdlib>
#include <stdint.h>
#include <string>
#include "nccmp_user_type.h"
Include dependency graph for nccmp.hpp:
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)
 
nccmp_user_type_tgetvarinfo (int ncid, varstruct *vars, int *nvars, int debug)
 
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)
 
void handle_error (int status)
 
int odometer (size_t *odo, size_t *limits, int first, int last)
 
int compareGroup (nccmpopts *opts, int ncid1, int ncid2)
 
nccmp_user_type_tnccmp_load_group_usertype_array (int group_id, int *nuser_types)
 

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.

◆ compareGroup()

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

Definition at line 3095 of file nccmp.cpp.

◆ 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()

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

Definition at line 865 of file nccmp.c.

◆ handle_error()

void handle_error ( int  status)

Definition at line 219 of file nccmp.c.

◆ nccmp()

int nccmp ( nccmpopts *  opts)

Definition at line 2202 of file nccmp.c.

◆ nccmp_load_group_usertype_array()

nccmp_user_type_t* nccmp_load_group_usertype_array ( int  group_id,
int *  nuser_types 
)

Definition at line 15 of file nccmp_user_type.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.

◆ odometer()

int odometer ( size_t *  odo,
size_t *  limits,
int  first,
int  last 
)

Definition at line 236 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.