Please, help us to better serve our user community by answering the following short survey: https://www.hdfgroup.org/website-survey/
HDF  4.4.0
API Reference
Loading...
Searching...
No Matches
nc_priv.h File Reference
#include <inttypes.h>
#include "hdf_priv.h"
#include "H4api_adpt.h"
#include "hdf_xdr_priv.h"
#include "hlimits.h"
#include "vg.h"
#include "hfile_priv.h"
#include "mfhdf.h"

Data Structures

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

Macros

#define HNAME(x)
#define ncerr   HNAME(ncerr)
#define ncopts   HNAME(ncopts)
#define nccreate   HNAME(nccreate)
#define ncopen   HNAME(ncopen)
#define ncendef   HNAME(ncendef)
#define ncclose   HNAME(ncclose)
#define ncabort   HNAME(ncabort)
#define ncdimdef   HNAME(ncdimdef)
#define ncdiminq   HNAME(ncdiminq)
#define ncvardef   HNAME(ncvardef)
#define ncvarid   HNAME(ncvarid)
#define ncvarinq   HNAME(ncvarinq)
#define ncvarput1   HNAME(ncvarput1)
#define ncvarget1   HNAME(ncvarget1)
#define ncvarput   HNAME(ncvarput)
#define ncvarget   HNAME(ncvarget)
#define ncvarputs   HNAME(ncvarputs)
#define ncvargets   HNAME(ncvargets)
#define ncvarputg   HNAME(ncvarputg)
#define ncvargetg   HNAME(ncvargetg)
#define ncattput   HNAME(ncattput)
#define nctypelen   HNAME(nctypelen)
#define ncsetfill   HNAME(ncsetfill)
#define nc_serror   HNAME(nc_serror)
#define NCadvise   HNAME(NCadvise)
#define NC_computeshapes   HNAME(NC_computeshapes)
#define NC_xtypelen   HNAME(NC_xtypelen)
#define NC_xlen_array   HNAME(NC_xlen_array)
#define NC_xlen_attr   HNAME(NC_xlen_attr)
#define NC_xlen_cdf   HNAME(NC_xlen_cdf)
#define NC_xlen_dim   HNAME(NC_xlen_dim)
#define NC_xlen_iarray   HNAME(NC_xlen_iarray)
#define NC_xlen_string   HNAME(NC_xlen_string)
#define NC_xlen_var   HNAME(NC_xlen_var)
#define NC_arrayfill   HNAME(NC_arrayfill)
#define NC_copy_arrayvals   HNAME(NC_copy_arrayvals)
#define NC_free_array   HNAME(NC_free_array)
#define NC_free_attr   HNAME(NC_free_attr)
#define NC_free_cdf   HNAME(NC_free_cdf)
#define NC_free_dim   HNAME(NC_free_dim)
#define NC_free_iarray   HNAME(NC_free_iarray)
#define NC_free_string   HNAME(NC_free_string)
#define NC_free_var   HNAME(NC_free_var)
#define NC_incr_array   HNAME(NC_incr_array)
#define NC_dimid   HNAME(NC_dimid)
#define NCcktype   HNAME(NCcktype)
#define NC_indefine   HNAME(NC_indefine)
#define xdr_cdf   HNAME(xdr_cdf)
#define xdr_numrecs   HNAME(xdr_numrecs)
#define xdr_shorts   HNAME(xdr_shorts)
#define xdr_NC_array   HNAME(xdr_NC_array)
#define xdr_NC_attr   HNAME(xdr_NC_attr)
#define xdr_NC_dim   HNAME(xdr_NC_dim)
#define xdr_NC_fill   HNAME(xdr_NC_fill)
#define xdr_NC_iarray   HNAME(xdr_NC_iarray)
#define xdr_NC_string   HNAME(xdr_NC_string)
#define xdr_NC_var   HNAME(xdr_NC_var)
#define NC_typelen   HNAME(NC_typelen)
#define NC_check_id   HNAME(NC_check_id)
#define NC_new_cdf   HNAME(NC_new_cdf)
#define NC_new_array   HNAME(NC_new_array)
#define NC_re_array   HNAME(NC_re_array)
#define NC_new_attr   HNAME(NC_new_attr)
#define NC_findattr   HNAME(NC_findattr)
#define NC_new_dim   HNAME(NC_new_dim)
#define NC_new_iarray   HNAME(NC_new_iarray)
#define NC_new_string   HNAME(NC_new_string)
#define NC_re_string   HNAME(NC_re_string)
#define NC_hlookupvar   HNAME(NC_hlookupvar)
#define NC_new_var   HNAME(NC_new_var)
#define NCvario   HNAME(NCvario)
#define NCcoordck   HNAME(NCcoordck)
#define xdr_NCvshort   HNAME(xdr_NCvshort)
#define NC_dcpy   HNAME(NC_dcpy)
#define NCxdrfile_create   HNAME(NCxdrfile_create)
#define NCgenio   HNAME(NCgenio)
#define NC_var_shape   HNAME(NC_var_shape)
#define FILENAME_MAX   255
#define NC_BYTE_SIZE   1
#define NC_CHAR_SIZE   1
#define NC_SHORT_SIZE   2
#define NC_LONG_SIZE   4
#define NC_FLOAT_SIZE   4
#define NC_DOUBLE_SIZE   8
#define NC_UNSPECIFIED_SIZE   0
#define NC_RDWR   1
#define NC_CREAT   2
#define NC_EXCL   4
#define NC_INDEF   8
#define NC_NSYNC   0x10
#define NC_HSYNC   0x20
#define NC_NDIRTY   0x40
#define NC_HDIRTY   0x80
#define NC_NOFILL   0x100
#define NC_LINK   0x8000
#define NC_FILL   0
#define NC_NOWRITE   0
#define NC_WRITE   NC_RDWR
#define NC_CLOBBER   (NC_INDEF | NC_CREAT | NC_RDWR)
#define NC_NOCLOBBER   (NC_INDEF | NC_EXCL | NC_CREAT | NC_RDWR)
#define NC_UNLIMITED   0L
#define NC_GLOBAL   -1
#define NC_UNSPECIFIED   0
#define NC_BYTE   1
#define NC_CHAR   2
#define NC_SHORT   3
#define NC_LONG   4
#define NC_FLOAT   5
#define NC_DOUBLE   6
#define NC_BITFIELD   7
#define NC_STRING   8
#define NC_IARRAY   9
#define NC_DIMENSION   10
#define NC_VARIABLE   11
#define NC_ATTRIBUTE   12
#define NC_NOERR   0
#define NC_EBADID   1
#define NC_ENFILE   2
#define NC_EEXIST   3
#define NC_EINVAL   4
#define NC_EPERM   5
#define NC_ENOTINDEFINE   6
#define NC_EINDEFINE   7
#define NC_EINVALCOORDS   8
#define NC_EMAXDIMS   9
#define NC_ENAMEINUSE   10
#define NC_ENOTATT   11
#define NC_EMAXATTS   12
#define NC_EBADTYPE   13
#define NC_EBADDIM   14
#define NC_EUNLIMPOS   15
#define NC_EMAXVARS   16
#define NC_ENOTVAR   17
#define NC_EGLOBAL   18
#define NC_ENOTNC   19
#define NC_ESTS   20
#define NC_EMAXNAME   21
#define NC_ENTOOL   NC_EMAXNAME
#define NC_EUNLIMIT   22
#define NC_EXDR   32
#define NC_SYSERR   -1
#define NC_FATAL   1
#define NC_VERBOSE   2
#define ATTR_TAG   DFTAG_VH
#define DIM_TAG   DFTAG_VG
#define VAR_TAG   DFTAG_VG
#define DATA_TAG   DFTAG_SD
#define BOGUS_TAG   ((uint16)721)
#define DIMVAL_VERSION00   0
#define DIMVAL_VERSION01   1
#define BLOCK_MULT   64
#define MAX_BLOCK_SIZE   65536
#define BLOCK_COUNT   128
#define NC_compare_string(s1, s2)
#define IS_RECVAR(vp)
#define netCDF_FILE   0
#define HDF_FILE   1
#define CDF_FILE   2
#define MAGICOFFSET   0
#define CDFMAGIC   0x0000FFFF
#define HDFXMAGIC   0x0e031301
#define NCMAGIC   0x43444601
#define NCMAGIC64   0x43444602
#define NCLINKMAGIC   0x43444c01

