MISR Toolkit  1.5.1
Data Structures | Macros | Functions | Variables
local_nc.h File Reference
#include "H4api_adpt.h"
#include <stddef.h>
#include <stdio.h>
#include <rpc/types.h>
#include <rpc/xdr.h>
#include "netcdf.h"

Go to the source code of this file.

Data Structures

struct  NC_array
 
struct  NC_string
 
struct  NC_iarray
 
struct  NC_dim
 
struct  NC_attr
 
struct  NC
 
struct  NC_var
 

Macros

#define FILENAME_MAX   255
 
#define Void   char
 
#define MAX_VXR_ENTRIES   10
 
#define IS_RECVAR(vp)   ((vp)->shape != NULL ? (*(vp)->shape == NC_UNLIMITED) : 0 )
 
#define netCDF_FILE   0
 
#define HDF_FILE   1
 
#define CDF_FILE   2
 
#define NCMAGIC   0x43444601
 
#define NCLINKMAGIC   0x43444c01
 
#define PROTO(x)   x
 
#define nncpopt   H4_F77_FUNC(ncpopt, NCPOPT)
 
#define nncgopt   H4_F77_FUNC(ncgopt, NCGOPT)
 
#define nnccre   H4_F77_FUNC(nccre, NCCRE)
 
#define nncopn   H4_F77_FUNC(ncopn, NCOPN)
 
#define nncddef   H4_F77_FUNC(ncddef, NCDDEF)
 
#define nncdid   H4_F77_FUNC(ncdid, NCDID)
 
#define nncvdef   H4_F77_FUNC(ncvdef, NCVDEF)
 
#define nncvid   H4_F77_FUNC(ncvid, NCVID)
 
#define nnctlen   H4_F77_FUNC(nctlen, NCTLEN)
 
#define nncclos   H4_F77_FUNC(ncclos, NCCLOS)
 
#define nncredf   H4_F77_FUNC(ncredf, NCREDF)
 
#define nncendf   H4_F77_FUNC(ncendf, NCENDF)
 
#define nncinq   H4_F77_FUNC(ncinq, NCINQ)
 
#define nncsnc   H4_F77_FUNC(ncsnc, NCSNC)
 
#define nncabor   H4_F77_FUNC(ncabor, NCABOR)
 
#define nncdinq   H4_F77_FUNC(ncdinq, NCDINQ)
 
#define nncdren   H4_F77_FUNC(ncdren, NCDREN)
 
#define nncvinq   H4_F77_FUNC(ncvinq, NCVINQ)
 
#define nncvpt1   H4_F77_FUNC(ncvpt1, NCVPT1)
 
#define nncvp1c   H4_F77_FUNC(ncvp1c, NCVP1C)
 
#define nncvpt   H4_F77_FUNC(ncvpt, NCVPT)
 
#define nncvptc   H4_F77_FUNC(ncvptc, NCVPTC)
 
#define nncvptg   H4_F77_FUNC(ncvptg, NCVPTG)
 
#define nncvpgc   H4_F77_FUNC(ncvpgc, NCVPGC)
 
#define nncvgt1   H4_F77_FUNC(ncvgt1, NCVGT1)
 
#define nncvg1c   H4_F77_FUNC(ncvg1c, NCVG1C)
 
#define nncvgt   H4_F77_FUNC(ncvgt, NCVGT)
 
#define nncvgtc   H4_F77_FUNC(ncvgtc, NCVGTC)
 
#define nncvgtg   H4_F77_FUNC(ncvgtg, NCVGTG)
 
#define nncvggc   H4_F77_FUNC(ncvggc, NCVGGC)
 
#define nncvren   H4_F77_FUNC(ncvren, NCVREN)
 
#define nncapt   H4_F77_FUNC(ncapt, NCAPT)
 
#define nncaptc   H4_F77_FUNC(ncaptc, NCAPTC)
 
#define nncainq   H4_F77_FUNC(ncainq, NCAINQ)
 
#define nncagt   H4_F77_FUNC(ncagt, NCAGT)
 
#define nncagtc   H4_F77_FUNC(ncagtc, NCAGTC)
 
