Go to the documentation of this file.
20 #if defined(__cplusplus)
32 #define NC_LONG NC_INT
42 #define NC_MAX_ATOMIC_TYPE NC_STRING
49 #define NC_COMPOUND 16
52 #define NC_FIRSTUSERTYPEID 32
59 #define NC_FILL_BYTE ((signed char)-127)
60 #define NC_FILL_CHAR ((char)0)
61 #define NC_FILL_SHORT ((short)-32767)
62 #define NC_FILL_INT (-2147483647L)
63 #define NC_FILL_FLOAT (9.9692099683868690e+36f)
64 #define NC_FILL_DOUBLE (9.9692099683868690e+36)
65 #define NC_FILL_UBYTE (255)
66 #define NC_FILL_USHORT (65535)
67 #define NC_FILL_UINT (4294967295U)
68 #define NC_FILL_INT64 ((long long)-9223372036854775806LL)
69 #define NC_FILL_UINT64 ((unsigned long long)18446744073709551614ULL)
70 #define NC_FILL_STRING ""
81 #define NC_MAX_BYTE 127
82 #define NC_MIN_BYTE (-NC_MAX_BYTE-1)
83 #define NC_MAX_CHAR 255
84 #define NC_MAX_SHORT 32767
85 #define NC_MIN_SHORT (-NC_MAX_SHORT - 1)
86 #define NC_MAX_INT 2147483647
87 #define NC_MIN_INT (-NC_MAX_INT - 1)
88 #define NC_MAX_FLOAT 3.402823466e+38f
89 #define NC_MIN_FLOAT (-NC_MAX_FLOAT)
90 #define NC_MAX_DOUBLE 1.7976931348623157e+308
91 #define NC_MIN_DOUBLE (-NC_MAX_DOUBLE)
92 #define NC_MAX_UBYTE NC_MAX_CHAR
93 #define NC_MAX_USHORT 65535U
94 #define NC_MAX_UINT 4294967295U
95 #define NC_MAX_INT64 (9223372036854775807LL)
96 #define NC_MIN_INT64 (-9223372036854775807LL-1)
97 #define NC_MAX_UINT64 (18446744073709551615ULL)
98 #define X_INT64_MAX (9223372036854775807LL)
99 #define X_INT64_MIN (-X_INT64_MAX - 1)
100 #define X_UINT64_MAX (18446744073709551615ULL)
108 #define _FillValue "_FillValue"
110 #define NC_NOFILL 0x100
117 #define NC_NOWRITE 0x0000
118 #define NC_WRITE 0x0001
120 #define NC_CLOBBER 0x0000
121 #define NC_NOCLOBBER 0x0004
123 #define NC_DISKLESS 0x0008
124 #define NC_MMAP 0x0010
126 #define NC_CLASSIC_MODEL 0x0100
127 #define NC_64BIT_OFFSET 0x0200
133 #define NC_LOCK 0x0400
137 #define NC_SHARE 0x0800
139 #define NC_NETCDF4 0x1000
143 #define NC_MPIIO 0x2000
146 #define NC_MPIPOSIX 0x4000
147 #define NC_PNETCDF 0x8000
154 #define NC_FORMAT_CLASSIC (1)
155 #define NC_FORMAT_64BIT (2)
156 #define NC_FORMAT_NETCDF4 (3)
157 #define NC_FORMAT_NETCDF4_CLASSIC (4)
162 #define NC_SIZEHINT_DEFAULT 0
165 #define NC_ALIGN_CHUNK ((size_t)(-1))
168 #define NC_UNLIMITED 0L
192 #define NC_MAX_DIMS 1024
193 #define NC_MAX_ATTRS 8192
194 #define NC_MAX_VARS 8192
195 #define NC_MAX_NAME 256
196 #define NC_MAX_VAR_DIMS 1024
200 #define NC_MAX_HDF4_NAME 64
205 #define NC_ENDIAN_NATIVE 0
206 #define NC_ENDIAN_LITTLE 1
207 #define NC_ENDIAN_BIG 2
215 #define NC_CONTIGUOUS 1
223 #define NC_NOCHECKSUM 0
224 #define NC_FLETCHER32 1
232 #define NC_NOSHUFFLE 0
240 #define NC_ISSYSERR(err) ((err) > 0)
249 #define NC_EBADID (-33)
250 #define NC_ENFILE (-34)
251 #define NC_EEXIST (-35)
252 #define NC_EINVAL (-36)
253 #define NC_EPERM (-37)
258 #define NC_ENOTINDEFINE (-38)
267 #define NC_EINDEFINE (-39)
274 #define NC_EINVALCOORDS (-40)
275 #define NC_EMAXDIMS (-41)
276 #define NC_ENAMEINUSE (-42)
277 #define NC_ENOTATT (-43)
278 #define NC_EMAXATTS (-44)
279 #define NC_EBADTYPE (-45)
280 #define NC_EBADDIM (-46)
281 #define NC_EUNLIMPOS (-47)
286 #define NC_EMAXVARS (-48)
291 #define NC_ENOTVAR (-49)
292 #define NC_EGLOBAL (-50)
293 #define NC_ENOTNC (-51)
294 #define NC_ESTS (-52)
295 #define NC_EMAXNAME (-53)
296 #define NC_EUNLIMIT (-54)
297 #define NC_ENORECVARS (-55)
298 #define NC_ECHAR (-56)
307 #define NC_EEDGE (-57)
308 #define NC_ESTRIDE (-58)
309 #define NC_EBADNAME (-59)
316 #define NC_ERANGE (-60)
317 #define NC_ENOMEM (-61)
318 #define NC_EVARSIZE (-62)
319 #define NC_EDIMSIZE (-63)
320 #define NC_ETRUNC (-64)
321 #define NC_EAXISTYPE (-65)
324 #define NC_EDAP (-66)
325 #define NC_ECURL (-67)
327 #define NC_ENODATA (-69)
328 #define NC_EDAPSVC (-70)
329 #define NC_EDAS (-71)
330 #define NC_EDDS (-72)
331 #define NC_EDATADDS (-73)
332 #define NC_EDAPURL (-74)
333 #define NC_EDAPCONSTRAINT (-75)
334 #define NC_ETRANSLATION (-76)
339 #define NC4_FIRST_ERROR (-100)
342 #define NC_EHDFERR (-101)
343 #define NC_ECANTREAD (-102)
344 #define NC_ECANTWRITE (-103)
345 #define NC_ECANTCREATE (-104)
346 #define NC_EFILEMETA (-105)
347 #define NC_EDIMMETA (-106)
348 #define NC_EATTMETA (-107)
349 #define NC_EVARMETA (-108)
350 #define NC_ENOCOMPOUND (-109)
351 #define NC_EATTEXISTS (-110)
352 #define NC_ENOTNC4 (-111)
355 #define NC_ESTRICTNC3 (-112)
356 #define NC_ENOTNC3 (-113)
357 #define NC_ENOPAR (-114)
358 #define NC_EPARINIT (-115)
359 #define NC_EBADGRPID (-116)
360 #define NC_EBADTYPID (-117)
361 #define NC_ETYPDEFINED (-118)
362 #define NC_EBADFIELD (-119)
363 #define NC_EBADCLASS (-120)
364 #define NC_EMAPTYPE (-121)
365 #define NC_ELATEFILL (-122)
366 #define NC_ELATEDEF (-123)
367 #define NC_EDIMSCALE (-124)
368 #define NC_ENOGRP (-125)
369 #define NC_ESTORAGE (-126)
370 #define NC_EBADCHUNK (-127)
371 #define NC_ENOTBUILT (-128)
372 #define NC_EDISKLESS (-129)
374 #define NC4_LAST_ERROR (-129)
378 #define DIM_WITHOUT_VARIABLE "This is a netCDF dimension but not a netCDF variable."
382 #define NC_HAVE_NEW_CHUNKING_API 1
386 #define NC_EURL (NC_EDAPURL)
387 #define NC_ECONSTRAINT (NC_EDAPCONSTRAINT)
396 #if defined(DLL_NETCDF)
397 # if defined(DLL_EXPORT)
398 # define MSC_EXTRA __declspec(dllexport)
400 # define MSC_EXTRA __declspec(dllimport)
409 # define EXTERNL MSC_EXTRA extern
411 #if defined(DLL_NETCDF)
423 nc__create(
const char *path,
int cmode,
size_t initialsz,
424 size_t *chunksizehintp,
int *ncidp);
427 nc_create(
const char *path,
int cmode,
int *ncidp);
430 nc__open(
const char *path,
int mode,
431 size_t *chunksizehintp,
int *ncidp);
434 nc_open(
const char *path,
int mode,
int *ncidp);
438 nc_inq_path(
int ncid,
size_t *pathlen,
char *path);
441 #define NC_INDEPENDENT 0
442 #define NC_COLLECTIVE 1
447 nc_var_par_access(
int ncid,
int varid,
int par_access);
452 nc_inq_ncid(
int ncid,
const char *name,
int *grp_ncid);
457 nc_inq_grps(
int ncid,
int *numgrps,
int *ncids);
461 nc_inq_grpname(
int ncid,
char *name);
466 nc_inq_grpname_full(
int ncid,
size_t *lenp,
char *full_name);
470 nc_inq_grpname_len(
int ncid,
size_t *lenp);
474 nc_inq_grp_parent(
int ncid,
int *parent_ncid);
478 nc_inq_grp_ncid(
int ncid,
const char *grp_name,
int *grp_ncid);
482 nc_inq_grp_full_ncid(
int ncid,
const char *full_name,
int *grp_ncid);
486 nc_inq_varids(
int ncid,
int *nvars,
int *varids);
491 nc_inq_dimids(
int ncid,
int *ndims,
int *dimids,
int include_parents);
496 nc_inq_typeids(
int ncid,
int *ntypes,
int *typeids);
500 nc_inq_type_equal(
int ncid1,
nc_type typeid1,
int ncid2,
505 nc_def_grp(
int parent_ncid,
const char *name,
int *new_ncid);
516 size_t offset,
nc_type field_typeid);
521 size_t offset,
nc_type field_typeid,
522 int ndims,
const int *dim_sizes);
552 size_t *offsetp,
nc_type *field_typeidp,
int *ndimsp,
597 #define NC_COMPOUND_OFFSET(S,M) (offsetof(S,M))
620 nc_put_vlen_element(
int ncid,
int typeid1,
void *vlen_element,
621 size_t len,
const void *data);
624 nc_get_vlen_element(
int ncid,
int typeid1,
const void *vlen_element,
625 size_t *len,
void *data);
637 nc_type *base_nc_typep,
size_t *nfieldsp,
int *classp);
642 size_t len,
const void *op);
646 nc_get_att(
int ncid,
int varid,
const char *name,
void *ip);
666 size_t *base_sizep,
size_t *num_membersp);
691 nc_put_var(
int ncid,
int varid,
const void *op);
699 nc_put_var1(
int ncid,
int varid,
const size_t *indexp,
704 nc_get_var1(
int ncid,
int varid,
const size_t *indexp,
void *ip);
708 nc_put_vara(
int ncid,
int varid,
const size_t *startp,
709 const size_t *countp,
const void *op);
713 nc_get_vara(
int ncid,
int varid,
const size_t *startp,
714 const size_t *countp,
void *ip);
718 nc_put_vars(
int ncid,
int varid,
const size_t *startp,
719 const size_t *countp,
const ptrdiff_t *stridep,
724 nc_get_vars(
int ncid,
int varid,
const size_t *startp,
725 const size_t *countp,
const ptrdiff_t *stridep,
730 nc_put_varm(
int ncid,
int varid,
const size_t *startp,
731 const size_t *countp,
const ptrdiff_t *stridep,
732 const ptrdiff_t *imapp,
const void *op);
736 nc_get_varm(
int ncid,
int varid,
const size_t *startp,
737 const size_t *countp,
const ptrdiff_t *stridep,
738 const ptrdiff_t *imapp,
void *ip);
745 nc_def_var_deflate(
int ncid,
int varid,
int shuffle,
int deflate,
751 int *deflatep,
int *deflate_levelp);
755 nc_inq_var_szip(
int ncid,
int varid,
int *options_maskp,
int *pixels_per_blockp);
760 nc_def_var_fletcher32(
int ncid,
int varid,
int fletcher32);
769 nc_def_var_chunking(
int ncid,
int varid,
int storage,
const size_t *chunksizesp);
778 nc_def_var_fill(
int ncid,
int varid,
int no_fill,
const void *fill_value);
786 nc_def_var_endian(
int ncid,
int varid,
int endian);
794 nc_set_fill(
int ncid,
int fillmode,
int *old_modep);
799 nc_set_default_format(
int format,
int *old_formatp);
803 nc_set_chunk_cache(
size_t size,
size_t nelems,
float preemption);
807 nc_get_chunk_cache(
size_t *sizep,
size_t *nelemsp,
float *preemptionp);
823 nc__enddef(
int ncid,
size_t h_minfree,
size_t v_align,
824 size_t v_minfree,
size_t r_align);
839 nc_inq(
int ncid,
int *ndimsp,
int *nvarsp,
int *nattsp,
int *unlimdimidp);
845 nc_inq_nvars(
int ncid,
int *nvarsp);
864 nc_def_dim(
int ncid,
const char *name,
size_t len,
int *idp);
870 nc_inq_dim(
int ncid,
int dimid,
char *name,
size_t *lenp);
885 nc_inq_att(
int ncid,
int varid,
const char *name,
886 nc_type *xtypep,
size_t *lenp);
889 nc_inq_attid(
int ncid,
int varid,
const char *name,
int *idp);
895 nc_inq_attlen(
int ncid,
int varid,
const char *name,
size_t *lenp);
901 nc_copy_att(
int ncid_in,
int varid_in,
const char *name,
int ncid_out,
int varid_out);
904 nc_rename_att(
int ncid,
int varid,
const char *name,
const char *newname);
907 nc_del_att(
int ncid,
int varid,
const char *name);
914 size_t len,
const char *op);
921 size_t len,
const unsigned char *op);
928 size_t len,
const signed char *op);
935 size_t len,
const short *op);
942 size_t len,
const int *op);
949 size_t len,
const long *op);
956 size_t len,
const float *op);
963 size_t len,
const double *op);
970 size_t len,
const unsigned short *op);
977 size_t len,
const unsigned int *op);
980 nc_get_att_uint(
int ncid,
int varid,
const char *name,
unsigned int *ip);
984 size_t len,
const long long *op);
991 size_t len,
const unsigned long long *op);
995 unsigned long long *ip);
999 size_t len,
const char **op);
1009 const int *dimidsp,
int *varidp);
1013 int *ndimsp,
int *dimidsp,
int *nattsp);
1037 nc_copy_var(
int ncid_in,
int varid,
int ncid_out);
1041 #define ncvarcpy(ncid_in, varid, ncid_out) ncvarcopy((ncid_in), (varid), (ncid_out))
1048 nc_put_var1_text(
int ncid,
int varid,
const size_t *indexp,
const char *op);
1055 const unsigned char *op);
1063 const signed char *op);
1078 nc_put_var1_int(
int ncid,
int varid,
const size_t *indexp,
const int *op);
1084 nc_put_var1_long(
int ncid,
int varid,
const size_t *indexp,
const long *op);
1103 const unsigned short *op);
1107 unsigned short *ip);
1111 const unsigned int *op);
1119 const long long *op);
1127 const unsigned long long *op);
1131 unsigned long long *ip);
1146 const size_t *countp,
const char *op);
1150 const size_t *countp,
char *ip);
1154 const size_t *countp,
const unsigned char *op);
1158 const size_t *countp,
unsigned char *ip);
1162 const size_t *countp,
const signed char *op);
1166 const size_t *countp,
signed char *ip);
1170 const size_t *countp,
const short *op);
1174 const size_t *countp,
short *ip);
1178 const size_t *countp,
const int *op);
1182 const size_t *countp,
int *ip);
1186 const size_t *countp,
const long *op);
1190 const size_t *startp,
const size_t *countp,
long *ip);
1194 const size_t *startp,
const size_t *countp,
const float *op);
1198 const size_t *startp,
const size_t *countp,
float *ip);
1202 const size_t *countp,
const double *op);
1206 const size_t *countp,
double *ip);
1210 const size_t *countp,
const unsigned short *op);
1214 const size_t *countp,
unsigned short *ip);
1218 const size_t *countp,
const unsigned int *op);
1222 const size_t *countp,
unsigned int *ip);
1226 const size_t *countp,
const long long *op);
1230 const size_t *countp,
long long *ip);
1234 const size_t *countp,
const unsigned long long *op);
1238 const size_t *countp,
unsigned long long *ip);
1242 const size_t *countp,
const char **op);
1246 const size_t *countp,
char **ip);
1253 const size_t *startp,
const size_t *countp,
const ptrdiff_t *stridep,
1258 const size_t *startp,
const size_t *countp,
const ptrdiff_t *stridep,
1263 const size_t *startp,
const size_t *countp,
const ptrdiff_t *stridep,
1264 const unsigned char *op);
1268 const size_t *startp,
const size_t *countp,
const ptrdiff_t *stridep,
1273 const size_t *startp,
const size_t *countp,
const ptrdiff_t *stridep,
1274 const signed char *op);
1278 const size_t *startp,
const size_t *countp,
const ptrdiff_t *stridep,
1283 const size_t *startp,
const size_t *countp,
const ptrdiff_t *stridep,
1288 const size_t *countp,
const ptrdiff_t *stridep,
1293 const size_t *startp,
const size_t *countp,
const ptrdiff_t *stridep,
1298 const size_t *startp,
const size_t *countp,
const ptrdiff_t *stridep,
1303 const size_t *startp,
const size_t *countp,
const ptrdiff_t *stridep,
1308 const size_t *startp,
const size_t *countp,
const ptrdiff_t *stridep,
1313 const size_t *startp,
const size_t *countp,
const ptrdiff_t *stridep,
1318 const size_t *startp,
const size_t *countp,
const ptrdiff_t *stridep,
1323 const size_t *startp,
const size_t *countp,
const ptrdiff_t *stridep,
1328 const size_t *countp,
const ptrdiff_t *stridep,
1333 const size_t *countp,
const ptrdiff_t *stridep,
1334 const unsigned short *op);
1338 const size_t *countp,
const ptrdiff_t *stridep,
1339 unsigned short *ip);
1343 const size_t *countp,
const ptrdiff_t *stridep,
1344 const unsigned int *op);
1348 const size_t *countp,
const ptrdiff_t *stridep,
1353 const size_t *countp,
const ptrdiff_t *stridep,
1354 const long long *op);
1358 const size_t *countp,
const ptrdiff_t *stridep,
1363 const size_t *countp,
const ptrdiff_t *stridep,
1364 const unsigned long long *op);
1368 const size_t *countp,
const ptrdiff_t *stridep,
1369 unsigned long long *ip);
1373 const size_t *countp,
const ptrdiff_t *stridep,
1378 const size_t *countp,
const ptrdiff_t *stridep,
1386 const size_t *countp,
const ptrdiff_t *stridep,
1387 const ptrdiff_t *imapp,
const char *op);
1391 const size_t *countp,
const ptrdiff_t *stridep,
1392 const ptrdiff_t *imapp,
char *ip);
1396 const size_t *countp,
const ptrdiff_t *stridep,
1397 const ptrdiff_t *imapp,
const unsigned char *op);
1401 const size_t *countp,
const ptrdiff_t *stridep,
1402 const ptrdiff_t *imapp,
unsigned char *ip);
1406 const size_t *countp,
const ptrdiff_t *stridep,
1407 const ptrdiff_t *imapp,
const signed char *op);
1411 const size_t *countp,
const ptrdiff_t *stridep,
1412 const ptrdiff_t *imapp,
signed char *ip);
1416 const size_t *countp,
const ptrdiff_t *stridep,
1417 const ptrdiff_t *imapp,
const short *op);
1421 const size_t *countp,
const ptrdiff_t *stridep,
1422 const ptrdiff_t *imapp,
short *ip);
1426 const size_t *countp,
const ptrdiff_t *stridep,
1427 const ptrdiff_t *imapp,
const int *op);
1431 const size_t *countp,
const ptrdiff_t *stridep,
1432 const ptrdiff_t *imapp,
int *ip);
1436 const size_t *countp,
const ptrdiff_t *stridep,
1437 const ptrdiff_t *imapp,
const long *op);
1441 const size_t *countp,
const ptrdiff_t *stridep,
1442 const ptrdiff_t *imapp,
long *ip);
1446 const size_t *countp,
const ptrdiff_t *stridep,
1447 const ptrdiff_t *imapp,
const float *op);
1451 const size_t *countp,
const ptrdiff_t *stridep,
1452 const ptrdiff_t *imapp,
float *ip);
1456 const size_t *countp,
const ptrdiff_t *stridep,
1457 const ptrdiff_t *imapp,
const double *op);
1461 const size_t *countp,
const ptrdiff_t *stridep,
1462 const ptrdiff_t * imapp,
double *ip);
1466 const size_t *countp,
const ptrdiff_t *stridep,
1467 const ptrdiff_t * imapp,
const unsigned short *op);
1471 const size_t *countp,
const ptrdiff_t *stridep,
1472 const ptrdiff_t * imapp,
unsigned short *ip);
1476 const size_t *countp,
const ptrdiff_t *stridep,
1477 const ptrdiff_t * imapp,
const unsigned int *op);
1481 const size_t *countp,
const ptrdiff_t *stridep,
1482 const ptrdiff_t * imapp,
unsigned int *ip);
1486 const size_t *countp,
const ptrdiff_t *stridep,
1487 const ptrdiff_t * imapp,
const long long *op);
1491 const size_t *countp,
const ptrdiff_t *stridep,
1492 const ptrdiff_t * imapp,
long long *ip);
1496 const size_t *countp,
const ptrdiff_t *stridep,
1497 const ptrdiff_t * imapp,
const unsigned long long *op);
1501 const size_t *countp,
const ptrdiff_t *stridep,
1502 const ptrdiff_t * imapp,
unsigned long long *ip);
1506 const size_t *countp,
const ptrdiff_t *stridep,
1507 const ptrdiff_t * imapp,
const char **op);
1511 const size_t *countp,
const ptrdiff_t *stridep,
1512 const ptrdiff_t * imapp,
char **ip);
1598 size_t len,
const unsigned char *op);
1604 const unsigned char *op);
1610 const size_t *countp,
const unsigned char *op);
1613 const size_t *countp,
unsigned char *ip);
1616 const size_t *countp,
const ptrdiff_t *stridep,
1617 const unsigned char *op);
1620 const size_t *countp,
const ptrdiff_t *stridep,
1624 const size_t *countp,
const ptrdiff_t *stridep,
1625 const ptrdiff_t * imapp,
const unsigned char *op);
1628 const size_t *countp,
const ptrdiff_t *stridep,
1629 const ptrdiff_t * imapp,
unsigned char *ip);
1641 nc_set_log_level(
int new_level);
1645 #define NC_TURN_OFF_LOGGING (-1)
1649 #define nc_set_log_level(e)
1655 nc_show_metadata(
int ncid);
1675 nc__create_mp(
const char *path,
int cmode,
size_t initialsz,
int basepe,
1676 size_t *chunksizehintp,
int *ncidp);
1679 nc__open_mp(
const char *path,
int mode,
int basepe,
1680 size_t *chunksizehintp,
int *ncidp);
1683 nc_delete(
const char *path);
1686 nc_delete_mp(
const char *path,
int basepe);
1689 nc_set_base_pe(
int ncid,
int pe);
1692 nc_inq_base_pe(
int ncid,
int *pe);
1709 #define FILL_BYTE NC_FILL_BYTE
1710 #define FILL_CHAR NC_FILL_CHAR
1711 #define FILL_SHORT NC_FILL_SHORT
1712 #define FILL_LONG NC_FILL_INT
1713 #define FILL_FLOAT NC_FILL_FLOAT
1714 #define FILL_DOUBLE NC_FILL_DOUBLE
1716 #define MAX_NC_DIMS NC_MAX_DIMS
1717 #define MAX_NC_ATTRS NC_MAX_ATTRS
1718 #define MAX_NC_VARS NC_MAX_VARS
1719 #define MAX_NC_NAME NC_MAX_NAME
1720 #define MAX_VAR_DIMS NC_MAX_VAR_DIMS
1729 #define NC_ENTOOL NC_EMAXNAME
1730 #define NC_EXDR (-32)
1731 #define NC_SYSERR (-31)
1738 #define NC_VERBOSE 2
1743 nc_advise(
const char *cdf_routine_name,
int err,
const char *fmt,...);
1754 nccreate(
const char* path,
int cmode);
1757 ncopen(
const char* path,
int mode);
1760 ncsetfill(
int ncid,
int fillmode);
1778 ncinquire(
int ncid,
int *ndimsp,
int *nvarsp,
int *nattsp,
int *unlimdimp);
1781 ncdimdef(
int ncid,
const char *name,
long len);
1784 ncdimid(
int ncid,
const char *name);
1787 ncdiminq(
int ncid,
int dimid,
char *name,
long *lenp);
1790 ncdimrename(
int ncid,
int dimid,
const char *name);
1793 ncattput(
int ncid,
int varid,
const char *name,
nc_type xtype,
1794 int len,
const void *op);
1797 ncattinq(
int ncid,
int varid,
const char *name,
nc_type *xtypep,
int *lenp);
1800 ncattget(
int ncid,
int varid,
const char *name,
void *ip);
1803 ncattcopy(
int ncid_in,
int varid_in,
const char *name,
int ncid_out,
1807 ncattname(
int ncid,
int varid,
int attnum,
char *name);
1810 ncattrename(
int ncid,
int varid,
const char *name,
const char *newname);
1813 ncattdel(
int ncid,
int varid,
const char *name);
1816 ncvardef(
int ncid,
const char *name,
nc_type xtype,
1817 int ndims,
const int *dimidsp);
1820 ncvarid(
int ncid,
const char *name);
1823 ncvarinq(
int ncid,
int varid,
char *name,
nc_type *xtypep,
1824 int *ndimsp,
int *dimidsp,
int *nattsp);
1827 ncvarput1(
int ncid,
int varid,
const long *indexp,
const void *op);
1830 ncvarget1(
int ncid,
int varid,
const long *indexp,
void *ip);
1833 ncvarput(
int ncid,
int varid,
const long *startp,
const long *countp,
1837 ncvarget(
int ncid,
int varid,
const long *startp,
const long *countp,
1841 ncvarputs(
int ncid,
int varid,
const long *startp,
const long *countp,
1842 const long *stridep,
const void *op);
1845 ncvargets(
int ncid,
int varid,
const long *startp,
const long *countp,
1846 const long *stridep,
void *ip);
1849 ncvarputg(
int ncid,
int varid,
const long *startp,
const long *countp,
1850 const long *stridep,
const long *imapp,
const void *op);
1853 ncvargetg(
int ncid,
int varid,
const long *startp,
const long *countp,
1854 const long *stridep,
const long *imapp,
void *ip);
1857 ncvarrename(
int ncid,
int varid,
const char *name);
1860 ncrecinq(
int ncid,
int *nrecvarsp,
int *recvaridsp,
long *recsizesp);
1863 ncrecget(
int ncid,
long recnum,
void **datap);
1866 ncrecput(
int ncid,
long recnum,
void *
const *datap);
1871 #if defined(__cplusplus)
1876 #ifndef __MINGW32_VERSION
1877 #define END_OF_MAIN()
Generated on Wed Aug 22 2012 14:39:30 for netCDF. NetCDF is
a Unidata library.