Typedefs

typedef int nc_type

Functions

HDFLIBAPI int H4_nccreate (const char *path, int cmode)
HDFLIBAPI int H4_ncopen (const char *path, int mode)
HDFLIBAPI int H4_ncendef (int cdfid)
HDFLIBAPI int H4_ncclose (int cdfid)
HDFLIBAPI int H4_ncabort (int cdfid)
HDFLIBAPI int H4_ncdimdef (int cdfid, const char *name, long length)
HDFLIBAPI int H4_ncdiminq (int cdfid, int dimid, char *name, long *length)
HDFLIBAPI int H4_ncvardef (int cdfid, const char *name, nc_type datatype, int ndims, const int *dim)
HDFLIBAPI int H4_ncvarid (int cdfid, const char *name)
HDFLIBAPI int H4_ncvarinq (int cdfid, int varid, char *name, nc_type *datatype, int *ndims, int *dim, int *natts)
HDFLIBAPI int H4_ncvarput1 (int cdfid, int varid, const long *coords, const void *value)
HDFLIBAPI int H4_ncvarget1 (int cdfid, int varid, const long *coords, void *value)
HDFLIBAPI int H4_ncvarput (int cdfid, int varid, const long *start, const long *count, void *value)
HDFLIBAPI int H4_ncvarget (int cdfid, int varid, const long *start, const long *count, void *value)
HDFLIBAPI int H4_ncvarputs (int cdfid, int varid, const long *start, const long *count, const long *stride, void *values)
HDFLIBAPI int H4_ncvargets (int cdfid, int varid, const long *start, const long *count, const long *stride, void *values)
HDFLIBAPI int H4_ncvarputg (int cdfid, int varid, const long *start, const long *count, const long *stride, const long *imap, void *values)
HDFLIBAPI int H4_ncvargetg (int cdfid, int varid, const long *start, const long *count, const long *stride, const long *imap, void *values)
HDFLIBAPI int H4_ncattput (int cdfid, int varid, const char *name, nc_type datatype, int len, const void *value)
HDFLIBAPI int H4_nctypelen (nc_type datatype)
HDFLIBAPI int H4_ncsetfill (int cdfid, int fillmode)
HDFLIBAPI void H4_nc_serror (const char *fmt,...)
HDFLIBAPI void H4_NCadvise (int err, const char *fmt,...)
HDFLIBAPI int H4_NC_computeshapes (NC *handle)
HDFLIBAPI int H4_NC_xtypelen (nc_type type)
HDFLIBAPI int H4_NC_xlen_array (NC_array *array)
HDFLIBAPI int H4_NC_xlen_attr (NC_attr **app)
HDFLIBAPI int H4_NC_xlen_cdf (NC *cdf)
HDFLIBAPI int H4_NC_xlen_dim (NC_dim **dpp)
HDFLIBAPI int H4_NC_xlen_iarray (NC_iarray *iarray)
HDFLIBAPI int H4_NC_xlen_string (NC_string *cdfstr)
HDFLIBAPI int H4_NC_xlen_var (NC_var **vpp)
HDFLIBAPI void H4_NC_arrayfill (void *lo, size_t len, nc_type type)
HDFLIBAPI void H4_NC_copy_arrayvals (char *target, NC_array *array)
HDFLIBAPI int H4_NC_free_array (NC_array *array)
HDFLIBAPI int H4_NC_free_attr (NC_attr *attr)
HDFLIBAPI int H4_NC_free_cdf (NC *handle)
HDFLIBAPI int H4_NC_free_dim (NC_dim *dim)
HDFLIBAPI int H4_NC_free_iarray (NC_iarray *iarray)
HDFLIBAPI int H4_NC_free_string (NC_string *cdfstr)
HDFLIBAPI int H4_NC_free_var (NC_var *var)
HDFLIBAPI uint8_t * H4_NC_incr_array (NC_array *array, uint8_t *tail)
HDFLIBAPI int H4_NC_dimid (NC *handle, char *name)
HDFLIBAPI bool_t H4_NCcktype (nc_type datatype)
HDFLIBAPI bool_t H4_NC_indefine (int cdfid, bool_t iserr)
HDFLIBAPI bool_t H4_xdr_cdf (XDR *xdrs, NC **handlep)
HDFLIBAPI bool_t H4_xdr_numrecs (XDR *xdrs, NC *handle)
HDFLIBAPI bool_t H4_xdr_shorts (XDR *xdrs, short *sp, unsigned cnt)
HDFLIBAPI bool_t H4_xdr_NC_array (XDR *xdrs, NC_array **app)
HDFLIBAPI bool_t H4_xdr_NC_attr (XDR *xdrs, NC_attr **app)
HDFLIBAPI bool_t H4_xdr_NC_dim (XDR *xdrs, NC_dim **dpp)
HDFLIBAPI bool_t H4_xdr_NC_fill (XDR *xdrs, NC_var *vp)
HDFLIBAPI bool_t H4_xdr_NC_iarray (XDR *xdrs, NC_iarray **ipp)
HDFLIBAPI bool_t H4_xdr_NC_string (XDR *xdrs, NC_string **spp)
HDFLIBAPI bool_t H4_xdr_NC_var (XDR *xdrs, NC_var **vpp)
HDFLIBAPI size_t H4_NC_typelen (nc_type type)
HDFLIBAPI NCH4_NC_check_id (int cdfid)
HDFLIBAPI NCH4_NC_new_cdf (const char *name, int mode)
HDFLIBAPI NC_arrayH4_NC_new_array (nc_type type, unsigned count, const void *values)
HDFLIBAPI NC_arrayH4_NC_re_array (NC_array *old, nc_type type, unsigned count, const void *values)
HDFLIBAPI NC_attrH4_NC_new_attr (const char *name, nc_type type, unsigned count, const void *values)
HDFLIBAPI NC_attr ** H4_NC_findattr (NC_array **ap, const char *name)
HDFLIBAPI NC_dimH4_NC_new_dim (const char *name, long size)
HDFLIBAPI NC_iarrayH4_NC_new_iarray (unsigned count, const int values[])
HDFLIBAPI NC_stringH4_NC_new_string (unsigned count, const char *str)
HDFLIBAPI NC_stringH4_NC_re_string (NC_string *old, unsigned count, const char *str)
HDFLIBAPI NC_varH4_NC_hlookupvar (NC *handle, int varid)
HDFLIBAPI NC_varH4_NC_new_var (const char *name, nc_type type, int ndims, const int *dims)
HDFLIBAPI int H4_NCvario (NC *handle, int varid, const long *start, const long *edges, void *values)
HDFLIBAPI bool_t H4_NCcoordck (NC *handle, NC_var *vp, const long *coords)
HDFLIBAPI bool_t H4_xdr_NCvshort (XDR *xdrs, unsigned which, short *values)
HDFLIBAPI bool_t H4_NC_dcpy (XDR *target, XDR *source, long nbytes)
HDFLIBAPI int H4_NCxdrfile_create (XDR *xdrs, const char *path, int ncmode)
HDFLIBAPI int hdf_fill_array (uint8_t *storage, int32 len, uint8_t *value, int32 type)
HDFLIBAPI int hdf_get_data (NC *handle, NC_var *vp)
HDFLIBAPI int32 hdf_get_vp_aid (NC *handle, NC_var *vp, uint32 access)
HDFLIBAPI int hdf_map_type (nc_type)
HDFLIBAPI nc_type hdf_unmap_type (int)
HDFLIBAPI int hdf_get_ref (NC *, int)
HDFLIBAPI int hdf_create_dim_vdata (XDR *, NC *, NC_dim *)
HDFLIBAPI int hdf_create_compat_dim_vdata (XDR *xdrs, NC *handle, NC_dim *dim, int32 dimval_ver)
HDFLIBAPI int hdf_write_attr (XDR *, NC *, NC_attr **)
HDFLIBAPI int32 hdf_write_dim (XDR *, NC *, NC_dim **, int32)
HDFLIBAPI int32 hdf_write_var (XDR *, NC *, NC_var **)
HDFLIBAPI int hdf_write_xdr_cdf (XDR *, NC **)
HDFLIBAPI int hdf_conv_scales (NC **)
HDFLIBAPI int hdf_read_dims (XDR *, NC *, int32)
HDFLIBAPI NC_arrayhdf_read_attrs (XDR *, NC *, int32)
HDFLIBAPI int hdf_read_vars (XDR *, NC *, int32)
HDFLIBAPI int hdf_read_xdr_cdf (XDR *, NC **)
HDFLIBAPI int hdf_xdr_cdf (XDR *, NC **)
HDFLIBAPI int hdf_vg_clobber (NC *, int)
HDFLIBAPI int hdf_cdf_clobber (NC *)
HDFLIBAPI int hdf_close (NC *)
HDFLIBAPI int hdf_read_sds_dims (NC *)
HDFLIBAPI int hdf_read_sds_cdf (XDR *, NC **)
HDFLIBAPI int SDPfreebuf (void)
HDFLIBAPI int H4_NCgenio (NC *handle, int varid, const long *start, const long *count, const long *stride, const long *imap, void *values)
HDFLIBAPI int H4_NC_var_shape (NC_var *var, NC_array *dims)
HDFLIBAPI int NC_reset_maxopenfiles (int req_max)
HDFLIBAPI int NC_get_maxopenfiles (void)
HDFLIBAPI int NC_get_systemlimit (void)
HDFLIBAPI int NC_get_numopencdfs (void)
HDFLIBAPI nc_type cdf_unmap_type (int type)
HDFLIBAPI bool_t nssdc_read_cdf (XDR *xdrs, NC **handlep)
HDFLIBAPI bool_t nssdc_write_cdf (XDR *xdrs, NC **handlep)
HDFLIBAPI bool_t nssdc_xdr_cdf (XDR *xdrs, NC **handlep)
HDFLIBAPI int HDiscdf (const char *filename)
HDFLIBAPI int HDisnetcdf (const char *filename)
HDFLIBAPI int HDisnetcdf64 (const char *filename)