#define nncacpy   H4_F77_FUNC(ncacpy, NCACPY)
 
#define nncanam   H4_F77_FUNC(ncanam, NCANAM)
 
#define nncaren   H4_F77_FUNC(ncaren, NCAREN)
 
#define nncadel   H4_F77_FUNC(ncadel, NCADEL)
 
#define nncsfil   H4_F77_FUNC(ncsfil, NCSFIL)
 

Functions

HDFLIBAPI void nc_serror PROTO ((const char *fmt,...))
 
HDFLIBAPI void NCadvise PROTO ((int err, const char *fmt,...))
 
HDFLIBAPI int NC_computeshapes PROTO ((NC *handle))
 
HDFLIBAPI int NC_xtypelen PROTO ((nc_type type))
 
HDFLIBAPI int NC_xlen_array PROTO ((NC_array *array))
 
HDFLIBAPI int NC_xlen_attr PROTO ((NC_attr **app))
 
HDFLIBAPI int NC_xlen_cdf PROTO ((NC *cdf))
 
HDFLIBAPI int NC_xlen_dim PROTO ((NC_dim **dpp))
 
HDFLIBAPI int NC_xlen_iarray PROTO ((NC_iarray *iarray))
 
HDFLIBAPI int NC_xlen_string PROTO ((NC_string *cdfstr))
 
HDFLIBAPI int NC_xlen_var PROTO ((NC_var **vpp))
 
HDFLIBAPI char *NCmemset PROTO ((char *s, int c, int n))
 
HDFLIBAPI void NC_arrayfill PROTO ((void *lo, size_t len, nc_type type))
 
HDFLIBAPI void NC_copy_arrayvals PROTO ((char *target, NC_array *array))
 
HDFLIBAPI int NC_free_attr PROTO ((NC_attr *attr))
 
HDFLIBAPI int NC_free_dim PROTO ((NC_dim *dim))
 
HDFLIBAPI int NC_free_var PROTO ((NC_var *var))
 
HDFLIBAPI Void *NC_incr_array PROTO ((NC_array *array, Void *tail))
 
HDFLIBAPI int NC_dimid PROTO ((NC *handle, char *name))
 
HDFLIBAPI bool_t NCcktype PROTO ((nc_type datatype))
 
HDFLIBAPI bool_t NC_indefine PROTO ((int cdfid, bool_t iserr))
 
HDFLIBAPI bool_t xdr_cdf PROTO ((XDR *xdrs, NC **handlep))
 
HDFLIBAPI bool_t xdr_numrecs PROTO ((XDR *xdrs, NC *handle))
 
HDFLIBAPI bool_t xdr_shorts PROTO ((XDR *xdrs, short *sp, u_int cnt))
 
HDFLIBAPI bool_t xdr_NC_array PROTO ((XDR *xdrs, NC_array **app))
 
HDFLIBAPI bool_t xdr_NC_attr PROTO ((XDR *xdrs, NC_attr **app))
 
HDFLIBAPI bool_t xdr_NC_dim PROTO ((XDR *xdrs, NC_dim **dpp))
 
HDFLIBAPI bool_t xdr_NC_fill PROTO ((XDR *xdrs, NC_var *vp))
 
HDFLIBAPI bool_t xdr_NC_iarray PROTO ((XDR *xdrs, NC_iarray **ipp))
 
HDFLIBAPI bool_t xdr_NC_string PROTO ((XDR *xdrs, NC_string **spp))
 
HDFLIBAPI bool_t xdr_NC_var PROTO ((XDR *xdrs, NC_var **vpp))
 
HDFLIBAPI NC *NC_check_id PROTO ((int cdfid))
 
HDFLIBAPI NC *NC_dup_cdf PROTO ((const char *name, int mode, NC *old))
 
HDFLIBAPI NC *NC_new_cdf PROTO ((const char *name, int mode))
 
HDFLIBAPI NC_array *NC_new_array PROTO ((nc_type type, unsigned count, const void *values))
 
HDFLIBAPI NC_array *NC_re_array PROTO ((NC_array *old, nc_type type, unsigned count, const void *values))
 
