71 #define NC_OLD_FILLVALUES 0 80 #define FILL_BYTE ((char)-127) 81 #define FILL_CHAR ((char)0) 82 #define FILL_SHORT ((short)-32767) 83 #define FILL_LONG ((long)-2147483647) 85 #if !NC_OLD_FILLVALUES 87 # define FILL_FLOAT 9.9692099683868690e+36 88 # define FILL_DOUBLE 9.9692099683868690e+36 124 #define XDR_D_INFINITY 1.7014118346046923e+38 125 #define XDR_F_INFINITY 1.70141173e+38 129 #define XDR_D_INFINITY 1.797693134862313000e+308 130 #define XDR_F_INFINITY XDR_D_INFINITY 134 #define XDR_D_INFINITY 1.797693134862315900e+308 135 #define XDR_F_INFINITY 3.40282357e+38 141 #ifndef XDR_D_INFINITY 143 union xdr_d_union {
unsigned char bb[8];
double dd;} ;
144 extern union xdr_d_union xdr_d_infs ;
145 #define XDR_D_INFINITY (xdr_d_infs.dd) 148 #ifndef XDR_F_INFINITY 150 union xdr_f_union {
unsigned char bb[4];
float ff;} ;
151 extern union xdr_f_union xdr_f_infs ;
152 #define XDR_F_INFINITY (xdr_f_infs.ff) 159 #ifndef XDR_D_INFINITY 160 #define USE_D_LONG_PUN 161 extern long xdr_d_infinity[] ;
162 #define XDR_D_INFINITY *(double *)xdr_d_infinity 165 #ifndef XDR_F_INFINITY 166 #define USE_F_LONG_PUN 167 extern long xdr_f_infinity ;
168 #define XDR_F_INFINITY *((float *)&xdr_f_infinity) 175 #define FILL_FLOAT XDR_F_INFINITY 176 #define FILL_DOUBLE XDR_D_INFINITY 189 #define NC_NSYNC 0x10 190 #define NC_HSYNC 0x20 191 #define NC_NDIRTY 0x40 192 #define NC_HDIRTY 0x80 193 #define NC_NOFILL 0x100 194 #define NC_LINK 0x8000 202 #define NC_WRITE NC_RDWR 203 #define NC_CLOBBER (NC_INDEF | NC_CREAT | NC_RDWR) 204 #define NC_NOCLOBBER (NC_INDEF | NC_EXCL | NC_CREAT | NC_RDWR) 209 #define NC_UNLIMITED 0L 221 #define MAX_NC_OPEN 32 228 #define MAX_NC_DIMS 5000 229 #define MAX_NC_ATTRS 3000 230 #define MAX_NC_VARS 5000 231 #define MAX_NC_NAME 256 232 #define MAX_VAR_DIMS 32 241 #define _FillValue "_FillValue" 271 #define NC_UNSPECIFIED 0 279 #define NC_BITFIELD 7 282 #define NC_DIMENSION 10 283 #define NC_VARIABLE 11 284 #define NC_ATTRIBUTE 12 319 #define NC_ENOTINDEFINE 6 320 #define NC_EINDEFINE 7 321 #define NC_EINVALCOORDS 8 322 #define NC_EMAXDIMS 9 323 #define NC_ENAMEINUSE 10 324 #define NC_ENOTATT 11 325 #define NC_EMAXATTS 12 326 #define NC_EBADTYPE 13 327 #define NC_EBADDIM 14 328 #define NC_EUNLIMPOS 15 329 #define NC_EMAXVARS 16 330 #define NC_ENOTVAR 17 331 #define NC_EGLOBAL 18 334 #define NC_EMAXNAME 21 335 #define NC_ENTOOL NC_EMAXNAME 336 #define NC_EUNLIMIT 22 357 #ifndef HAVE_PROTOTYPES 358 # if defined(__STDC__) || defined(__GNUC__) || defined(__cplusplus) || defined(c_plusplus) 359 # define HAVE_PROTOTYPES 364 #ifdef HAVE_PROTOTYPES EXTERNL int ncdimid(int ncid, const char *name)
HDFFCLIBAPI intf intf intf * count
EXTERNL int ncattcopy(int ncid_in, int varid_in, const char *name, int ncid_out, int varid_out)
EXTERNL int ncrecinq(int ncid, int *nrecvarsp, int *recvaridsp, long *recsizesp)
EXTERNL int ncopen(const char *path, int mode)
EXTERNL int ncdiminq(int ncid, int dimid, char *name, long *lenp)
HDFFCLIBAPI _fcd _fcd intf intf * datatype
EXTERNL int ncdimrename(int ncid, int dimid, const char *name)
EXTERNL int ncrecget(int ncid, long recnum, void **datap)
EXTERNL int nccreate(const char *path, int cmode)
EXTERNL int ncsync(int ncid)
EXTERNL int ncvarrename(int ncid, int varid, const char *name)
EXTERNL int ncsetfill(int ncid, int fillmode)
EXTERNL int ncredef(int ncid)
EXTERNL int ncvargets(int ncid, int varid, const long *startp, const long *countp, const long *stridep, void *ip)
EXTERNL int ncattinq(int ncid, int varid, const char *name, nc_type *xtypep, int *lenp)
EXTERNL int ncattdel(int ncid, int varid, const char *name)
EXTERNL int ncendef(int ncid)
EXTERNL int ncvargetg(int ncid, int varid, const long *startp, const long *countp, const long *stridep, const long *imapp, void *ip)
EXTERNL int ncvarputg(int ncid, int varid, const long *startp, const long *countp, const long *stridep, const long *imapp, const void *op)
EXTERNL int ncinquire(int ncid, int *ndimsp, int *nvarsp, int *nattsp, int *unlimdimp)
EXTERNL int ncvarput1(int ncid, int varid, const long *indexp, const void *op)
HDFFCLIBAPI intf _fcd intf intf intf * values
EXTERNL int ncclose(int ncid)
EXTERNL int ncdimdef(int ncid, const char *name, long len)
EXTERNL int ncattname(int ncid, int varid, int attnum, char *name)
EXTERNL int ncvarputs(int ncid, int varid, const long *startp, const long *countp, const long *stridep, const void *op)
EXTERNL int ncvarput(int ncid, int varid, const long *startp, const long *countp, const void *op)
EXTERNL int ncattget(int ncid, int varid, const char *name, void *ip)
EXTERNL int ncrecput(int ncid, long recnum, void *const *datap)
HDFFCLIBAPI intf intf start[]
EXTERNL int ncvarget(int ncid, int varid, const long *startp, const long *countp, void *ip)
HDFFCLIBAPI intf stride[]
EXTERNL int ncattrename(int ncid, int varid, const char *name, const char *newname)
EXTERNL int ncattput(int ncid, int varid, const char *name, nc_type xtype, int len, const void *op)
EXTERNL int ncvarget1(int ncid, int varid, const long *indexp, void *ip)
EXTERNL int ncvardef(int ncid, const char *name, nc_type xtype, int ndims, const int *dimidsp)
EXTERNL int ncvarid(int ncid, const char *name)
EXTERNL int ncabort(int ncid)
EXTERNL int ncvarinq(int ncid, int varid, char *name, nc_type *xtypep, int *ndimsp, int *dimidsp, int *nattsp)
EXTERNL int nctypelen(nc_type datatype)