Variables

HDFLIBAPI int H4_ncerr
HDFLIBAPI int H4_ncopts
HDFLIBAPI const char * cdf_routine_name

Macro Definition Documentation

◆ ATTR_TAG

#define ATTR_TAG   DFTAG_VH

◆ BLOCK_COUNT

#define BLOCK_COUNT   128

◆ BLOCK_MULT

#define BLOCK_MULT   64

◆ BOGUS_TAG

#define BOGUS_TAG   ((uint16)721)

◆ CDF_FILE

#define CDF_FILE   2

◆ CDFMAGIC

#define CDFMAGIC   0x0000FFFF

◆ DATA_TAG

#define DATA_TAG   DFTAG_SD

◆ DIM_TAG

#define DIM_TAG   DFTAG_VG

◆ DIMVAL_VERSION00

#define DIMVAL_VERSION00   0

◆ DIMVAL_VERSION01

#define DIMVAL_VERSION01   1

◆ FILENAME_MAX

#define FILENAME_MAX   255

◆ HDF_FILE

#define HDF_FILE   1

◆ HDFXMAGIC

#define HDFXMAGIC   0x0e031301

◆ HNAME

#define HNAME ( x)
Value:
H4_##x

◆ IS_RECVAR

#define IS_RECVAR ( vp)
Value:
((vp)->shape != NULL ? (*(vp)->shape == NC_UNLIMITED) : 0)
#define NC_UNLIMITED
Definition nc_priv.h:170