HDFLIBAPI NC_attr *NC_new_attr PROTO ((const char *name, nc_type type, unsigned count, const void *values))
 
HDFLIBAPI NC_attr **NC_findattr PROTO ((NC_array **ap, const char *name))
 
HDFLIBAPI NC_dim *NC_new_dim PROTO ((const char *name, long size))
 
HDFLIBAPI NC_iarray *NC_new_iarray PROTO ((unsigned count, const int values[]))
 
HDFLIBAPI NC_string *NC_new_string PROTO ((unsigned count, const char *str))
 
HDFLIBAPI NC_string *NC_re_string PROTO ((NC_string *old, unsigned count, const char *str))
 
HDFLIBAPI NC_var *NC_hlookupvar PROTO ((NC *handle, int varid))
 
HDFLIBAPI NC_var *NC_new_var PROTO ((const char *name, nc_type type, int ndims, const int *dims))
 
HDFLIBAPI int NCvario PROTO ((NC *handle, int varid, const long *start, const long *edges, void *values))
 
HDFLIBAPI bool_t NCcoordck PROTO ((NC *handle, NC_var *vp, const long *coords))
 
HDFLIBAPI bool_t xdr_NCvshort PROTO ((XDR *xdrs, unsigned which, short *values))
 
HDFLIBAPI bool_t NC_dcpy PROTO ((XDR *target, XDR *source, long nbytes))
 
HDFLIBAPI int NCxdrfile_sync PROTO ((XDR *xdrs))
 
HDFLIBAPI int NCxdrfile_create PROTO ((XDR *xdrs, const char *path, int ncmode))
 

Variables

HDFLIBAPI const char * cdf_routine_name
 

Macro Definition Documentation

◆ CDF_FILE

#define CDF_FILE   2

Definition at line 262 of file local_nc.h.

◆ FILENAME_MAX

#define FILENAME_MAX   255

Definition at line 42 of file local_nc.h.

◆ HDF_FILE

#define HDF_FILE   1

Definition at line 261 of file local_nc.h.

◆ IS_RECVAR

#define IS_RECVAR (   vp)    ((vp)->shape != NULL ? (*(vp)->shape == NC_UNLIMITED) : 0 )

Definition at line 257 of file local_nc.h.

◆ MAX_VXR_ENTRIES

#define MAX_VXR_ENTRIES   10

Definition at line 121 of file local_nc.h.

◆ NCLINKMAGIC

#define NCLINKMAGIC   0x43444c01

Definition at line 269 of file local_nc.h.

◆ NCMAGIC

#define NCMAGIC   0x43444601

Definition at line 267 of file local_nc.h.

◆ netCDF_FILE

#define netCDF_FILE   0

Definition at line 260 of file local_nc.h.

◆ nncabor

#define nncabor   H4_F77_FUNC(ncabor, NCABOR)

Definition at line 366 of file local_nc.h.

◆ nncacpy

#define nncacpy   H4_F77_FUNC(ncacpy, NCACPY)

Definition at line 388 of file local_nc.h.

◆ nncadel

#define nncadel   H4_F77_FUNC(ncadel, NCADEL)

Definition at line 391 of file local_nc.h.

◆ nncagt

#define nncagt   H4_F77_FUNC(ncagt, NCAGT)

Definition at line 386 of file local_nc.h.

◆ nncagtc

#define nncagtc   H4_F77_FUNC(ncagtc, NCAGTC)

Definition at line 387 of file local_nc.h.

◆ nncainq

#define nncainq   H4_F77_FUNC(ncainq, NCAINQ)

Definition at line 385 of file local_nc.h.

◆ nncanam

#define nncanam   H4_F77_FUNC(ncanam, NCANAM)

Definition at line 389 of file local_nc.h.

◆ nncapt

#define nncapt   H4_F77_FUNC(ncapt, NCAPT)

Definition at line 383 of file local_nc.h.

◆ nncaptc

#define nncaptc   H4_F77_FUNC(ncaptc, NCAPTC)

Definition at line 384 of file local_nc.h.

◆ nncaren

