Go to the documentation of this file.
18 #if defined(_WIN32) || defined(_WIN64)
29 #if defined(__cplusplus)
41 #define NC_LONG NC_INT
51 #define NC_MAX_ATOMIC_TYPE NC_STRING
58 #define NC_COMPOUND 16
61 #define NC_FIRSTUSERTYPEID 32
68 #define NC_FILL_BYTE ((signed char)-127)
69 #define NC_FILL_CHAR ((char)0)
70 #define NC_FILL_SHORT ((short)-32767)
71 #define NC_FILL_INT (-2147483647L)
72 #define NC_FILL_FLOAT (9.9692099683868690e+36f)
73 #define NC_FILL_DOUBLE (9.9692099683868690e+36)
74 #define NC_FILL_UBYTE (255)
75 #define NC_FILL_USHORT (65535)
76 #define NC_FILL_UINT (4294967295U)
77 #define NC_FILL_INT64 ((long long)-9223372036854775806LL)
78 #define NC_FILL_UINT64 ((unsigned long long)18446744073709551614ULL)
79 #define NC_FILL_STRING ""
90 #define NC_MAX_BYTE 127
91 #define NC_MIN_BYTE (-NC_MAX_BYTE-1)
92 #define NC_MAX_CHAR 255
93 #define NC_MAX_SHORT 32767
94 #define NC_MIN_SHORT (-NC_MAX_SHORT - 1)
95 #define NC_MAX_INT 2147483647
96 #define NC_MIN_INT (-NC_MAX_INT - 1)
97 #define NC_MAX_FLOAT 3.402823466e+38f
98 #define NC_MIN_FLOAT (-NC_MAX_FLOAT)
99 #define NC_MAX_DOUBLE 1.7976931348623157e+308
100 #define NC_MIN_DOUBLE (-NC_MAX_DOUBLE)
101 #define NC_MAX_UBYTE NC_MAX_CHAR
102 #define NC_MAX_USHORT 65535U
103 #define NC_MAX_UINT 4294967295U
104 #define NC_MAX_INT64 (9223372036854775807LL)
105 #define NC_MIN_INT64 (-9223372036854775807LL-1)
106 #define NC_MAX_UINT64 (18446744073709551615ULL)
107 #define X_INT64_MAX (9223372036854775807LL)
108 #define X_INT64_MIN (-X_INT64_MAX - 1)
109 #define X_UINT64_MAX (18446744073709551615ULL)
117 #define _FillValue "_FillValue"
119 #define NC_NOFILL 0x100
126 #define NC_NOWRITE 0x0000
127 #define NC_WRITE 0x0001
129 #define NC_CLOBBER 0x0000
130 #define NC_NOCLOBBER 0x0004
132 #define NC_DISKLESS 0x0008
133 #define NC_MMAP 0x0010
135 #define NC_CLASSIC_MODEL 0x0100
136 #define NC_64BIT_OFFSET 0x0200
142 #define NC_LOCK 0x0400
146 #define NC_SHARE 0x0800
148 #define NC_NETCDF4 0x1000
152 #define NC_MPIIO 0x2000
155 #define NC_MPIPOSIX 0x4000
156 #define NC_PNETCDF 0x8000
163 #define NC_FORMAT_CLASSIC (1)
164 #define NC_FORMAT_64BIT (2)
165 #define NC_FORMAT_NETCDF4 (3)
166 #define NC_FORMAT_NETCDF4_CLASSIC (4)
170 #define NC_SIZEHINT_DEFAULT 0
173 #define NC_ALIGN_CHUNK ((size_t)(-1))
176 #define NC_UNLIMITED 0L
200 #define NC_MAX_DIMS 1024
201 #define NC_MAX_ATTRS 8192
202 #define NC_MAX_VARS 8192
203 #define NC_MAX_NAME 256
204 #define NC_MAX_VAR_DIMS 1024
208 #define NC_MAX_HDF4_NAME 64
213 #define NC_ENDIAN_NATIVE 0
214 #define NC_ENDIAN_LITTLE 1
215 #define NC_ENDIAN_BIG 2
223 #define NC_CONTIGUOUS 1
231 #define NC_NOCHECKSUM 0
232 #define NC_FLETCHER32 1
240 #define NC_NOSHUFFLE 0
248 #define NC_ISSYSERR(err) ((err) > 0)
257 #define NC_EBADID (-33)
258 #define NC_ENFILE (-34)
259 #define NC_EEXIST (-35)
260 #define NC_EINVAL (-36)
261 #define NC_EPERM (-37)
266 #define NC_ENOTINDEFINE (-38)
275 #define NC_EINDEFINE (-39)
282 #define NC_EINVALCOORDS (-40)
283 #define NC_EMAXDIMS (-41)
284 #define NC_ENAMEINUSE (-42)
285 #define NC_ENOTATT (-43)
286 #define NC_EMAXATTS (-44)
287 #define NC_EBADTYPE (-45)
288 #define NC_EBADDIM (-46)
289 #define NC_EUNLIMPOS (-47)
294 #define NC_EMAXVARS (-48)
299 #define NC_ENOTVAR (-49)
300 #define NC_EGLOBAL (-50)
301 #define NC_ENOTNC (-51)
302 #define NC_ESTS (-52)
303 #define NC_EMAXNAME (-53)
304 #define NC_EUNLIMIT (-54)
305 #define NC_ENORECVARS (-55)
306 #define NC_ECHAR (-56)
315 #define NC_EEDGE (-57)
316 #define NC_ESTRIDE (-58)
317 #define NC_EBADNAME (-59)
324 #define NC_ERANGE (-60)
325 #define NC_ENOMEM (-61)
326 #define NC_EVARSIZE (-62)
327 #define NC_EDIMSIZE (-63)
328 #define NC_ETRUNC (-64)
329 #define NC_EAXISTYPE (-65)
332 #define NC_EDAP (-66)
333 #define NC_ECURL (-67)
335 #define NC_ENODATA (-69)
336 #define NC_EDAPSVC (-70)
337 #define NC_EDAS (-71)
338 #define NC_EDDS (-72)
339 #define NC_EDATADDS (-73)
340 #define NC_EDAPURL (-74)
341 #define NC_EDAPCONSTRAINT (-75)
342 #define NC_ETRANSLATION (-76)
347 #define NC4_FIRST_ERROR (-100)
350 #define NC_EHDFERR (-101)
351 #define NC_ECANTREAD (-102)
352 #define NC_ECANTWRITE (-103)
353 #define NC_ECANTCREATE (-104)
354 #define NC_EFILEMETA (-105)
355 #define NC_EDIMMETA (-106)
356 #define NC_EATTMETA (-107)
357 #define NC_EVARMETA (-108)
358 #define NC_ENOCOMPOUND (-109)
359 #define NC_EATTEXISTS (-110)
360 #define NC_ENOTNC4 (-111)
363 #define NC_ESTRICTNC3 (-112)
364 #define NC_ENOTNC3 (-113)
365 #define NC_ENOPAR (-114)
366 #define NC_EPARINIT (-115)
367 #define NC_EBADGRPID (-116)
368 #define NC_EBADTYPID (-117)
369 #define NC_ETYPDEFINED (-118)
370 #define NC_EBADFIELD (-119)
371 #define NC_EBADCLASS (-120)
372 #define NC_EMAPTYPE (-121)
373 #define NC_ELATEFILL (-122)
374 #define NC_ELATEDEF (-123)
375 #define NC_EDIMSCALE (-124)
376 #define NC_ENOGRP (-125)
377 #define NC_ESTORAGE (-126)
378 #define NC_EBADCHUNK (-127)
379 #define NC_ENOTBUILT (-128)
380 #define NC_EDISKLESS (-129)
382 #define NC4_LAST_ERROR (-129)
386 #define DIM_WITHOUT_VARIABLE "This is a netCDF dimension but not a netCDF variable."
390 #define NC_HAVE_NEW_CHUNKING_API 1
394 #define NC_EURL (NC_EDAPURL)
395 #define NC_ECONSTRAINT (NC_EDAPCONSTRAINT)
403 #if defined(DLL_NETCDF)
404 # if defined(DLL_EXPORT)
405 # define MSC_EXTRA __declspec(dllexport)
407 # define MSC_EXTRA __declspec(dllimport)
414 # define EXTERNL MSC_EXTRA extern
418 #define off_t __int64
419 #define size_t unsigned __int64
420 #define _OFF_T_DEFINED
423 #if defined(DLL_NETCDF)
435 nc__create(
const char *path,
int cmode,
size_t initialsz,
436 size_t *chunksizehintp,
int *ncidp);
439 nc_create(
const char *path,
int cmode,
int *ncidp);
442 nc__open(
const char *path,
int mode,
443 size_t *chunksizehintp,
int *ncidp);
446 nc_open(
const char *path,
int mode,
int *ncidp);
450 nc_inq_path(
int ncid,
size_t *pathlen,
char *path);
453 #define NC_INDEPENDENT 0
454 #define NC_COLLECTIVE 1
459 nc_var_par_access(
int ncid,
int varid,
int par_access);
464 nc_inq_ncid(
int ncid,
const char *name,
int *grp_ncid);
469 nc_inq_grps(
int ncid,
int *numgrps,
int *ncids);
473 nc_inq_grpname(
int ncid,
char *name);
478 nc_inq_grpname_full(
int ncid,
size_t *lenp,
char *full_name);
482 nc_inq_grpname_len(
int ncid,
size_t *lenp);
486 nc_inq_grp_parent(
int ncid,
int *parent_ncid);
490 nc_inq_grp_ncid(
int ncid,
const char *grp_name,
int *grp_ncid);
494 nc_inq_grp_full_ncid(
int ncid,
const char *full_name,
int *grp_ncid);
498 nc_inq_varids(
int ncid,
int *nvars,
int *varids);
503 nc_inq_dimids(
int ncid,
int *ndims,
int *dimids,
int include_parents);
508 nc_inq_typeids(
int ncid,
int *ntypes,
int *typeids);
512 nc_inq_type_equal(
int ncid1,
nc_type typeid1,
int ncid2,
517 nc_def_grp(
int parent_ncid,
const char *name,
int *new_ncid);
528 size_t offset,
nc_type field_typeid);
533 size_t offset,
nc_type field_typeid,
534 int ndims,
const int *dim_sizes);
564 size_t *offsetp,
nc_type *field_typeidp,
int *ndimsp,
609 #define NC_COMPOUND_OFFSET(S,M) (offsetof(S,M))
632 nc_put_vlen_element(
int ncid,
int typeid1,
void *vlen_element,
633 size_t len,
const void *data);
636 nc_get_vlen_element(
int ncid,
int typeid1,
const void *vlen_element,
637 size_t *len,
void *data);
649 nc_type *base_nc_typep,
size_t *nfieldsp,
int *classp);
654 size_t len,
const void *op);
658 nc_get_att(
int ncid,
int varid,
const char *name,
void *ip);
678 size_t *base_sizep,
size_t *num_membersp);
703 nc_put_var(
int ncid,
int varid,
const void *op);
711 nc_put_var1(
int ncid,
int varid,
const size_t *indexp,
716 nc_get_var1(
int ncid,
int varid,
const size_t *indexp,
void *ip);
720 nc_put_vara(
int ncid,
int varid,
const size_t *startp,
721 const size_t *countp,
const void *op);
725 nc_get_vara(
int ncid,
int varid,
const size_t *startp,
726 const size_t *countp,
void *ip);
730 nc_put_vars(
int ncid,
int varid,
const size_t *startp,
731 const size_t *countp,
const ptrdiff_t *stridep,
736 nc_get_vars(
int ncid,
int varid,
const size_t *startp,
737 const size_t *countp,
const ptrdiff_t *stridep,
742 nc_put_varm(
int ncid,
int varid,
const size_t *startp,
743 const size_t *countp,
const ptrdiff_t *stridep,
744 const ptrdiff_t *imapp,
const void *op);
748 nc_get_varm(
int ncid,
int varid,
const size_t *startp,
749 const size_t *countp,
const ptrdiff_t *stridep,
750 const ptrdiff_t *imapp,
void *ip);
757 nc_def_var_deflate(
int ncid,
int varid,
int shuffle,
int deflate,
763 int *deflatep,
int *deflate_levelp);
767 nc_inq_var_szip(
int ncid,
int varid,
int *options_maskp,
int *pixels_per_blockp);
772 nc_def_var_fletcher32(
int ncid,
int varid,
int fletcher32);
781 nc_def_var_chunking(
int ncid,
int varid,
int storage,
const size_t *chunksizesp);
790 nc_def_var_fill(
int ncid,
int varid,
int no_fill,
const void *fill_value);
798 nc_def_var_endian(
int ncid,
int varid,
int endian);
806 nc_set_fill(
int ncid,
int fillmode,
int *old_modep);
811 nc_set_default_format(
int format,
int *old_formatp);
815 nc_set_chunk_cache(
size_t size,
size_t nelems,
float preemption);
819 nc_get_chunk_cache(
size_t *sizep,
size_t *nelemsp,
float *preemptionp);
836 nc__enddef(
int ncid,
size_t h_minfree,
size_t v_align,
837 size_t v_minfree,
size_t r_align);
852 nc_inq(
int ncid,
int *ndimsp,
int *nvarsp,
int *nattsp,
int *unlimdimidp);
858 nc_inq_nvars(
int ncid,
int *nvarsp);
877 nc_def_dim(
int ncid,
const char *name,
size_t len,
int *idp);
883 nc_inq_dim(
int ncid,
int dimid,
char *name,
size_t *lenp);
898 nc_inq_att(
int ncid,
int varid,
const char *name,
899 nc_type *xtypep,
size_t *lenp);
902 nc_inq_attid(
int ncid,
int varid,
const char *name,
int *idp);
908 nc_inq_attlen(
int ncid,
int varid,
const char *name,
size_t *lenp);
914 nc_copy_att(
int ncid_in,
int varid_in,
const char *name,
int ncid_out,
int varid_out);
917 nc_rename_att(
int ncid,
int varid,
const char *name,
const char *newname);
920 nc_del_att(
int ncid,
int varid,
const char *name);
927 size_t len,
const char *op);
934 size_t len,
const unsigned char *op);
941 size_t len,
const signed char *op);
948 size_t len,
const short *op);
955 size_t len,
const int *op);
962 size_t len,
const long *op);
969 size_t len,
const float *op);
976 size_t len,
const double *op);
983 size_t len,
const unsigned short *op);
990 size_t len,
const unsigned int *op);
993 nc_get_att_uint(
int ncid,
int varid,
const char *name,
unsigned int *ip);
997 size_t len,
const long long *op);
1004 size_t len,
const unsigned long long *op);
1008 unsigned long long *ip);
1012 size_t len,
const char **op);
1022 const int *dimidsp,
int *varidp);
1026 int *ndimsp,
int *dimidsp,
int *nattsp);
1050 nc_copy_var(
int ncid_in,
int varid,
int ncid_out);
1054 #define ncvarcpy(ncid_in, varid, ncid_out) ncvarcopy((ncid_in), (varid), (ncid_out))
1061 nc_put_var1_text(
int ncid,
int varid,
const size_t *indexp,
const char *op);
1068 const unsigned char *op);
1076 const signed char *op);
1091 nc_put_var1_int(
int ncid,
int varid,
const size_t *indexp,
const int *op);
1097 nc_put_var1_long(
int ncid,
int varid,
const size_t *indexp,
const long *op);
1116 const unsigned short *op);
1120 unsigned short *ip);
1124 const unsigned int *op);
1132 const long long *op);
1140 const unsigned long long *op);
1144 unsigned long long *ip);
1159 const size_t *countp,
const char *op);
1163 const size_t *countp,
char *ip);
1167 const size_t *countp,
const unsigned char *op);
1171 const size_t *countp,
unsigned char *ip);
1175 const size_t *countp,
const signed char *op);
1179 const size_t *countp,
signed char *ip);
1183 const size_t *countp,
const short *op);
1187 const size_t *countp,
short *ip);
1191 const size_t *countp,
const int *op);
1195 const size_t *countp,
int *ip);
1199 const size_t *countp,
const long *op);
1203 const size_t *startp,
const size_t *countp,
long *ip);
1207 const size_t *startp,
const size_t *countp,
const float *op);
1211 const size_t *startp,
const size_t *countp,
float *ip);
1215 const size_t *countp,
const double *op);
1219 const size_t *countp,
double *ip);
1223 const size_t *countp,
const unsigned short *op);
1227 const size_t *countp,
unsigned short *ip);
1231 const size_t *countp,
const unsigned int *op);
1235 const size_t *countp,
unsigned int *ip);
1239 const size_t *countp,
const long long *op);
1243 const size_t *countp,
long long *ip);
1247 const size_t *countp,
const unsigned long long *op);
1251 const size_t *countp,
unsigned long long *ip);
1255 const size_t *countp,
const char **op);
1259 const size_t *countp,
char **ip);
1266 const size_t *startp,
const size_t *countp,
const ptrdiff_t *stridep,
1271 const size_t *startp,
const size_t *countp,
const ptrdiff_t *stridep,
1276 const size_t *startp,
const size_t *countp,
const ptrdiff_t *stridep,
1277 const unsigned char *op);
1281 const size_t *startp,
const size_t *countp,
const ptrdiff_t *stridep,
1286 const size_t *startp,
const size_t *countp,
const ptrdiff_t *stridep,
1287 const signed char *op);
1291 const size_t *startp,
const size_t *countp,
const ptrdiff_t *stridep,
1296 const size_t *startp,
const size_t *countp,
const ptrdiff_t *stridep,
1301 const size_t *countp,
const ptrdiff_t *stridep,
1306 const size_t *startp,
const size_t *countp,
const ptrdiff_t *stridep,
1311 const size_t *startp,
const size_t *countp,
const ptrdiff_t *stridep,
1316 const size_t *startp,
const size_t *countp,
const ptrdiff_t *stridep,
1321 const size_t *startp,
const size_t *countp,
const ptrdiff_t *stridep,
1326 const size_t *startp,
const size_t *countp,
const ptrdiff_t *stridep,
1331 const size_t *startp,
const size_t *countp,
const ptrdiff_t *stridep,
1336 const size_t *startp,
const size_t *countp,
const ptrdiff_t *stridep,
1341 const size_t *countp,
const ptrdiff_t *stridep,
1346 const size_t *countp,
const ptrdiff_t *stridep,
1347 const unsigned short *op);
1351 const size_t *countp,
const ptrdiff_t *stridep,
1352 unsigned short *ip);
1356 const size_t *countp,
const ptrdiff_t *stridep,
1357 const unsigned int *op);
1361 const size_t *countp,
const ptrdiff_t *stridep,
1366 const size_t *countp,
const ptrdiff_t *stridep,
1367 const long long *op);
1371 const size_t *countp,
const ptrdiff_t *stridep,
1376 const size_t *countp,
const ptrdiff_t *stridep,
1377 const unsigned long long *op);
1381 const size_t *countp,
const ptrdiff_t *stridep,
1382 unsigned long long *ip);
1386 const size_t *countp,
const ptrdiff_t *stridep,
1391 const size_t *countp,
const ptrdiff_t *stridep,
1399 const size_t *countp,
const ptrdiff_t *stridep,
1400 const ptrdiff_t *imapp,
const char *op);
1404 const size_t *countp,
const ptrdiff_t *stridep,
1405 const ptrdiff_t *imapp,
char *ip);
1409 const size_t *countp,
const ptrdiff_t *stridep,
1410 const ptrdiff_t *imapp,
const unsigned char *op);
1414 const size_t *countp,
const ptrdiff_t *stridep,
1415 const ptrdiff_t *imapp,
unsigned char *ip);
1419 const size_t *countp,
const ptrdiff_t *stridep,
1420 const ptrdiff_t *imapp,
const signed char *op);
1424 const size_t *countp,
const ptrdiff_t *stridep,
1425 const ptrdiff_t *imapp,
signed char *ip);
1429 const size_t *countp,
const ptrdiff_t *stridep,
1430 const ptrdiff_t *imapp,
const short *op);
1434 const size_t *countp,
const ptrdiff_t *stridep,
1435 const ptrdiff_t *imapp,
short *ip);
1439 const size_t *countp,
const ptrdiff_t *stridep,
1440 const ptrdiff_t *imapp,
const int *op);
1444 const size_t *countp,
const ptrdiff_t *stridep,
1445 const ptrdiff_t *imapp,
int *ip);
1449 const size_t *countp,
const ptrdiff_t *stridep,
1450 const ptrdiff_t *imapp,
const long *op);
1454 const size_t *countp,
const ptrdiff_t *stridep,
1455 const ptrdiff_t *imapp,
long *ip);
1459 const size_t *countp,
const ptrdiff_t *stridep,
1460 const ptrdiff_t *imapp,
const float *op);
1464 const size_t *countp,
const ptrdiff_t *stridep,
1465 const ptrdiff_t *imapp,
float *ip);
1469 const size_t *countp,
const ptrdiff_t *stridep,
1470 const ptrdiff_t *imapp,
const double *op);
1474 const size_t *countp,
const ptrdiff_t *stridep,
1475 const ptrdiff_t * imapp,
double *ip);
1479 const size_t *countp,
const ptrdiff_t *stridep,
1480 const ptrdiff_t * imapp,
const unsigned short *op);
1484 const size_t *countp,
const ptrdiff_t *stridep,
1485 const ptrdiff_t * imapp,
unsigned short *ip);
1489 const size_t *countp,
const ptrdiff_t *stridep,
1490 const ptrdiff_t * imapp,
const unsigned int *op);
1494 const size_t *countp,
const ptrdiff_t *stridep,
1495 const ptrdiff_t * imapp,
unsigned int *ip);
1499 const size_t *countp,
const ptrdiff_t *stridep,
1500 const ptrdiff_t * imapp,
const long long *op);
1504 const size_t *countp,
const ptrdiff_t *stridep,
1505 const ptrdiff_t * imapp,
long long *ip);
1509 const size_t *countp,
const ptrdiff_t *stridep,
1510 const ptrdiff_t * imapp,
const unsigned long long *op);
1514 const size_t *countp,
const ptrdiff_t *stridep,
1515 const ptrdiff_t * imapp,
unsigned long long *ip);
1519 const size_t *countp,
const ptrdiff_t *stridep,
1520 const ptrdiff_t * imapp,
const char **op);
1524 const size_t *countp,
const ptrdiff_t *stridep,
1525 const ptrdiff_t * imapp,
char **ip);
1611 size_t len,
const unsigned char *op);
1617 const unsigned char *op);
1623 const size_t *countp,
const unsigned char *op);
1626 const size_t *countp,
unsigned char *ip);
1629 const size_t *countp,
const ptrdiff_t *stridep,
1630 const unsigned char *op);
1633 const size_t *countp,
const ptrdiff_t *stridep,
1637 const size_t *countp,
const ptrdiff_t *stridep,
1638 const ptrdiff_t * imapp,
const unsigned char *op);
1641 const size_t *countp,
const ptrdiff_t *stridep,
1642 const ptrdiff_t * imapp,
unsigned char *ip);
1654 nc_set_log_level(
int new_level);
1658 #define NC_TURN_OFF_LOGGING (-1)
1662 #define nc_set_log_level(e)
1668 nc_show_metadata(
int ncid);
1688 nc__create_mp(
const char *path,
int cmode,
size_t initialsz,
int basepe,
1689 size_t *chunksizehintp,
int *ncidp);
1692 nc__open_mp(
const char *path,
int mode,
int basepe,
1693 size_t *chunksizehintp,
int *ncidp);
1696 nc_delete(
const char *path);
1699 nc_delete_mp(
const char *path,
int basepe);
1702 nc_set_base_pe(
int ncid,
int pe);
1705 nc_inq_base_pe(
int ncid,
int *pe);
1722 #define FILL_BYTE NC_FILL_BYTE
1723 #define FILL_CHAR NC_FILL_CHAR
1724 #define FILL_SHORT NC_FILL_SHORT
1725 #define FILL_LONG NC_FILL_INT
1726 #define FILL_FLOAT NC_FILL_FLOAT
1727 #define FILL_DOUBLE NC_FILL_DOUBLE
1729 #define MAX_NC_DIMS NC_MAX_DIMS
1730 #define MAX_NC_ATTRS NC_MAX_ATTRS
1731 #define MAX_NC_VARS NC_MAX_VARS
1732 #define MAX_NC_NAME NC_MAX_NAME
1733 #define MAX_VAR_DIMS NC_MAX_VAR_DIMS
1742 #define NC_ENTOOL NC_EMAXNAME
1743 #define NC_EXDR (-32)
1744 #define NC_SYSERR (-31)
1751 #define NC_VERBOSE 2
1756 nc_advise(
const char *cdf_routine_name,
int err,
const char *fmt,...);
1767 nccreate(
const char* path,
int cmode);
1770 ncopen(
const char* path,
int mode);
1773 ncsetfill(
int ncid,
int fillmode);
1791 ncinquire(
int ncid,
int *ndimsp,
int *nvarsp,
int *nattsp,
int *unlimdimp);
1794 ncdimdef(
int ncid,
const char *name,
long len);
1797 ncdimid(
int ncid,
const char *name);
1800 ncdiminq(
int ncid,
int dimid,
char *name,
long *lenp);
1803 ncdimrename(
int ncid,
int dimid,
const char *name);
1806 ncattput(
int ncid,
int varid,
const char *name,
nc_type xtype,
1807 int len,
const void *op);
1810 ncattinq(
int ncid,
int varid,
const char *name,
nc_type *xtypep,
int *lenp);
1813 ncattget(
int ncid,
int varid,
const char *name,
void *ip);
1816 ncattcopy(
int ncid_in,
int varid_in,
const char *name,
int ncid_out,
1820 ncattname(
int ncid,
int varid,
int attnum,
char *name);
1823 ncattrename(
int ncid,
int varid,
const char *name,
const char *newname);
1826 ncattdel(
int ncid,
int varid,
const char *name);
1829 ncvardef(
int ncid,
const char *name,
nc_type xtype,
1830 int ndims,
const int *dimidsp);
1833 ncvarid(
int ncid,
const char *name);
1836 ncvarinq(
int ncid,
int varid,
char *name,
nc_type *xtypep,
1837 int *ndimsp,
int *dimidsp,
int *nattsp);
1840 ncvarput1(
int ncid,
int varid,
const long *indexp,
const void *op);
1843 ncvarget1(
int ncid,
int varid,
const long *indexp,
void *ip);
1846 ncvarput(
int ncid,
int varid,
const long *startp,
const long *countp,
1850 ncvarget(
int ncid,
int varid,
const long *startp,
const long *countp,
1854 ncvarputs(
int ncid,
int varid,
const long *startp,
const long *countp,
1855 const long *stridep,
const void *op);
1858 ncvargets(
int ncid,
int varid,
const long *startp,
const long *countp,
1859 const long *stridep,
void *ip);
1862 ncvarputg(
int ncid,
int varid,
const long *startp,
const long *countp,
1863 const long *stridep,
const long *imapp,
const void *op);
1866 ncvargetg(
int ncid,
int varid,
const long *startp,
const long *countp,
1867 const long *stridep,
const long *imapp,
void *ip);
1870 ncvarrename(
int ncid,
int varid,
const char *name);
1873 ncrecinq(
int ncid,
int *nrecvarsp,
int *recvaridsp,
long *recsizesp);
1876 ncrecget(
int ncid,
long recnum,
void **datap);
1879 ncrecput(
int ncid,
long recnum,
void *
const *datap);
1884 #if defined(__cplusplus)
1889 #ifndef __MINGW32_VERSION
1890 #define END_OF_MAIN()
Generated on Tue Jul 9 2013 19:18:05 for netCDF. NetCDF is
a Unidata library.