◆ MAGICOFFSET

#define MAGICOFFSET   0

◆ MAX_BLOCK_SIZE

#define MAX_BLOCK_SIZE   65536

◆ NC_arrayfill

#define NC_arrayfill   HNAME(NC_arrayfill)

◆ NC_ATTRIBUTE

#define NC_ATTRIBUTE   12

◆ NC_BITFIELD

#define NC_BITFIELD   7

◆ NC_BYTE

#define NC_BYTE   1

◆ NC_BYTE_SIZE

#define NC_BYTE_SIZE   1

◆ NC_CHAR

#define NC_CHAR   2

◆ NC_CHAR_SIZE

#define NC_CHAR_SIZE   1

◆ NC_check_id

#define NC_check_id   HNAME(NC_check_id)

◆ NC_CLOBBER

#define NC_CLOBBER   (NC_INDEF | NC_CREAT | NC_RDWR)

◆ NC_compare_string

#define NC_compare_string ( s1,
s2 )
Value:
((s1)->hash != (s2)->hash ? 1 : strcmp((s1)->values, (s2)->values))
intf intf _fcd intf intf intf * values
Definition hproto_fortran.h:1192

◆ NC_computeshapes

#define NC_computeshapes   HNAME(NC_computeshapes)

◆ NC_copy_arrayvals

#define NC_copy_arrayvals   HNAME(NC_copy_arrayvals)

◆ NC_CREAT

#define NC_CREAT   2

◆ NC_dcpy

#define NC_dcpy   HNAME(NC_dcpy)

◆ NC_DIMENSION

#define NC_DIMENSION   10

◆ NC_dimid

#define NC_dimid   HNAME(NC_dimid)

◆ NC_DOUBLE

#define NC_DOUBLE   6

◆ NC_DOUBLE_SIZE

#define NC_DOUBLE_SIZE   8

◆ NC_EBADDIM

#define NC_EBADDIM   14

◆ NC_EBADID

#define NC_EBADID   1

◆ NC_EBADTYPE

#define NC_EBADTYPE   13

◆ NC_EEXIST

#define NC_EEXIST   3

◆ NC_EGLOBAL

#define NC_EGLOBAL   18

◆ NC_EINDEFINE

#define NC_EINDEFINE   7

◆ NC_EINVAL

#define NC_EINVAL   4

◆ NC_EINVALCOORDS

#define NC_EINVALCOORDS   8

◆ NC_EMAXATTS

#define NC_EMAXATTS   12

◆ NC_EMAXDIMS

#define NC_EMAXDIMS   9

◆ NC_EMAXNAME

#define NC_EMAXNAME   21

◆ NC_EMAXVARS

#define NC_EMAXVARS   16

◆ NC_ENAMEINUSE

#define NC_ENAMEINUSE   10

◆ NC_ENFILE

#define NC_ENFILE   2

◆ NC_ENOTATT

#define NC_ENOTATT   11

◆ NC_ENOTINDEFINE

#define NC_ENOTINDEFINE   6