#define nncaren   H4_F77_FUNC(ncaren, NCAREN)

Definition at line 390 of file local_nc.h.

◆ nncclos

#define nncclos   H4_F77_FUNC(ncclos, NCCLOS)

Definition at line 361 of file local_nc.h.

◆ nnccre

#define nnccre   H4_F77_FUNC(nccre, NCCRE)

Definition at line 354 of file local_nc.h.

◆ nncddef

#define nncddef   H4_F77_FUNC(ncddef, NCDDEF)

Definition at line 356 of file local_nc.h.

◆ nncdid

#define nncdid   H4_F77_FUNC(ncdid, NCDID)

Definition at line 357 of file local_nc.h.

◆ nncdinq

#define nncdinq   H4_F77_FUNC(ncdinq, NCDINQ)

Definition at line 367 of file local_nc.h.

◆ nncdren

#define nncdren   H4_F77_FUNC(ncdren, NCDREN)

Definition at line 368 of file local_nc.h.

◆ nncendf

#define nncendf   H4_F77_FUNC(ncendf, NCENDF)

Definition at line 363 of file local_nc.h.

◆ nncgopt

#define nncgopt   H4_F77_FUNC(ncgopt, NCGOPT)

Definition at line 353 of file local_nc.h.

◆ nncinq

#define nncinq   H4_F77_FUNC(ncinq, NCINQ)

Definition at line 364 of file local_nc.h.

◆ nncopn

#define nncopn   H4_F77_FUNC(ncopn, NCOPN)

Definition at line 355 of file local_nc.h.

◆ nncpopt

#define nncpopt   H4_F77_FUNC(ncpopt, NCPOPT)

Definition at line 352 of file local_nc.h.

◆ nncredf

#define nncredf   H4_F77_FUNC(ncredf, NCREDF)

Definition at line 362 of file local_nc.h.

◆ nncsfil

#define nncsfil   H4_F77_FUNC(ncsfil, NCSFIL)

Definition at line 392 of file local_nc.h.

◆ nncsnc

#define nncsnc   H4_F77_FUNC(ncsnc, NCSNC)

Definition at line 365 of file local_nc.h.

◆ nnctlen

#define nnctlen   H4_F77_FUNC(nctlen, NCTLEN)

Definition at line 360 of file local_nc.h.

◆ nncvdef

#define nncvdef   H4_F77_FUNC(ncvdef, NCVDEF)

Definition at line 358 of file local_nc.h.

◆ nncvg1c

#define nncvg1c   H4_F77_FUNC(ncvg1c, NCVG1C)

Definition at line 377 of file local_nc.h.

◆ nncvggc

#define nncvggc   H4_F77_FUNC(ncvggc, NCVGGC)

Definition at line 381 of file local_nc.h.

◆ nncvgt

#define nncvgt   H4_F77_FUNC(ncvgt, NCVGT)

Definition at line 378 of file local_nc.h.

◆ nncvgt1

#define nncvgt1   H4_F77_FUNC(ncvgt1, NCVGT1)

Definition at line 376 of file local_nc.h.

◆ nncvgtc

#define nncvgtc   H4_F77_FUNC(ncvgtc, NCVGTC)

Definition at line 379 of file local_nc.h.

◆ nncvgtg

#define nncvgtg   H4_F77_FUNC(ncvgtg, NCVGTG)

Definition at line 380 of file local_nc.h.

◆ nncvid

#define nncvid   H4_F77_FUNC(ncvid, NCVID)

Definition at line 359 of file local_nc.h.

◆ nncvinq

#define nncvinq   H4_F77_FUNC(ncvinq, NCVINQ)

Definition at line 369 of file local_nc.h.

◆ nncvp1c

#define nncvp1c   H4_F77_FUNC(ncvp1c, NCVP1C)

Definition at line 371 of file local_nc.h.

◆ nncvpgc

#define nncvpgc   H4_F77_FUNC(ncvpgc, NCVPGC)

Definition at line 375 of file local_nc.h.

◆ nncvpt

#define nncvpt   H4_F77_FUNC(ncvpt, NCVPT)

Definition at line 372 of file local_nc.h.

