30 #define FILENAME_MAX 255 34 #ifndef NO_SYS_XDR_INC 37 #ifndef __u_char_defined 38 typedef unsigned char u_char;
39 #define __u_char_defined 41 #ifndef __u_short_defined 42 typedef unsigned short u_short;
43 #define __u_short_defined 45 #ifndef __u_int_defined 46 typedef unsigned int u_int;
47 #define __u_int_defined 49 #ifndef __u_long_defined 50 typedef unsigned long u_long;
51 #define __u_long_defined 55 #include <rpc/types.h> 82 #define ATTR_TAG DFTAG_VH 83 #define DIM_TAG DFTAG_VG 84 #define VAR_TAG DFTAG_VG 85 #define DATA_TAG DFTAG_SD 86 #define BOGUS_TAG ((uint16) 721) 89 #define ATTRIBUTE "Attr0.0" 90 #define VARIABLE "Var0.0" 91 #define DIMENSION "Dim0.0" 92 #define UDIMENSION "UDim0.0" 93 #define DIM_VALS "DimVal0.0" 94 #define DIM_VALS01 "DimVal0.1" 99 #define DATA0 "Data0.0" 100 #define ATTR_FIELD_NAME "VALUES" 103 #define DIMVAL_VERSION00 0 104 #define DIMVAL_VERSION01 1 105 #define BLOCK_MULT 64 106 #define MAX_BLOCK_SIZE 65536 107 #define BLOCK_COUNT 128 112 #ifndef MAX_VXR_ENTRIES 113 #define MAX_VXR_ENTRIES 10 118 typedef struct vix_t_def {
124 struct vix_t_def * next;
147 #define NC_compare_string(s1,s2) ((s1)->hash!=(s2)->hash ? 1 : HDstrcmp((s1)->values,(s2)->values)) 191 unsigned long recsize ;
194 unsigned long numrecs ;
211 unsigned long *shape ;
212 unsigned long *dsizes ;
253 #define IS_RECVAR(vp) \ 254 ((vp)->shape != NULL ? (*(vp)->shape == NC_UNLIMITED) : 0 ) 256 #define netCDF_FILE 0 262 #define MAGICOFFSET 0 266 #define CDFMAGIC 0x0000FFFF 269 #define HDFXMAGIC 0x0e031301 272 #define NCMAGIC 0x43444601 275 #define NCMAGIC64 0x43444602 278 #define NCLINKMAGIC 0x43444c01 285 #ifndef NO_HAVE_PROTOTYPES 299 #ifndef H4_HAVE_NETCDF 300 #define nc_serror HNAME(nc_serror) 301 #define NCadvise HNAME(NCadvise) 302 #define NC_computeshapes HNAME(NC_computeshapes) 303 #define NC_xtypelen HNAME(NC_xtypelen) 304 #define NC_xlen_array HNAME(NC_xlen_array) 305 #define NC_xlen_attr HNAME(NC_xlen_attr) 306 #define NC_xlen_cdf HNAME(NC_xlen_cdf) 307 #define NC_xlen_dim HNAME(NC_xlen_dim) 308 #define NC_xlen_iarray HNAME(NC_xlen_iarray) 309 #define NC_xlen_string HNAME(NC_xlen_string) 310 #define NC_xlen_var HNAME(NC_xlen_var) 311 #define NCmemset HNAME(NCmemset) 312 #define NC_arrayfill HNAME(NC_arrayfill) 313 #define NC_copy_arrayvals HNAME(NC_copy_arrayvals) 314 #define NC_free_array HNAME(NC_free_array) 315 #define NC_free_attr HNAME(NC_free_attr) 316 #define NC_free_cdf HNAME(NC_free_cdf) 317 #define NC_free_dim HNAME(NC_free_dim) 318 #define NC_free_iarray HNAME(NC_free_iarray) 319 #define NC_free_string HNAME(NC_free_string) 320 #define NC_free_var HNAME(NC_free_var) 321 #define NC_incr_array HNAME(NC_incr_array) 322 #define NC_dimid HNAME(NC_dimid) 323 #define NCcktype HNAME(NCcktype) 324 #define NC_indefine HNAME(NC_indefine) 325 #define xdr_cdf HNAME(xdr_cdf) 326 #define xdr_numrecs HNAME(xdr_numrecs) 327 #define xdr_shorts HNAME(xdr_shorts) 328 #define xdr_NC_array HNAME(xdr_NC_array) 329 #define xdr_NC_attr HNAME(xdr_NC_attr) 330 #define xdr_NC_dim HNAME(xdr_NC_dim) 331 #define xdr_NC_fill HNAME(xdr_NC_fill) 332 #define xdr_NC_iarray HNAME(xdr_NC_iarray) 333 #define xdr_NC_string HNAME(xdr_NC_string) 334 #define xdr_NC_var HNAME(xdr_NC_var) 335 #define NC_typelen HNAME(NC_typelen) 336 #define NC_check_id HNAME(NC_check_id) 337 #define NC_dup_cdf HNAME(NC_dup_cdf) 338 #define NC_new_cdf HNAME(NC_new_cdf) 339 #define NC_new_array HNAME(NC_new_array) 340 #define NC_re_array HNAME(NC_re_array) 341 #define NC_new_attr HNAME(NC_new_attr) 342 #define NC_findattr HNAME(NC_findattr) 343 #define NC_new_dim HNAME(NC_new_dim) 344 #define NC_new_iarray HNAME(NC_new_iarray) 345 #define NC_new_string HNAME(NC_new_string) 346 #define NC_re_string HNAME(NC_re_string) 347 #define NC_hlookupvar HNAME(NC_hlookupvar) 348 #define NC_new_var HNAME(NC_new_var) 349 #define NCvario HNAME(NCvario) 350 #define NCcoordck HNAME(NCcoordck) 351 #define xdr_NCvshort HNAME(xdr_NCvshort) 352 #define NC_dcpy HNAME(NC_dcpy) 353 #define NCxdrfile_sync HNAME(NCxdrfile_sync) 354 #define NCxdrfile_create HNAME(NCxdrfile_create) 356 #define NCgenio HNAME(NCgenio) 357 #define NC_var_shape HNAME(NC_var_shape) 361 #define nncpopt H4_F77_FUNC(ncpopt, NCPOPT) 362 #define nncgopt H4_F77_FUNC(ncgopt, NCGOPT) 363 #define nnccre H4_F77_FUNC(nccre, NCCRE) 364 #define nncopn H4_F77_FUNC(ncopn, NCOPN) 365 #define nncddef H4_F77_FUNC(ncddef, NCDDEF) 366 #define nncdid H4_F77_FUNC(ncdid, NCDID) 367 #define nncvdef H4_F77_FUNC(ncvdef, NCVDEF) 368 #define nncvid H4_F77_FUNC(ncvid, NCVID) 369 #define nnctlen H4_F77_FUNC(nctlen, NCTLEN) 370 #define nncclos H4_F77_FUNC(ncclos, NCCLOS) 371 #define nncredf H4_F77_FUNC(ncredf, NCREDF) 372 #define nncendf H4_F77_FUNC(ncendf, NCENDF) 373 #define nncinq H4_F77_FUNC(ncinq, NCINQ) 374 #define nncsnc H4_F77_FUNC(ncsnc, NCSNC) 375 #define nncabor H4_F77_FUNC(ncabor, NCABOR) 376 #define nncdinq H4_F77_FUNC(ncdinq, NCDINQ) 377 #define nncdren H4_F77_FUNC(ncdren, NCDREN) 378 #define nncvinq H4_F77_FUNC(ncvinq, NCVINQ) 379 #define nncvpt1 H4_F77_FUNC(ncvpt1, NCVPT1) 380 #define nncvp1c H4_F77_FUNC(ncvp1c, NCVP1C) 381 #define nncvpt H4_F77_FUNC(ncvpt, NCVPT) 382 #define nncvptc H4_F77_FUNC(ncvptc, NCVPTC) 383 #define nncvptg H4_F77_FUNC(ncvptg, NCVPTG) 384 #define nncvpgc H4_F77_FUNC(ncvpgc, NCVPGC) 385 #define nncvgt1 H4_F77_FUNC(ncvgt1, NCVGT1) 386 #define nncvg1c H4_F77_FUNC(ncvg1c, NCVG1C) 387 #define nncvgt H4_F77_FUNC(ncvgt, NCVGT) 388 #define nncvgtc H4_F77_FUNC(ncvgtc, NCVGTC) 389 #define nncvgtg H4_F77_FUNC(ncvgtg, NCVGTG) 390 #define nncvggc H4_F77_FUNC(ncvggc, NCVGGC) 391 #define nncvren H4_F77_FUNC(ncvren, NCVREN) 392 #define nncapt H4_F77_FUNC(ncapt, NCAPT) 393 #define nncaptc H4_F77_FUNC(ncaptc, NCAPTC) 394 #define nncainq H4_F77_FUNC(ncainq, NCAINQ) 395 #define nncagt H4_F77_FUNC(ncagt, NCAGT) 396 #define nncagtc H4_F77_FUNC(ncagtc, NCAGTC) 397 #define nncacpy H4_F77_FUNC(ncacpy, NCACPY) 398 #define nncanam H4_F77_FUNC(ncanam, NCANAM) 399 #define nncaren H4_F77_FUNC(ncaren, NCAREN) 400 #define nncadel H4_F77_FUNC(ncadel, NCADEL) 401 #define nncsfil H4_F77_FUNC(ncsfil, NCSFIL) 409 PROTO((
char* pathname,
int* clobmode,
int* rcode,
int pathnamelen));
411 PROTO((
char* pathname,
int* rwmode,
int* rcode,
int pathnamelen));
413 PROTO((
int* cdfid,
char* dimname,
int* dimlen,
int* rcode,
int dimnamelen));
415 PROTO((
int* cdfid,
char* dimname,
int* rcode,
int dimnamelen));
417 PROTO((
int* cdfid,
char* varname,
int*
datatype,
int* ndims,
int* dimarray,
int* rcode,
int varnamelen));
419 PROTO((
int* cdfid,
char* varname,
int* rcode,
int varnamelen));
423 PROTO((
int* cdfid,
int* rcode));
425 PROTO((
int* cdfid,
int* rcode));
427 PROTO((
int* cdfid,
int* rcode));
429 PROTO((
int* cdfid,
int* ndims,
int* nvars,
int* natts,
int* recdim,
int* rcode));
431 PROTO((
int* cdfid,
int* rcode));
433 PROTO((
int* cdfid,
int* rcode));
435 PROTO((
int* cdfid,
int* dimid,
char* dimname,
int*
size,
int* rcode,
int dimnamelen));
437 PROTO((
int* cdfid,
int* dimid,
char* dimname,
int* rcode,
int dimnamelen));
439 PROTO((
int* cdfid,
int* varid,
char* varname,
int*
datatype,
int* ndims,
int* dimarray,
int* natts,
int* rcode,
int varnamelen));
441 PROTO((
int* cdfid,
int* varid,
int* indices,
void* value,
int* rcode));
443 PROTO((
int* cdfid,
int* varid,
int* indices,
char* chval,
int* rcode,
int chvallen));
445 PROTO((
int* cdfid,
int* varid,
int*
start,
int*
count,
void* value,
int* rcode));
447 PROTO((
int* cdfid,
int* varid,
int*
start,
int*
count,
char*
string,
int* lenstr,
int* rcode,
int stringlen));
449 PROTO((
int* cdfid,
int* varid,
int*
start,
int*
count,
int*
stride,
int* basis,
void* value,
int* rcode));
451 PROTO((
int* cdfid,
int* varid,
int*
start,
int*
count,
int*
stride,
int* basis,
char*
string,
int* rcode,
int stringlen));
453 PROTO((
int* cdfid,
int* varid,
int* indices,
void* value,
int* rcode));
455 PROTO((
int* cdfid,
int* varid,
int* indices,
char* chval,
int* rcode,
int chvallen));
457 PROTO((
int* cdfid,
int* varid,
int*
start,
int*
count,
void* value,
int* rcode));
459 PROTO((
int* cdfid,
int* varid,
int*
start,
int*
count,
char*
string,
int* lenstr,
int* rcode,
int stringlen));
461 PROTO((
int* cdfid,
int* varid,
int*
start,
int*
count,
int*
stride,
int* basis,
void* value,
int* rcode));
463 PROTO((
int* cdfid,
int* varid,
int*
start,
int*
count,
int*
stride,
int* basis,
char*
string,
int* rcode,
int stringlen));
465 PROTO((
int* cdfid,
int* varid,
char* varname,
int* rcode,
int varnamelen));
467 PROTO((
int* cdfid,
int* varid,
char* attname,
int*
datatype,
int* attlen,
void* value,
int* rcode,
int attnamelen));
469 PROTO((
int* cdfid,
int* varid,
char* attname,
int*
datatype,
int* lenstr,
char*
string,
int* rcode,
int attnamelen,
int stringlen));
471 PROTO((
int* cdfid,
int* varid,
char* attname,
int*
datatype,
int* attlen,
int* rcode,
int attnamelen));
473 PROTO((
int* cdfid,
int* varid,
char* attname,
void* value,
int* rcode,
int attnamelen));
475 PROTO((
int* cdfid,
int* varid,
char* attname,
char*
string,
int* lenstr,
int* rcode,
int attnamelen,
int stringlen));
477 PROTO((
int* incdfid,
int* invarid,
char* attname,
int* outcdfid,
int* outvarid,
int* rcode,
int attnamelen));
479 PROTO((
int* cdfid,
int* varid,
int* attnum,
char* attname,
int* rcode,
int attnamelen));
481 PROTO((
int* cdfid,
int* varid,
char* attname,
char* newname,
int* rcode,
int attnamelen,
int newnamelen));
483 PROTO((
int* cdfid,
int* varid,
char* attname,
int* rcode,
int attnamelen));
485 PROTO((
int* cdfid,
int* fillmode,
int* rcode));
711 PROTO((XDR *xdrs,
const char *path,
int ncmode));
716 PROTO(( XDR *xdrs,
int ncop));
739 HDFLIBAPI intn hdf_create_compat_dim_vdata
740 PROTO((XDR *xdrs,
NC *handle,
NC_dim *dim, int32 dimval_ver));
797 PROTO((intn req_max));
813 PROTO((XDR *xdrs,
NC **handlep));
816 PROTO((XDR *xdrs,
NC **handlep));
819 PROTO((XDR *xdrs,
NC **handlep));
HDFFCLIBAPI intf intf intf * count
HDFFCLIBAPI intf * block_size
HDFFCLIBAPI _fcd _fcd intf intf * datatype
HDFFCLIBAPI void intf dims[]
HDFFCLIBAPI intf intf * begin
HDFFCLIBAPI intf _fcd intf intf intf * values
HDFFCLIBAPI _fcd _fcd intf * n
#define NC_copy_arrayvals
HDFFCLIBAPI intf intf start[]
HDFFCLIBAPI intf intf intf * type
HDFFCLIBAPI intf intf * flags
HDFFCLIBAPI intf stride[]
HDFLIBAPI const char * cdf_routine_name
HDFFCLIBAPI intf * offset