◆ NC_ENOTNC

#define NC_ENOTNC   19

◆ NC_ENOTVAR

#define NC_ENOTVAR   17

◆ NC_ENTOOL

#define NC_ENTOOL   NC_EMAXNAME

◆ NC_EPERM

#define NC_EPERM   5

◆ NC_ESTS

#define NC_ESTS   20

◆ NC_EUNLIMIT

#define NC_EUNLIMIT   22

◆ NC_EUNLIMPOS

#define NC_EUNLIMPOS   15

◆ NC_EXCL

#define NC_EXCL   4

◆ NC_EXDR

#define NC_EXDR   32

◆ NC_FATAL

#define NC_FATAL   1

◆ NC_FILL

#define NC_FILL   0

◆ NC_findattr

#define NC_findattr   HNAME(NC_findattr)

◆ NC_FLOAT

#define NC_FLOAT   5

◆ NC_FLOAT_SIZE

#define NC_FLOAT_SIZE   4

◆ NC_free_array

#define NC_free_array   HNAME(NC_free_array)

◆ NC_free_attr

#define NC_free_attr   HNAME(NC_free_attr)

◆ NC_free_cdf

#define NC_free_cdf   HNAME(NC_free_cdf)

◆ NC_free_dim

#define NC_free_dim   HNAME(NC_free_dim)

◆ NC_free_iarray

#define NC_free_iarray   HNAME(NC_free_iarray)

◆ NC_free_string

#define NC_free_string   HNAME(NC_free_string)

◆ NC_free_var

#define NC_free_var   HNAME(NC_free_var)

◆ NC_GLOBAL

#define NC_GLOBAL   -1

◆ NC_HDIRTY

#define NC_HDIRTY   0x80

◆ NC_hlookupvar

#define NC_hlookupvar   HNAME(NC_hlookupvar)

◆ NC_HSYNC

#define NC_HSYNC   0x20

◆ NC_IARRAY

#define NC_IARRAY   9

◆ NC_incr_array

#define NC_incr_array   HNAME(NC_incr_array)

◆ NC_INDEF

#define NC_INDEF   8

◆ NC_indefine

#define NC_indefine   HNAME(NC_indefine)

◆ NC_LINK

#define NC_LINK   0x8000

◆ NC_LONG

#define NC_LONG   4

◆ NC_LONG_SIZE

#define NC_LONG_SIZE   4

◆ NC_NDIRTY

#define NC_NDIRTY   0x40

◆ NC_new_array

#define NC_new_array   HNAME(NC_new_array)

◆ NC_new_attr

#define NC_new_attr   HNAME(NC_new_attr)

◆ NC_new_cdf

#define NC_new_cdf   HNAME(NC_new_cdf)

◆ NC_new_dim

#define NC_new_dim   HNAME(NC_new_dim)

◆ NC_new_iarray

#define NC_new_iarray   HNAME(NC_new_iarray)

◆ NC_new_string

#define NC_new_string   HNAME(NC_new_string)

◆ NC_new_var

#define NC_new_var   HNAME(NC_new_var)

◆ NC_NOCLOBBER

#define NC_NOCLOBBER   (NC_INDEF | NC_EXCL | NC_CREAT | NC_RDWR)

◆ NC_NOERR

#define NC_NOERR   0

◆ NC_NOFILL

#define NC_NOFILL   0x100

◆ NC_NOWRITE

#define NC_NOWRITE   0

◆ NC_NSYNC

#define NC_NSYNC   0x10

◆ NC_RDWR

#define NC_RDWR   1

◆ NC_re_array

#define NC_re_array   HNAME(NC_re_array)

◆ NC_re_string

#define NC_re_string   HNAME(NC_re_string)

◆ nc_serror

#define nc_serror   HNAME(nc_serror)

◆ NC_SHORT

#define NC_SHORT   3

◆ NC_SHORT_SIZE

#define NC_SHORT_SIZE   2

◆ NC_STRING

#define NC_STRING   8

◆ NC_SYSERR

#define NC_SYSERR   -1

◆ NC_typelen

#define NC_typelen   HNAME(NC_typelen)

◆ NC_UNLIMITED

#define NC_UNLIMITED   0L

◆ NC_UNSPECIFIED

#define NC_UNSPECIFIED   0

◆ NC_UNSPECIFIED_SIZE

#define NC_UNSPECIFIED_SIZE   0

◆ NC_var_shape

#define NC_var_shape   HNAME(NC_var_shape)

◆ NC_VARIABLE

#define NC_VARIABLE   11

◆ NC_VERBOSE

#define NC_VERBOSE   2

◆ NC_WRITE

#define NC_WRITE   NC_RDWR

◆ NC_xlen_array

#define NC_xlen_array   HNAME(NC_xlen_array)

◆ NC_xlen_attr

#define NC_xlen_attr   HNAME(NC_xlen_attr)

◆ NC_xlen_cdf

#define NC_xlen_cdf   HNAME(NC_xlen_cdf)

◆ NC_xlen_dim

#define NC_xlen_dim   HNAME(NC_xlen_dim)

◆ NC_xlen_iarray

#define NC_xlen_iarray   HNAME(NC_xlen_iarray)

◆ NC_xlen_string

#define NC_xlen_string   HNAME(NC_xlen_string)

◆ NC_xlen_var

#define NC_xlen_var   HNAME(NC_xlen_var)

◆ NC_xtypelen

#define NC_xtypelen   HNAME(NC_xtypelen)

◆ ncabort

#define ncabort   HNAME(ncabort)

◆ NCadvise

#define NCadvise   HNAME(NCadvise)

◆ ncattput

#define ncattput   HNAME(ncattput)

◆ NCcktype

#define NCcktype   HNAME(NCcktype)

◆ ncclose