◆ nncvpt1

#define nncvpt1   H4_F77_FUNC(ncvpt1, NCVPT1)

Definition at line 370 of file local_nc.h.

◆ nncvptc

#define nncvptc   H4_F77_FUNC(ncvptc, NCVPTC)

Definition at line 373 of file local_nc.h.

◆ nncvptg

#define nncvptg   H4_F77_FUNC(ncvptg, NCVPTG)

Definition at line 374 of file local_nc.h.

◆ nncvren

#define nncvren   H4_F77_FUNC(ncvren, NCVREN)

Definition at line 382 of file local_nc.h.

◆ PROTO

#define PROTO (   x)    x

Definition at line 277 of file local_nc.h.

◆ Void

#define Void   char

Definition at line 78 of file local_nc.h.

Function Documentation

◆ PROTO() [1/50]

HDFLIBAPI void nc_serror PROTO ( (const char *fmt,...)  )

◆ PROTO() [2/50]

HDFLIBAPI void NCadvise PROTO ( (int err, const char *fmt,...)  )

◆ PROTO() [3/50]

HDFLIBAPI int NC_free_cdf PROTO ( (NC *handle)  )

◆ PROTO() [4/50]

HDFLIBAPI size_t NC_typelen PROTO ( (nc_type type )

◆ PROTO() [5/50]

HDFLIBAPI int NC_free_array PROTO ( (NC_array *array)  )

◆ PROTO() [6/50]

HDFLIBAPI int NC_xlen_attr PROTO ( (NC_attr **app)  )

◆ PROTO() [7/50]

HDFLIBAPI int NC_xlen_cdf PROTO ( (NC *cdf)  )

◆ PROTO() [8/50]

HDFLIBAPI int NC_xlen_dim PROTO ( (NC_dim **dpp)  )

◆ PROTO() [9/50]

HDFLIBAPI int NC_free_iarray PROTO ( (NC_iarray *iarray)  )

◆ PROTO() [10/50]

HDFLIBAPI int NC_free_string PROTO ( (NC_string *cdfstr)  )

◆ PROTO() [11/50]

HDFLIBAPI int NC_xlen_var PROTO ( (NC_var **vpp)  )

◆ PROTO() [12/50]

HDFLIBAPI char* NCmemset PROTO ( (char *s, int c, int n )

◆ PROTO() [13/50]

HDFLIBAPI void NC_arrayfill PROTO ( (void *lo, size_t len, nc_type type )

◆ PROTO() [14/50]

HDFLIBAPI void NC_copy_arrayvals PROTO ( (char *target, NC_array *array)  )

◆ PROTO() [15/50]

HDFLIBAPI int NC_free_attr PROTO ( (NC_attr *attr)  )

◆ PROTO() [16/50]

HDFLIBAPI int NC_free_dim PROTO ( (NC_dim *dim)  )

◆ PROTO() [17/50]

HDFLIBAPI int NC_free_var PROTO ( (NC_var *var)  )

◆ PROTO() [18/50]

HDFLIBAPI Void* NC_incr_array PROTO ( (NC_array *array, Void *tail)  )

◆ PROTO() [19/50]

HDFLIBAPI int NC_dimid PROTO ( (NC *handle, char *name )

◆ PROTO() [20/50]

HDFLIBAPI bool_t NCcktype PROTO ( (nc_type datatype )

◆ PROTO() [21/50]

HDFLIBAPI bool_t NC_indefine PROTO ( (int cdfid, bool_t iserr)  )

◆ PROTO() [22/50]

HDFLIBAPI bool_t xdr_cdf PROTO ( (XDR *xdrs, NC **handlep)  )

◆ PROTO() [23/50]

HDFLIBAPI bool_t xdr_numrecs PROTO ( (XDR *xdrs, NC *handle)  )

◆ PROTO() [24/50]

HDFLIBAPI bool_t xdr_shorts PROTO ( (XDR *xdrs, short *sp, u_int cnt)  )

◆ PROTO() [25/50]

HDFLIBAPI bool_t xdr_NC_array PROTO ( (XDR *xdrs, NC_array **app)  )

◆ PROTO() [26/50]

HDFLIBAPI bool_t xdr_NC_attr PROTO ( (XDR *xdrs, NC_attr **app)  )

◆ PROTO() [27/50]

HDFLIBAPI bool_t xdr_NC_dim PROTO ( (XDR *xdrs, NC_dim **dpp)  )

◆ PROTO() [28/50]

HDFLIBAPI bool_t xdr_NC_fill PROTO ( (XDR *xdrs, NC_var *vp)  )

◆ PROTO() [29/50]

HDFLIBAPI bool_t xdr_NC_iarray PROTO ( (XDR *xdrs, NC_iarray **ipp)  )

◆ PROTO() [30/50]

HDFLIBAPI bool_t xdr_NC_string PROTO ( (XDR *xdrs, NC_string **spp)  )

◆ PROTO() [31/50]

HDFLIBAPI bool_t xdr_NC_var PROTO ( (XDR *xdrs, NC_var **vpp)  )

◆ PROTO() [32/50]

HDFLIBAPI int ncnobuf PROTO ( (int cdfid)  )

◆ PROTO() [33/50]

HDFLIBAPI NC* NC_dup_cdf PROTO ( (const char *name, int mode, NC *old)  )

◆ PROTO() [34/50]

HDFLIBAPI NC* NC_new_cdf PROTO ( (const char *name, int mode)  )

◆ PROTO() [35/50]

HDFLIBAPI NC_array* NC_new_array PROTO ( (nc_type type, unsigned count, const void *values )

◆ PROTO() [36/50]

HDFLIBAPI NC_array* NC_re_array PROTO ( (NC_array *old, nc_type type, unsigned count, const void *values )

◆ PROTO() [37/50]

HDFLIBAPI NC_attr* NC_new_attr PROTO ( (const char *name, nc_type type, unsigned count, const void *values )

◆ PROTO() [38/50]

HDFLIBAPI NC_attr** NC_findattr PROTO ( (NC_array **ap, const char *name )

◆ PROTO() [39/50]

HDFLIBAPI NC_dim* NC_new_dim PROTO ( (const char *name, long size )

◆ PROTO() [40/50]

HDFLIBAPI NC_iarray* NC_new_iarray PROTO ( (unsigned count, const int values[])  )

◆ PROTO() [41/50]

HDFLIBAPI NC_string* NC_new_string PROTO ( (unsigned count, const char *str)  )

◆ PROTO() [42/50]

HDFLIBAPI NC_string* NC_re_string PROTO ( (NC_string *old, unsigned count, const char *str)  )

◆ PROTO() [43/50]

HDFLIBAPI NC_var* NC_hlookupvar PROTO ( (NC *handle, int varid)  )

◆ PROTO() [44/50]

HDFLIBAPI NC_var* NC_new_var PROTO ( (const char *name, nc_type type, int ndims, const int *dims )

◆ PROTO() [45/50]

HDFLIBAPI int NCvario PROTO ( (NC *handle, int varid, const long *start, const long *edges, void *values )

◆ PROTO() [46/50]

HDFLIBAPI bool_t NCcoordck PROTO ( (NC *handle, NC_var *vp, const long *coords)  )

◆ PROTO() [47/50]

HDFLIBAPI bool_t xdr_NCvshort PROTO ( (XDR *xdrs, unsigned which, short *values )

◆ PROTO() [48/50]

HDFLIBAPI bool_t NC_dcpy PROTO ( (XDR *target, XDR *source, long nbytes)  )

◆ PROTO() [49/50]

HDFLIBAPI int NCxdrfile_sync PROTO ( (XDR *xdrs)  )

◆ PROTO() [50/50]

HDFLIBAPI int NCxdrfile_create PROTO ( (XDR *xdrs, const char *path, int ncmode)  )

Variable Documentation

◆ cdf_routine_name

HDFLIBAPI const char* cdf_routine_name

Definition at line 264 of file local_nc.h.


MISR Toolkit - Copyright © 2005 - 2020 Jet Propulsion Laboratory
Generated on Fri Jun 19 2020 22:49:53