#define ncclose   HNAME(ncclose)

◆ NCcoordck

#define NCcoordck   HNAME(NCcoordck)

◆ nccreate

#define nccreate   HNAME(nccreate)

◆ ncdimdef

#define ncdimdef   HNAME(ncdimdef)

◆ ncdiminq

#define ncdiminq   HNAME(ncdiminq)

◆ ncendef

#define ncendef   HNAME(ncendef)

◆ ncerr

#define ncerr   HNAME(ncerr)

◆ NCgenio

#define NCgenio   HNAME(NCgenio)

◆ NCLINKMAGIC

#define NCLINKMAGIC   0x43444c01

◆ NCMAGIC

#define NCMAGIC   0x43444601

◆ NCMAGIC64

#define NCMAGIC64   0x43444602

◆ ncopen

#define ncopen   HNAME(ncopen)

◆ ncopts

#define ncopts   HNAME(ncopts)

◆ ncsetfill

#define ncsetfill   HNAME(ncsetfill)

◆ nctypelen

#define nctypelen   HNAME(nctypelen)

◆ ncvardef

#define ncvardef   HNAME(ncvardef)

◆ ncvarget

#define ncvarget   HNAME(ncvarget)

◆ ncvarget1

#define ncvarget1   HNAME(ncvarget1)

◆ ncvargetg

#define ncvargetg   HNAME(ncvargetg)

◆ ncvargets

#define ncvargets   HNAME(ncvargets)

◆ ncvarid

#define ncvarid   HNAME(ncvarid)

◆ ncvarinq

#define ncvarinq   HNAME(ncvarinq)

◆ NCvario

#define NCvario   HNAME(NCvario)

◆ ncvarput

#define ncvarput   HNAME(ncvarput)

◆ ncvarput1

#define ncvarput1   HNAME(ncvarput1)

◆ ncvarputg

#define ncvarputg   HNAME(ncvarputg)

◆ ncvarputs

#define ncvarputs   HNAME(ncvarputs)

◆ NCxdrfile_create

#define NCxdrfile_create   HNAME(NCxdrfile_create)

◆ netCDF_FILE

#define netCDF_FILE   0

◆ VAR_TAG

#define VAR_TAG   DFTAG_VG

◆ xdr_cdf

#define xdr_cdf   HNAME(xdr_cdf)

◆ xdr_NC_array

#define xdr_NC_array   HNAME(xdr_NC_array)

◆ xdr_NC_attr

#define xdr_NC_attr   HNAME(xdr_NC_attr)

◆ xdr_NC_dim

#define xdr_NC_dim   HNAME(xdr_NC_dim)

◆ xdr_NC_fill

#define xdr_NC_fill   HNAME(xdr_NC_fill)

◆ xdr_NC_iarray

#define xdr_NC_iarray   HNAME(xdr_NC_iarray)

◆ xdr_NC_string

#define xdr_NC_string   HNAME(xdr_NC_string)

◆ xdr_NC_var

#define xdr_NC_var   HNAME(xdr_NC_var)

◆ xdr_NCvshort

#define xdr_NCvshort   HNAME(xdr_NCvshort)

◆ xdr_numrecs

#define xdr_numrecs   HNAME(xdr_numrecs)

◆ xdr_shorts

#define xdr_shorts   HNAME(xdr_shorts)

Typedef Documentation

◆ nc_type

typedef int nc_type

Function Documentation

◆ cdf_unmap_type()

HDFLIBAPI nc_type cdf_unmap_type ( int type)

◆ H4_NC_arrayfill()

HDFLIBAPI void H4_NC_arrayfill ( void * lo,
size_t len,
nc_type type )

◆ H4_NC_check_id()

HDFLIBAPI NC * H4_NC_check_id ( int cdfid)

◆ H4_NC_computeshapes()

HDFLIBAPI int H4_NC_computeshapes ( NC * handle)

◆ H4_NC_copy_arrayvals()

HDFLIBAPI void H4_NC_copy_arrayvals ( char * target,
NC_array * array )

◆ H4_NC_dcpy()

HDFLIBAPI bool_t H4_NC_dcpy ( XDR * target,
XDR * source,
long nbytes )

◆ H4_NC_dimid()

HDFLIBAPI int H4_NC_dimid ( NC * handle,
char * name )

◆ H4_NC_findattr()

HDFLIBAPI NC_attr ** H4_NC_findattr ( NC_array ** ap,
const char * name )

◆ H4_NC_free_array()

HDFLIBAPI int H4_NC_free_array ( NC_array * array)

◆ H4_NC_free_attr()

HDFLIBAPI int H4_NC_free_attr ( NC_attr * attr)

◆ H4_NC_free_cdf()

HDFLIBAPI int H4_NC_free_cdf ( NC * handle)

◆ H4_NC_free_dim()

HDFLIBAPI int H4_NC_free_dim ( NC_dim * dim)

◆ H4_NC_free_iarray()

HDFLIBAPI int H4_NC_free_iarray ( NC_iarray * iarray)

◆ H4_NC_free_string()

HDFLIBAPI int H4_NC_free_string ( NC_string * cdfstr)

◆ H4_NC_free_var()

HDFLIBAPI int H4_NC_free_var ( NC_var * var)

◆ H4_NC_hlookupvar()

HDFLIBAPI NC_var * H4_NC_hlookupvar ( NC * handle,
int varid )

◆ H4_NC_incr_array()

HDFLIBAPI uint8_t * H4_NC_incr_array ( NC_array * array,
uint8_t * tail )

◆ H4_NC_indefine()

HDFLIBAPI bool_t H4_NC_indefine ( int cdfid,
bool_t iserr )

◆ H4_NC_new_array()

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

◆ H4_NC_new_attr()

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

◆ H4_NC_new_cdf()

HDFLIBAPI NC * H4_NC_new_cdf ( const char * name,
int mode )

◆ H4_NC_new_dim()

HDFLIBAPI NC_dim * H4_NC_new_dim ( const char * name,
long size )

◆ H4_NC_new_iarray()

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

◆ H4_NC_new_string()

HDFLIBAPI NC_string * H4_NC_new_string ( unsigned count,
const char * str )

◆ H4_NC_new_var()

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

◆ H4_NC_re_array()

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

◆ H4_NC_re_string()

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

◆ H4_nc_serror()

HDFLIBAPI void H4_nc_serror ( const char * fmt,
... )

◆ H4_NC_typelen()

HDFLIBAPI size_t H4_NC_typelen ( nc_type type)

◆ H4_NC_var_shape()

HDFLIBAPI int H4_NC_var_shape ( NC_var * var,
NC_array * dims )

◆ H4_NC_xlen_array()

HDFLIBAPI int H4_NC_xlen_array ( NC_array * array)

◆ H4_NC_xlen_attr()

HDFLIBAPI int H4_NC_xlen_attr ( NC_attr ** app)

◆ H4_NC_xlen_cdf()

HDFLIBAPI int H4_NC_xlen_cdf ( NC * cdf)

◆ H4_NC_xlen_dim()

HDFLIBAPI int H4_NC_xlen_dim ( NC_dim ** dpp)

◆ H4_NC_xlen_iarray()

HDFLIBAPI int H4_NC_xlen_iarray ( NC_iarray * iarray)

◆ H4_NC_xlen_string()

HDFLIBAPI int H4_NC_xlen_string ( NC_string * cdfstr)

◆ H4_NC_xlen_var()

HDFLIBAPI int H4_NC_xlen_var ( NC_var ** vpp)

◆ H4_NC_xtypelen()

HDFLIBAPI int H4_NC_xtypelen ( nc_type type)

◆ H4_ncabort()

HDFLIBAPI int H4_ncabort ( int cdfid)

◆ H4_NCadvise()

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

◆ H4_ncattput()

HDFLIBAPI int H4_ncattput ( int cdfid,
int varid,
const char * name,
nc_type datatype,
int len,
const void * value )

◆ H4_NCcktype()

HDFLIBAPI bool_t H4_NCcktype ( nc_type datatype)

◆ H4_ncclose()

HDFLIBAPI int H4_ncclose ( int cdfid)

◆ H4_NCcoordck()

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

◆ H4_nccreate()

HDFLIBAPI int H4_nccreate ( const char * path,
int cmode )

◆ H4_ncdimdef()

HDFLIBAPI int H4_ncdimdef ( int cdfid,
const char * name,
long length )

◆ H4_ncdiminq()

HDFLIBAPI int H4_ncdiminq ( int cdfid,
int dimid,
char * name,
long * length )

◆ H4_ncendef()

HDFLIBAPI int H4_ncendef ( int cdfid)

◆ H4_NCgenio()

HDFLIBAPI int H4_NCgenio ( NC * handle,
int varid,
const long * start,
const long * count,
const long * stride,
const long * imap,
void * values )

◆ H4_ncopen()

HDFLIBAPI int H4_ncopen ( const char * path,
int mode )

◆ H4_ncsetfill()

HDFLIBAPI int H4_ncsetfill ( int cdfid,
int fillmode )

◆ H4_nctypelen()

HDFLIBAPI int H4_nctypelen ( nc_type datatype)

◆ H4_ncvardef()

HDFLIBAPI int H4_ncvardef ( int cdfid,
const char * name,
nc_type datatype,
int ndims,
const int * dim )

◆ H4_ncvarget()

HDFLIBAPI int H4_ncvarget ( int cdfid,
int varid,
const long * start,
const long * count,
void * value )

◆ H4_ncvarget1()

HDFLIBAPI int H4_ncvarget1 ( int cdfid,
int varid,
const long * coords,
void * value )

◆ H4_ncvargetg()

HDFLIBAPI int H4_ncvargetg ( int cdfid,
int varid,
const long * start,
const long * count,
const long * stride,
const long * imap,
void * values )

◆ H4_ncvargets()

HDFLIBAPI int H4_ncvargets ( int cdfid,
int varid,
const long * start,
const long * count,
const long * stride,
void * values )

◆ H4_ncvarid()

HDFLIBAPI int H4_ncvarid ( int cdfid,
const char * name )

◆ H4_ncvarinq()

HDFLIBAPI int H4_ncvarinq ( int cdfid,
int varid,
char * name,
nc_type * datatype,
int * ndims,
int * dim,
int * natts )

◆ H4_NCvario()

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

◆ H4_ncvarput()

HDFLIBAPI int H4_ncvarput ( int cdfid,
int varid,
const long * start,
const long * count,
void * value )

◆ H4_ncvarput1()

HDFLIBAPI int H4_ncvarput1 ( int cdfid,
int varid,
const long * coords,
const void * value )

◆ H4_ncvarputg()

HDFLIBAPI int H4_ncvarputg ( int cdfid,
int varid,
const long * start,
const long * count,
const long * stride,
const long * imap,
void * values )

◆ H4_ncvarputs()

HDFLIBAPI int H4_ncvarputs ( int cdfid,
int varid,
const long * start,
const long * count,
const long * stride,
void * values )

◆ H4_NCxdrfile_create()

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

◆ H4_xdr_cdf()

HDFLIBAPI bool_t H4_xdr_cdf ( XDR * xdrs,
NC ** handlep )

◆ H4_xdr_NC_array()

HDFLIBAPI bool_t H4_xdr_NC_array ( XDR * xdrs,
NC_array ** app )

◆ H4_xdr_NC_attr()

HDFLIBAPI bool_t H4_xdr_NC_attr ( XDR * xdrs,
NC_attr ** app )

◆ H4_xdr_NC_dim()

HDFLIBAPI bool_t H4_xdr_NC_dim ( XDR * xdrs,
NC_dim ** dpp )

◆ H4_xdr_NC_fill()

HDFLIBAPI bool_t H4_xdr_NC_fill ( XDR * xdrs,
NC_var * vp )

◆ H4_xdr_NC_iarray()

HDFLIBAPI bool_t H4_xdr_NC_iarray ( XDR * xdrs,
NC_iarray ** ipp )

◆ H4_xdr_NC_string()

HDFLIBAPI bool_t H4_xdr_NC_string ( XDR * xdrs,
NC_string ** spp )

◆ H4_xdr_NC_var()

HDFLIBAPI bool_t H4_xdr_NC_var ( XDR * xdrs,
NC_var ** vpp )

◆ H4_xdr_NCvshort()

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

◆ H4_xdr_numrecs()

HDFLIBAPI bool_t H4_xdr_numrecs ( XDR * xdrs,
NC * handle )

◆ H4_xdr_shorts()

HDFLIBAPI bool_t H4_xdr_shorts ( XDR * xdrs,
short * sp,
unsigned cnt )

◆ hdf_cdf_clobber()

HDFLIBAPI int hdf_cdf_clobber ( NC * )

◆ hdf_close()

HDFLIBAPI int hdf_close ( NC * )

◆ hdf_conv_scales()

HDFLIBAPI int hdf_conv_scales ( NC ** )

◆ hdf_create_compat_dim_vdata()

HDFLIBAPI int hdf_create_compat_dim_vdata ( XDR * xdrs,
NC * handle,
NC_dim * dim,
int32 dimval_ver )

◆ hdf_create_dim_vdata()

HDFLIBAPI int hdf_create_dim_vdata ( XDR * ,
NC * ,
NC_dim *  )

◆ hdf_fill_array()

HDFLIBAPI int hdf_fill_array ( uint8_t * storage,
int32 len,
uint8_t * value,
int32 type )

◆ hdf_get_data()

HDFLIBAPI int hdf_get_data ( NC * handle,
NC_var * vp )

◆ hdf_get_ref()

HDFLIBAPI int hdf_get_ref ( NC * ,
int  )

◆ hdf_get_vp_aid()

HDFLIBAPI int32 hdf_get_vp_aid ( NC * handle,
NC_var * vp,
uint32 access )

◆ hdf_map_type()

HDFLIBAPI int hdf_map_type ( nc_type )

◆ hdf_read_attrs()

HDFLIBAPI NC_array * hdf_read_attrs ( XDR * ,
NC * ,
int32  )

◆ hdf_read_dims()

HDFLIBAPI int hdf_read_dims ( XDR * ,
NC * ,
int32  )

◆ hdf_read_sds_cdf()

HDFLIBAPI int hdf_read_sds_cdf ( XDR * ,
NC **  )

◆ hdf_read_sds_dims()

HDFLIBAPI int hdf_read_sds_dims ( NC * )

◆ hdf_read_vars()

HDFLIBAPI int hdf_read_vars ( XDR * ,
NC * ,
int32  )

◆ hdf_read_xdr_cdf()

HDFLIBAPI int hdf_read_xdr_cdf ( XDR * ,
NC **  )

◆ hdf_unmap_type()

HDFLIBAPI nc_type hdf_unmap_type ( int )

◆ hdf_vg_clobber()

HDFLIBAPI int hdf_vg_clobber ( NC * ,
int  )

◆ hdf_write_attr()

HDFLIBAPI int hdf_write_attr ( XDR * ,
NC * ,
NC_attr **  )

◆ hdf_write_dim()

HDFLIBAPI int32 hdf_write_dim ( XDR * ,
NC * ,
NC_dim ** ,
int32  )

◆ hdf_write_var()

HDFLIBAPI int32 hdf_write_var ( XDR * ,
NC * ,
NC_var **  )

◆ hdf_write_xdr_cdf()

HDFLIBAPI int hdf_write_xdr_cdf ( XDR * ,
NC **  )

◆ hdf_xdr_cdf()

HDFLIBAPI int hdf_xdr_cdf ( XDR * ,
NC **  )

◆ HDiscdf()

HDFLIBAPI int HDiscdf ( const char * filename)

◆ HDisnetcdf()

HDFLIBAPI int HDisnetcdf ( const char * filename)

◆ HDisnetcdf64()

HDFLIBAPI int HDisnetcdf64 ( const char * filename)

◆ NC_get_maxopenfiles()

HDFLIBAPI int NC_get_maxopenfiles ( void )

◆ NC_get_numopencdfs()

HDFLIBAPI int NC_get_numopencdfs ( void )

◆ NC_get_systemlimit()

HDFLIBAPI int NC_get_systemlimit ( void )

◆ NC_reset_maxopenfiles()

HDFLIBAPI int NC_reset_maxopenfiles ( int req_max)

◆ nssdc_read_cdf()

HDFLIBAPI bool_t nssdc_read_cdf ( XDR * xdrs,
NC ** handlep )

◆ nssdc_write_cdf()

HDFLIBAPI bool_t nssdc_write_cdf ( XDR * xdrs,
NC ** handlep )

◆ nssdc_xdr_cdf()

HDFLIBAPI bool_t nssdc_xdr_cdf ( XDR * xdrs,
NC ** handlep )

◆ SDPfreebuf()

HDFLIBAPI int SDPfreebuf ( void )

Variable Documentation

◆ cdf_routine_name

HDFLIBAPI const char* cdf_routine_name

◆ H4_ncerr

HDFLIBAPI int H4_ncerr

◆ H4_ncopts

HDFLIBAPI int H4_ncopts