NetCDF  4.8.1
netcdf.h
Go to the documentation of this file.
1 
13 #ifndef _NETCDF_
14 #define _NETCDF_
15 
16 #include <stddef.h> /* size_t, ptrdiff_t */
17 #include <errno.h> /* netcdf functions sometimes return system errors */
18 
19 /* Required for alloca on Windows */
20 #if defined(_WIN32) || defined(_WIN64)
21 #include <malloc.h>
22 #endif
23 
25 typedef int nc_type;
26 
27 #if defined(__cplusplus)
28 extern "C" {
29 #endif
30 
31 /*
32  * The netcdf external data types
33  */
34 #define NC_NAT 0
35 #define NC_BYTE 1
36 #define NC_CHAR 2
37 #define NC_SHORT 3
38 #define NC_INT 4
39 #define NC_LONG NC_INT
40 #define NC_FLOAT 5
41 #define NC_DOUBLE 6
42 #define NC_UBYTE 7
43 #define NC_USHORT 8
44 #define NC_UINT 9
45 #define NC_INT64 10
46 #define NC_UINT64 11
47 #define NC_STRING 12
49 #define NC_MAX_ATOMIC_TYPE NC_STRING
51 /* The following are use internally in support of user-defines
52  * types. They are also the class returned by nc_inq_user_type. */
53 #define NC_VLEN 13
54 #define NC_OPAQUE 14
55 #define NC_ENUM 15
56 #define NC_COMPOUND 16
60 #define NC_FIRSTUSERTYPEID 32
61 
67 #define NC_FILL_BYTE ((signed char)-127)
68 #define NC_FILL_CHAR ((char)0)
69 #define NC_FILL_SHORT ((short)-32767)
70 #define NC_FILL_INT (-2147483647)
71 #define NC_FILL_FLOAT (9.9692099683868690e+36f) /* near 15 * 2^119 */
72 #define NC_FILL_DOUBLE (9.9692099683868690e+36)
73 #define NC_FILL_UBYTE (255)
74 #define NC_FILL_USHORT (65535)
75 #define NC_FILL_UINT (4294967295U)
76 #define NC_FILL_INT64 ((long long)-9223372036854775806LL)
77 #define NC_FILL_UINT64 ((unsigned long long)18446744073709551614ULL)
78 #define NC_FILL_STRING ((char *)"")
79 
89 #define NC_MAX_BYTE 127
90 #define NC_MIN_BYTE (-NC_MAX_BYTE-1)
91 #define NC_MAX_CHAR 255
92 #define NC_MAX_SHORT 32767
93 #define NC_MIN_SHORT (-NC_MAX_SHORT - 1)
94 #define NC_MAX_INT 2147483647
95 #define NC_MIN_INT (-NC_MAX_INT - 1)
96 #define NC_MAX_FLOAT 3.402823466e+38f
97 #define NC_MIN_FLOAT (-NC_MAX_FLOAT)
98 #define NC_MAX_DOUBLE 1.7976931348623157e+308
99 #define NC_MIN_DOUBLE (-NC_MAX_DOUBLE)
100 #define NC_MAX_UBYTE NC_MAX_CHAR
101 #define NC_MAX_USHORT 65535U
102 #define NC_MAX_UINT 4294967295U
103 #define NC_MAX_INT64 (9223372036854775807LL)
104 #define NC_MIN_INT64 (-9223372036854775807LL-1)
105 #define NC_MAX_UINT64 (18446744073709551615ULL)
106 
113 #define _FillValue "_FillValue"
114 #define NC_FILL 0
115 #define NC_NOFILL 0x100
117 /* Define the ioflags bits for nc_create and nc_open.
118  currently unused:
119  0x0002
120  and the whole upper 16 bits
121  Note: nc4internal also defines flags in this space even tho it should not.
122  so check there around #define NC_CREAT.
123 */
124 
125 #define NC_NOWRITE 0x0000
126 #define NC_WRITE 0x0001
128 #define NC_CLOBBER 0x0000
129 #define NC_NOCLOBBER 0x0004
130 #define NC_DISKLESS 0x0008
131 #define NC_MMAP 0x0010
133 #define NC_64BIT_DATA 0x0020
134 #define NC_CDF5 NC_64BIT_DATA
136 #define NC_UDF0 0x0040
137 #define NC_UDF1 0x0080
139 #define NC_CLASSIC_MODEL 0x0100
140 #define NC_64BIT_OFFSET 0x0200
146 #define NC_LOCK 0x0400
147 
150 #define NC_SHARE 0x0800
151 
152 #define NC_NETCDF4 0x1000
157 #define NC_MPIIO 0x2000
158 #define NC_MPIPOSIX NC_MPIIO
159 #define NC_PNETCDF (NC_MPIIO)
161 #define NC_PERSIST 0x4000
162 #define NC_INMEMORY 0x8000
164 #define NC_MAX_MAGIC_NUMBER_LEN 8
173 #define NC_FORMAT_CLASSIC (1)
174 /* After adding CDF5 support, the NC_FORMAT_64BIT
175  flag is somewhat confusing. So, it is renamed.
176  Note that the name in the contributed code
177  NC_FORMAT_64BIT was renamed to NC_FORMAT_CDF2
178 */
179 #define NC_FORMAT_64BIT_OFFSET (2)
180 #define NC_FORMAT_64BIT (NC_FORMAT_64BIT_OFFSET)
181 #define NC_FORMAT_NETCDF4 (3)
182 #define NC_FORMAT_NETCDF4_CLASSIC (4)
183 #define NC_FORMAT_64BIT_DATA (5)
184 
185 /* Alias */
186 #define NC_FORMAT_CDF5 NC_FORMAT_64BIT_DATA
187 
188 /* Define a mask covering format flags only */
189 #define NC_FORMAT_ALL (NC_64BIT_OFFSET|NC_64BIT_DATA|NC_CLASSIC_MODEL|NC_NETCDF4|NC_UDF0|NC_UDF1)
190 
211 #define NC_FORMATX_NC3 (1)
212 #define NC_FORMATX_NC_HDF5 (2)
213 #define NC_FORMATX_NC4 NC_FORMATX_NC_HDF5
214 #define NC_FORMATX_NC_HDF4 (3)
215 #define NC_FORMATX_PNETCDF (4)
216 #define NC_FORMATX_DAP2 (5)
217 #define NC_FORMATX_DAP4 (6)
218 #define NC_FORMATX_UDF0 (8)
219 #define NC_FORMATX_UDF1 (9)
220 #define NC_FORMATX_NCZARR (10)
221 #define NC_FORMATX_UNDEFINED (0)
222 
223  /* To avoid breaking compatibility (such as in the python library),
224  we need to retain the NC_FORMAT_xxx format as well. This may come
225  out eventually, as the NC_FORMATX is more clear that it's an extended
226  format specifier.*/
227 
228 #define NC_FORMAT_NC3 NC_FORMATX_NC3
229 #define NC_FORMAT_NC_HDF5 NC_FORMATX_NC_HDF5
230 #define NC_FORMAT_NC4 NC_FORMATX_NC4
231 #define NC_FORMAT_NC_HDF4 NC_FORMATX_NC_HDF4
232 #define NC_FORMAT_PNETCDF NC_FORMATX_PNETCDF
233 #define NC_FORMAT_DAP2 NC_FORMATX_DAP2
234 #define NC_FORMAT_DAP4 NC_FORMATX_DAP4
235 #define NC_FORMAT_UNDEFINED NC_FORMATX_UNDEFINED
240 #define NC_SIZEHINT_DEFAULT 0
241 
243 #define NC_ALIGN_CHUNK ((size_t)(-1))
244 
246 #define NC_UNLIMITED 0L
247 
249 #define NC_GLOBAL -1
250 
273 #define NC_MAX_DIMS 1024 /* not enforced after 4.5.0 */
274 #define NC_MAX_ATTRS 8192 /* not enforced after 4.5.0 */
275 #define NC_MAX_VARS 8192 /* not enforced after 4.5.0 */
276 #define NC_MAX_NAME 256
277 #define NC_MAX_VAR_DIMS 1024
284 #define NC_MAX_HDF4_NAME NC_MAX_NAME
285 
289 #define NC_ENDIAN_NATIVE 0
290 #define NC_ENDIAN_LITTLE 1
291 #define NC_ENDIAN_BIG 2
292 
299 #define NC_CHUNKED 0
300 #define NC_CONTIGUOUS 1
301 #define NC_COMPACT 2
302 #define NC_UNKNOWN_STORAGE 3
303 #define NC_VIRTUAL 4
304 
311 #define NC_NOCHECKSUM 0
312 #define NC_FLETCHER32 1
313 
320 #define NC_NOSHUFFLE 0
321 #define NC_SHUFFLE 1
322 
324 #define NC_MIN_DEFLATE_LEVEL 0
325 #define NC_MAX_DEFLATE_LEVEL 9
331 #define NC_ISSYSERR(err) ((err) > 0)
332 
333 #define NC_NOERR 0
334 #define NC2_ERR (-1)
340 #define NC_EBADID (-33)
341 #define NC_ENFILE (-34)
342 #define NC_EEXIST (-35)
343 #define NC_EINVAL (-36)
344 #define NC_EPERM (-37)
349 #define NC_ENOTINDEFINE (-38)
350 
358 #define NC_EINDEFINE (-39)
359 
365 #define NC_EINVALCOORDS (-40)
366 
370 #define NC_EMAXDIMS (-41) /* not enforced after 4.5.0 */
371 
372 #define NC_ENAMEINUSE (-42)
373 #define NC_ENOTATT (-43)
374 #define NC_EMAXATTS (-44)
375 #define NC_EBADTYPE (-45)
376 #define NC_EBADDIM (-46)
377 #define NC_EUNLIMPOS (-47)
382 #define NC_EMAXVARS (-48) /* not enforced after 4.5.0 */
383 
387 #define NC_ENOTVAR (-49)
388 #define NC_EGLOBAL (-50)
389 #define NC_ENOTNC (-51)
390 #define NC_ESTS (-52)
391 #define NC_EMAXNAME (-53)
392 #define NC_EUNLIMIT (-54)
393 #define NC_ENORECVARS (-55)
394 #define NC_ECHAR (-56)
403 #define NC_EEDGE (-57)
404 #define NC_ESTRIDE (-58)
405 #define NC_EBADNAME (-59)
406 /* N.B. following must match value in ncx.h */
407 
412 #define NC_ERANGE (-60)
413 #define NC_ENOMEM (-61)
414 #define NC_EVARSIZE (-62)
415 #define NC_EDIMSIZE (-63)
416 #define NC_ETRUNC (-64)
417 #define NC_EAXISTYPE (-65)
419 /* Following errors are added for DAP */
420 #define NC_EDAP (-66)
421 #define NC_ECURL (-67)
422 #define NC_EIO (-68)
423 #define NC_ENODATA (-69)
424 #define NC_EDAPSVC (-70)
425 #define NC_EDAS (-71)
426 #define NC_EDDS (-72)
427 #define NC_EDMR NC_EDDS
428 #define NC_EDATADDS (-73)
429 #define NC_EDATADAP NC_EDATADDS
430 #define NC_EDAPURL (-74)
431 #define NC_EDAPCONSTRAINT (-75)
432 #define NC_ETRANSLATION (-76)
433 #define NC_EACCESS (-77)
434 #define NC_EAUTH (-78)
436 /* Misc. additional errors */
437 #define NC_ENOTFOUND (-90)
438 #define NC_ECANTREMOVE (-91)
439 #define NC_EINTERNAL (-92)
440 #define NC_EPNETCDF (-93)
442 /* The following was added in support of netcdf-4. Make all netcdf-4
443  error codes < -100 so that errors can be added to netcdf-3 if
444  needed. */
445 #define NC4_FIRST_ERROR (-100)
446 #define NC_EHDFERR (-101)
447 #define NC_ECANTREAD (-102)
448 #define NC_ECANTWRITE (-103)
449 #define NC_ECANTCREATE (-104)
450 #define NC_EFILEMETA (-105)
451 #define NC_EDIMMETA (-106)
452 #define NC_EATTMETA (-107)
453 #define NC_EVARMETA (-108)
454 #define NC_ENOCOMPOUND (-109)
455 #define NC_EATTEXISTS (-110)
456 #define NC_ENOTNC4 (-111)
457 #define NC_ESTRICTNC3 (-112)
458 #define NC_ENOTNC3 (-113)
459 #define NC_ENOPAR (-114)
460 #define NC_EPARINIT (-115)
461 #define NC_EBADGRPID (-116)
462 #define NC_EBADTYPID (-117)
463 #define NC_ETYPDEFINED (-118)
464 #define NC_EBADFIELD (-119)
465 #define NC_EBADCLASS (-120)
466 #define NC_EMAPTYPE (-121)
467 #define NC_ELATEFILL (-122)
468 #define NC_ELATEDEF (-123)
469 #define NC_EDIMSCALE (-124)
470 #define NC_ENOGRP (-125)
471 #define NC_ESTORAGE (-126)
472 #define NC_EBADCHUNK (-127)
473 #define NC_ENOTBUILT (-128)
474 #define NC_EDISKLESS (-129)
475 #define NC_ECANTEXTEND (-130)
476 #define NC_EMPI (-131)
478 #define NC_EFILTER (-132)
479 #define NC_ERCFILE (-133)
480 #define NC_ENULLPAD (-134)
481 #define NC_EINMEMORY (-135)
482 #define NC_ENOFILTER (-136)
483 #define NC_ENCZARR (-137)
484 #define NC_ES3 (-138)
485 #define NC_EEMPTY (-139)
486 #define NC_EOBJECT (-140)
487 #define NC_ENOOBJECT (-141)
488 #define NC_EPLUGIN (-142)
490 #define NC4_LAST_ERROR (-142)
492 /* Errors for all remote access methods(e.g. DAP and CDMREMOTE)*/
493 #define NC_EURL (NC_EDAPURL)
494 #define NC_ECONSTRAINT (NC_EDAPCONSTRAINT)
498 #define DIM_WITHOUT_VARIABLE "This is a netCDF dimension but not a netCDF variable."
499 
503 #define NC_HAVE_NEW_CHUNKING_API 1
504 
505 /*
506  * The Interface
507  */
508 
509 /* Declaration modifiers for DLL support (MSC et al) */
510 #if defined(DLL_NETCDF) /* define when library is a DLL */
511 # if defined(DLL_EXPORT) /* define when building the library */
512 # define MSC_EXTRA __declspec(dllexport)
513 # else
514 # define MSC_EXTRA __declspec(dllimport)
515 # endif
516 # include <io.h>
517 #else
518 #define MSC_EXTRA
519 #endif /* defined(DLL_NETCDF) */
520 
521 #define EXTERNL MSC_EXTRA extern
523 #if defined(DLL_NETCDF) /* define when library is a DLL */
524 EXTERNL int ncerr;
525 EXTERNL int ncopts;
526 #endif
527 
528 EXTERNL const char *
529 nc_inq_libvers(void);
530 
531 EXTERNL const char *
532 nc_strerror(int ncerr);
533 
534 /* Set up user-defined format. */
535 typedef struct NC_Dispatch NC_Dispatch;
536 EXTERNL int
537 nc_def_user_format(int mode_flag, NC_Dispatch *dispatch_table, char *magic_number);
538 
539 EXTERNL int
540 nc_inq_user_format(int mode_flag, NC_Dispatch **dispatch_table, char *magic_number);
541 
542 EXTERNL int
543 nc__create(const char *path, int cmode, size_t initialsz,
544  size_t *chunksizehintp, int *ncidp);
545 
546 EXTERNL int
547 nc_create(const char *path, int cmode, int *ncidp);
548 
549 EXTERNL int
550 nc__open(const char *path, int mode,
551  size_t *chunksizehintp, int *ncidp);
552 
553 EXTERNL int
554 nc_open(const char *path, int mode, int *ncidp);
555 
556 /* Learn the path used to open/create the file. */
557 EXTERNL int
558 nc_inq_path(int ncid, size_t *pathlen, char *path);
559 
560 /* Given an ncid and group name (NULL gets root group), return
561  * locid. */
562 EXTERNL int
563 nc_inq_ncid(int ncid, const char *name, int *grp_ncid);
564 
565 /* Given a location id, return the number of groups it contains, and
566  * an array of their locids. */
567 EXTERNL int
568 nc_inq_grps(int ncid, int *numgrps, int *ncids);
569 
570 /* Given locid, find name of group. (Root group is named "/".) */
571 EXTERNL int
572 nc_inq_grpname(int ncid, char *name);
573 
574 /* Given ncid, find full name and len of full name. (Root group is
575  * named "/", with length 1.) */
576 EXTERNL int
577 nc_inq_grpname_full(int ncid, size_t *lenp, char *full_name);
578 
579 /* Given ncid, find len of full name. */
580 EXTERNL int
581 nc_inq_grpname_len(int ncid, size_t *lenp);
582 
583 /* Given an ncid, find the ncid of its parent group. */
584 EXTERNL int
585 nc_inq_grp_parent(int ncid, int *parent_ncid);
586 
587 /* Given a name and parent ncid, find group ncid. */
588 EXTERNL int
589 nc_inq_grp_ncid(int ncid, const char *grp_name, int *grp_ncid);
590 
591 /* Given a full name and ncid, find group ncid. */
592 EXTERNL int
593 nc_inq_grp_full_ncid(int ncid, const char *full_name, int *grp_ncid);
594 
595 /* Get a list of ids for all the variables in a group. */
596 EXTERNL int
597 nc_inq_varids(int ncid, int *nvars, int *varids);
598 
599 /* Find all dimids for a location. This finds all dimensions in a
600  * group, or any of its parents. */
601 EXTERNL int
602 nc_inq_dimids(int ncid, int *ndims, int *dimids, int include_parents);
603 
604 /* Find all user-defined types for a location. This finds all
605  * user-defined types in a group. */
606 EXTERNL int
607 nc_inq_typeids(int ncid, int *ntypes, int *typeids);
608 
609 /* Are two types equal? */
610 EXTERNL int
611 nc_inq_type_equal(int ncid1, nc_type typeid1, int ncid2,
612  nc_type typeid2, int *equal);
613 
614 /* Create a group. its ncid is returned in the new_ncid pointer. */
615 EXTERNL int
616 nc_def_grp(int parent_ncid, const char *name, int *new_ncid);
617 
618 /* Rename a group */
619 EXTERNL int
620 nc_rename_grp(int grpid, const char *name);
621 
622 /* Here are functions for dealing with compound types. */
623 
624 /* Create a compound type. */
625 EXTERNL int
626 nc_def_compound(int ncid, size_t size, const char *name, nc_type *typeidp);
627 
628 /* Insert a named field into a compound type. */
629 EXTERNL int
630 nc_insert_compound(int ncid, nc_type xtype, const char *name,
631  size_t offset, nc_type field_typeid);
632 
633 /* Insert a named array into a compound type. */
634 EXTERNL int
635 nc_insert_array_compound(int ncid, nc_type xtype, const char *name,
636  size_t offset, nc_type field_typeid,
637  int ndims, const int *dim_sizes);
638 
639 /* Get the name and size of a type. */
640 EXTERNL int
641 nc_inq_type(int ncid, nc_type xtype, char *name, size_t *size);
642 
643 /* Get the id of a type from the name, which might be a fully qualified name */
644 EXTERNL int
645 nc_inq_typeid(int ncid, const char *name, nc_type *typeidp);
646 
647 /* Get the name, size, and number of fields in a compound type. */
648 EXTERNL int
649 nc_inq_compound(int ncid, nc_type xtype, char *name, size_t *sizep,
650  size_t *nfieldsp);
651 
652 /* Get the name of a compound type. */
653 EXTERNL int
654 nc_inq_compound_name(int ncid, nc_type xtype, char *name);
655 
656 /* Get the size of a compound type. */
657 EXTERNL int
658 nc_inq_compound_size(int ncid, nc_type xtype, size_t *sizep);
659 
660 /* Get the number of fields in this compound type. */
661 EXTERNL int
662 nc_inq_compound_nfields(int ncid, nc_type xtype, size_t *nfieldsp);
663 
664 /* Given the xtype and the fieldid, get all info about it. */
665 EXTERNL int
666 nc_inq_compound_field(int ncid, nc_type xtype, int fieldid, char *name,
667  size_t *offsetp, nc_type *field_typeidp, int *ndimsp,
668  int *dim_sizesp);
669 
670 /* Given the typeid and the fieldid, get the name. */
671 EXTERNL int
672 nc_inq_compound_fieldname(int ncid, nc_type xtype, int fieldid,
673  char *name);
674 
675 /* Given the xtype and the name, get the fieldid. */
676 EXTERNL int
677 nc_inq_compound_fieldindex(int ncid, nc_type xtype, const char *name,
678  int *fieldidp);
679 
680 /* Given the xtype and fieldid, get the offset. */
681 EXTERNL int
682 nc_inq_compound_fieldoffset(int ncid, nc_type xtype, int fieldid,
683  size_t *offsetp);
684 
685 /* Given the xtype and the fieldid, get the type of that field. */
686 EXTERNL int
687 nc_inq_compound_fieldtype(int ncid, nc_type xtype, int fieldid,
688  nc_type *field_typeidp);
689 
690 /* Given the xtype and the fieldid, get the number of dimensions for
691  * that field (scalars are 0). */
692 EXTERNL int
693 nc_inq_compound_fieldndims(int ncid, nc_type xtype, int fieldid,
694  int *ndimsp);
695 
696 /* Given the xtype and the fieldid, get the sizes of dimensions for
697  * that field. User must have allocated storage for the dim_sizes. */
698 EXTERNL int
699 nc_inq_compound_fielddim_sizes(int ncid, nc_type xtype, int fieldid,
700  int *dim_sizes);
701 
703 typedef struct {
704  size_t len;
705  void *p;
706 } nc_vlen_t;
707 
712 #define NC_COMPOUND_OFFSET(S,M) (offsetof(S,M))
713 
714 /* Create a variable length type. */
715 EXTERNL int
716 nc_def_vlen(int ncid, const char *name, nc_type base_typeid, nc_type *xtypep);
717 
718 /* Find out about a vlen. */
719 EXTERNL int
720 nc_inq_vlen(int ncid, nc_type xtype, char *name, size_t *datum_sizep,
721  nc_type *base_nc_typep);
722 
723 /* When you read VLEN type the library will actually allocate the
724  * storage space for the data. This storage space must be freed, so
725  * pass the pointer back to this function, when you're done with the
726  * data, and it will free the vlen memory. */
727 EXTERNL int
729 
730 EXTERNL int
731 nc_free_vlens(size_t len, nc_vlen_t vlens[]);
732 
733 /* Put or get one element in a vlen array. */
734 EXTERNL int
735 nc_put_vlen_element(int ncid, int typeid1, void *vlen_element,
736  size_t len, const void *data);
737 
738 EXTERNL int
739 nc_get_vlen_element(int ncid, int typeid1, const void *vlen_element,
740  size_t *len, void *data);
741 
742 /* When you read the string type the library will allocate the storage
743  * space for the data. This storage space must be freed, so pass the
744  * pointer back to this function, when you're done with the data, and
745  * it will free the string memory. */
746 EXTERNL int
747 nc_free_string(size_t len, char **data);
748 
749 /* Find out about a user defined type. */
750 EXTERNL int
751 nc_inq_user_type(int ncid, nc_type xtype, char *name, size_t *size,
752  nc_type *base_nc_typep, size_t *nfieldsp, int *classp);
753 
754 /* Write an attribute of any type. */
755 EXTERNL int
756 nc_put_att(int ncid, int varid, const char *name, nc_type xtype,
757  size_t len, const void *op);
758 
759 /* Read an attribute of any type. */
760 EXTERNL int
761 nc_get_att(int ncid, int varid, const char *name, void *ip);
762 
763 /* Enum type. */
764 
765 /* Create an enum type. Provide a base type and a name. At the moment
766  * only ints are accepted as base types. */
767 EXTERNL int
768 nc_def_enum(int ncid, nc_type base_typeid, const char *name,
769  nc_type *typeidp);
770 
771 /* Insert a named value into an enum type. The value must fit within
772  * the size of the enum type, the name size must be <= NC_MAX_NAME. */
773 EXTERNL int
774 nc_insert_enum(int ncid, nc_type xtype, const char *name,
775  const void *value);
776 
777 /* Get information about an enum type: its name, base type and the
778  * number of members defined. */
779 EXTERNL int
780 nc_inq_enum(int ncid, nc_type xtype, char *name, nc_type *base_nc_typep,
781  size_t *base_sizep, size_t *num_membersp);
782 
783 /* Get information about an enum member: a name and value. Name size
784  * will be <= NC_MAX_NAME. */
785 EXTERNL int
786 nc_inq_enum_member(int ncid, nc_type xtype, int idx, char *name,
787  void *value);
788 
789 
790 /* Get enum name from enum value. Name size will be <= NC_MAX_NAME. */
791 EXTERNL int
792 nc_inq_enum_ident(int ncid, nc_type xtype, long long value, char *identifier);
793 
794 /* Opaque type. */
795 
796 /* Create an opaque type. Provide a size and a name. */
797 EXTERNL int
798 nc_def_opaque(int ncid, size_t size, const char *name, nc_type *xtypep);
799 
800 /* Get information about an opaque type. */
801 EXTERNL int
802 nc_inq_opaque(int ncid, nc_type xtype, char *name, size_t *sizep);
803 
804 /* Write entire var of any type. */
805 EXTERNL int
806 nc_put_var(int ncid, int varid, const void *op);
807 
808 /* Read entire var of any type. */
809 EXTERNL int
810 nc_get_var(int ncid, int varid, void *ip);
811 
812 /* Write one value. */
813 EXTERNL int
814 nc_put_var1(int ncid, int varid, const size_t *indexp,
815  const void *op);
816 
817 /* Read one value. */
818 EXTERNL int
819 nc_get_var1(int ncid, int varid, const size_t *indexp, void *ip);
820 
821 /* Write an array of values. */
822 EXTERNL int
823 nc_put_vara(int ncid, int varid, const size_t *startp,
824  const size_t *countp, const void *op);
825 
826 /* Read an array of values. */
827 EXTERNL int
828 nc_get_vara(int ncid, int varid, const size_t *startp,
829  const size_t *countp, void *ip);
830 
831 /* Write slices of an array of values. */
832 EXTERNL int
833 nc_put_vars(int ncid, int varid, const size_t *startp,
834  const size_t *countp, const ptrdiff_t *stridep,
835  const void *op);
836 
837 /* Read slices of an array of values. */
838 EXTERNL int
839 nc_get_vars(int ncid, int varid, const size_t *startp,
840  const size_t *countp, const ptrdiff_t *stridep,
841  void *ip);
842 
843 /* Write mapped slices of an array of values. */
844 EXTERNL int
845 nc_put_varm(int ncid, int varid, const size_t *startp,
846  const size_t *countp, const ptrdiff_t *stridep,
847  const ptrdiff_t *imapp, const void *op);
848 
849 /* Read mapped slices of an array of values. */
850 EXTERNL int
851 nc_get_varm(int ncid, int varid, const size_t *startp,
852  const size_t *countp, const ptrdiff_t *stridep,
853  const ptrdiff_t *imapp, void *ip);
854 
855 /* Extra netcdf-4 stuff. */
856 
857 /* Set compression settings for a variable. Lower is faster, higher is
858  * better. Must be called after nc_def_var and before nc_enddef. */
859 EXTERNL int
860 nc_def_var_deflate(int ncid, int varid, int shuffle, int deflate,
861  int deflate_level);
862 
863 /* Find out compression settings of a var. */
864 EXTERNL int
865 nc_inq_var_deflate(int ncid, int varid, int *shufflep,
866  int *deflatep, int *deflate_levelp);
867 
868 /* Set szip compression for a variable. */
869 EXTERNL int nc_def_var_szip(int ncid, int varid, int options_mask,
870  int pixels_per_block);
871 
872 /* Find out szip settings of a var. */
873 EXTERNL int
874 nc_inq_var_szip(int ncid, int varid, int *options_maskp, int *pixels_per_blockp);
875 
876 /* Set fletcher32 checksum for a var. This must be done after nc_def_var
877  and before nc_enddef. */
878 EXTERNL int
879 nc_def_var_fletcher32(int ncid, int varid, int fletcher32);
880 
881 /* Inquire about fletcher32 checksum for a var. */
882 EXTERNL int
883 nc_inq_var_fletcher32(int ncid, int varid, int *fletcher32p);
884 
885 /* Define chunking for a variable. This must be done after nc_def_var
886  and before nc_enddef. */
887 EXTERNL int
888 nc_def_var_chunking(int ncid, int varid, int storage, const size_t *chunksizesp);
889 
890 /* Inq chunking stuff for a var. */
891 EXTERNL int
892 nc_inq_var_chunking(int ncid, int varid, int *storagep, size_t *chunksizesp);
893 
894 /* Define fill value behavior for a variable. This must be done after
895  nc_def_var and before nc_enddef. */
896 EXTERNL int
897 nc_def_var_fill(int ncid, int varid, int no_fill, const void *fill_value);
898 
899 /* Inq fill value setting for a var. */
900 EXTERNL int
901 nc_inq_var_fill(int ncid, int varid, int *no_fill, void *fill_valuep);
902 
903 /* Define the endianness of a variable. */
904 EXTERNL int
905 nc_def_var_endian(int ncid, int varid, int endian);
906 
907 /* Learn about the endianness of a variable. */
908 EXTERNL int
909 nc_inq_var_endian(int ncid, int varid, int *endianp);
910 
911 /* Define a filter for a variable */
912 EXTERNL int
913 nc_def_var_filter(int ncid, int varid, unsigned int id, size_t nparams, const unsigned int* parms);
914 
915 /* Learn about the first filter on a variable */
916 EXTERNL int
917 nc_inq_var_filter(int ncid, int varid, unsigned int* idp, size_t* nparams, unsigned int* params);
918 
919 /* Set the fill mode (classic or 64-bit offset files only). */
920 EXTERNL int
921 nc_set_fill(int ncid, int fillmode, int *old_modep);
922 
923 /* Set the default nc_create format to NC_FORMAT_CLASSIC, NC_FORMAT_64BIT,
924  * NC_FORMAT_CDF5, NC_FORMAT_NETCDF4, or NC_FORMAT_NETCDF4_CLASSIC */
925 EXTERNL int
926 nc_set_default_format(int format, int *old_formatp);
927 
928 /* Set the cache size, nelems, and preemption policy. */
929 EXTERNL int
930 nc_set_chunk_cache(size_t size, size_t nelems, float preemption);
931 
932 /* Get the cache size, nelems, and preemption policy. */
933 EXTERNL int
934 nc_get_chunk_cache(size_t *sizep, size_t *nelemsp, float *preemptionp);
935 
936 /* Set the per-variable cache size, nelems, and preemption policy. */
937 EXTERNL int
938 nc_set_var_chunk_cache(int ncid, int varid, size_t size, size_t nelems,
939  float preemption);
940 
941 /* Get the per-variable cache size, nelems, and preemption policy. */
942 EXTERNL int
943 nc_get_var_chunk_cache(int ncid, int varid, size_t *sizep, size_t *nelemsp,
944  float *preemptionp);
945 
946 EXTERNL int
947 nc_redef(int ncid);
948 
949 /* Is this ever used? Convert to parameter form */
950 EXTERNL int
951 nc__enddef(int ncid, size_t h_minfree, size_t v_align,
952  size_t v_minfree, size_t r_align);
953 
954 EXTERNL int
955 nc_enddef(int ncid);
956 
957 EXTERNL int
958 nc_sync(int ncid);
959 
960 EXTERNL int
961 nc_abort(int ncid);
962 
963 EXTERNL int
964 nc_close(int ncid);
965 
966 EXTERNL int
967 nc_inq(int ncid, int *ndimsp, int *nvarsp, int *nattsp, int *unlimdimidp);
968 
969 EXTERNL int
970 nc_inq_ndims(int ncid, int *ndimsp);
971 
972 EXTERNL int
973 nc_inq_nvars(int ncid, int *nvarsp);
974 
975 EXTERNL int
976 nc_inq_natts(int ncid, int *nattsp);
977 
978 EXTERNL int
979 nc_inq_unlimdim(int ncid, int *unlimdimidp);
980 
981 /* The next function is for NetCDF-4 only */
982 EXTERNL int
983 nc_inq_unlimdims(int ncid, int *nunlimdimsp, int *unlimdimidsp);
984 
985 /* Added in 3.6.1 to return format of netCDF file. */
986 EXTERNL int
987 nc_inq_format(int ncid, int *formatp);
988 
989 /* Added in 4.3.1 to return additional format info */
990 EXTERNL int
991 nc_inq_format_extended(int ncid, int *formatp, int* modep);
992 
993 /* Begin _dim */
994 
995 EXTERNL int
996 nc_def_dim(int ncid, const char *name, size_t len, int *idp);
997 
998 EXTERNL int
999 nc_inq_dimid(int ncid, const char *name, int *idp);
1000 
1001 EXTERNL int
1002 nc_inq_dim(int ncid, int dimid, char *name, size_t *lenp);
1003 
1004 EXTERNL int
1005 nc_inq_dimname(int ncid, int dimid, char *name);
1006 
1007 EXTERNL int
1008 nc_inq_dimlen(int ncid, int dimid, size_t *lenp);
1009 
1010 EXTERNL int
1011 nc_rename_dim(int ncid, int dimid, const char *name);
1012 
1013 /* End _dim */
1014 /* Begin _att */
1015 
1016 EXTERNL int
1017 nc_inq_att(int ncid, int varid, const char *name,
1018  nc_type *xtypep, size_t *lenp);
1019 
1020 EXTERNL int
1021 nc_inq_attid(int ncid, int varid, const char *name, int *idp);
1022 
1023 EXTERNL int
1024 nc_inq_atttype(int ncid, int varid, const char *name, nc_type *xtypep);
1025 
1026 EXTERNL int
1027 nc_inq_attlen(int ncid, int varid, const char *name, size_t *lenp);
1028 
1029 EXTERNL int
1030 nc_inq_attname(int ncid, int varid, int attnum, char *name);
1031 
1032 EXTERNL int
1033 nc_copy_att(int ncid_in, int varid_in, const char *name, int ncid_out, int varid_out);
1034 
1035 EXTERNL int
1036 nc_rename_att(int ncid, int varid, const char *name, const char *newname);
1037 
1038 EXTERNL int
1039 nc_del_att(int ncid, int varid, const char *name);
1040 
1041 /* End _att */
1042 /* Begin {put,get}_att */
1043 EXTERNL int
1044 nc_put_att_text(int ncid, int varid, const char *name,
1045  size_t len, const char *op);
1046 
1047 EXTERNL int
1048 nc_get_att_text(int ncid, int varid, const char *name, char *ip);
1049 
1050 EXTERNL int
1051 nc_put_att_string(int ncid, int varid, const char *name,
1052  size_t len, const char **op);
1053 
1054 EXTERNL int
1055 nc_get_att_string(int ncid, int varid, const char *name, char **ip);
1056 
1057 EXTERNL int
1058 nc_put_att_uchar(int ncid, int varid, const char *name, nc_type xtype,
1059  size_t len, const unsigned char *op);
1060 
1061 EXTERNL int
1062 nc_get_att_uchar(int ncid, int varid, const char *name, unsigned char *ip);
1063 
1064 EXTERNL int
1065 nc_put_att_schar(int ncid, int varid, const char *name, nc_type xtype,
1066  size_t len, const signed char *op);
1067 
1068 EXTERNL int
1069 nc_get_att_schar(int ncid, int varid, const char *name, signed char *ip);
1070 
1071 EXTERNL int
1072 nc_put_att_short(int ncid, int varid, const char *name, nc_type xtype,
1073  size_t len, const short *op);
1074 
1075 EXTERNL int
1076 nc_get_att_short(int ncid, int varid, const char *name, short *ip);
1077 
1078 EXTERNL int
1079 nc_put_att_int(int ncid, int varid, const char *name, nc_type xtype,
1080  size_t len, const int *op);
1081 
1082 EXTERNL int
1083 nc_get_att_int(int ncid, int varid, const char *name, int *ip);
1084 
1085 EXTERNL int
1086 nc_put_att_long(int ncid, int varid, const char *name, nc_type xtype,
1087  size_t len, const long *op);
1088 
1089 EXTERNL int
1090 nc_get_att_long(int ncid, int varid, const char *name, long *ip);
1091 
1092 EXTERNL int
1093 nc_put_att_float(int ncid, int varid, const char *name, nc_type xtype,
1094  size_t len, const float *op);
1095 
1096 EXTERNL int
1097 nc_get_att_float(int ncid, int varid, const char *name, float *ip);
1098 
1099 EXTERNL int
1100 nc_put_att_double(int ncid, int varid, const char *name, nc_type xtype,
1101  size_t len, const double *op);
1102 
1103 EXTERNL int
1104 nc_get_att_double(int ncid, int varid, const char *name, double *ip);
1105 
1106 EXTERNL int
1107 nc_put_att_ushort(int ncid, int varid, const char *name, nc_type xtype,
1108  size_t len, const unsigned short *op);
1109 
1110 EXTERNL int
1111 nc_get_att_ushort(int ncid, int varid, const char *name, unsigned short *ip);
1112 
1113 EXTERNL int
1114 nc_put_att_uint(int ncid, int varid, const char *name, nc_type xtype,
1115  size_t len, const unsigned int *op);
1116 
1117 EXTERNL int
1118 nc_get_att_uint(int ncid, int varid, const char *name, unsigned int *ip);
1119 
1120 EXTERNL int
1121 nc_put_att_longlong(int ncid, int varid, const char *name, nc_type xtype,
1122  size_t len, const long long *op);
1123 
1124 EXTERNL int
1125 nc_get_att_longlong(int ncid, int varid, const char *name, long long *ip);
1126 
1127 EXTERNL int
1128 nc_put_att_ulonglong(int ncid, int varid, const char *name, nc_type xtype,
1129  size_t len, const unsigned long long *op);
1130 
1131 EXTERNL int
1132 nc_get_att_ulonglong(int ncid, int varid, const char *name,
1133  unsigned long long *ip);
1134 
1135 
1136 /* End {put,get}_att */
1137 /* Begin _var */
1138 
1139 EXTERNL int
1140 nc_def_var(int ncid, const char *name, nc_type xtype, int ndims,
1141  const int *dimidsp, int *varidp);
1142 
1143 EXTERNL int
1144 nc_inq_var(int ncid, int varid, char *name, nc_type *xtypep,
1145  int *ndimsp, int *dimidsp, int *nattsp);
1146 
1147 EXTERNL int
1148 nc_inq_varid(int ncid, const char *name, int *varidp);
1149 
1150 EXTERNL int
1151 nc_inq_varname(int ncid, int varid, char *name);
1152 
1153 EXTERNL int
1154 nc_inq_vartype(int ncid, int varid, nc_type *xtypep);
1155 
1156 EXTERNL int
1157 nc_inq_varndims(int ncid, int varid, int *ndimsp);
1158 
1159 EXTERNL int
1160 nc_inq_vardimid(int ncid, int varid, int *dimidsp);
1161 
1162 EXTERNL int
1163 nc_inq_varnatts(int ncid, int varid, int *nattsp);
1164 
1165 EXTERNL int
1166 nc_rename_var(int ncid, int varid, const char *name);
1167 
1168 EXTERNL int
1169 nc_copy_var(int ncid_in, int varid, int ncid_out);
1170 
1171 #ifndef ncvarcpy
1172 /* support the old name for now */
1173 #define ncvarcpy(ncid_in, varid, ncid_out) ncvarcopy((ncid_in), (varid), (ncid_out))
1174 #endif
1175 
1176 /* End _var */
1177 /* Begin {put,get}_var1 */
1178 
1179 EXTERNL int
1180 nc_put_var1_text(int ncid, int varid, const size_t *indexp, const char *op);
1181 
1182 EXTERNL int
1183 nc_get_var1_text(int ncid, int varid, const size_t *indexp, char *ip);
1184 
1185 EXTERNL int
1186 nc_put_var1_uchar(int ncid, int varid, const size_t *indexp,
1187  const unsigned char *op);
1188 
1189 EXTERNL int
1190 nc_get_var1_uchar(int ncid, int varid, const size_t *indexp,
1191  unsigned char *ip);
1192 
1193 EXTERNL int
1194 nc_put_var1_schar(int ncid, int varid, const size_t *indexp,
1195  const signed char *op);
1196 
1197 EXTERNL int
1198 nc_get_var1_schar(int ncid, int varid, const size_t *indexp,
1199  signed char *ip);
1200 
1201 EXTERNL int
1202 nc_put_var1_short(int ncid, int varid, const size_t *indexp,
1203  const short *op);
1204 
1205 EXTERNL int
1206 nc_get_var1_short(int ncid, int varid, const size_t *indexp,
1207  short *ip);
1208 
1209 EXTERNL int
1210 nc_put_var1_int(int ncid, int varid, const size_t *indexp, const int *op);
1211 
1212 EXTERNL int
1213 nc_get_var1_int(int ncid, int varid, const size_t *indexp, int *ip);
1214 
1215 EXTERNL int
1216 nc_put_var1_long(int ncid, int varid, const size_t *indexp, const long *op);
1217 
1218 EXTERNL int
1219 nc_get_var1_long(int ncid, int varid, const size_t *indexp, long *ip);
1220 
1221 EXTERNL int
1222 nc_put_var1_float(int ncid, int varid, const size_t *indexp, const float *op);
1223 
1224 EXTERNL int
1225 nc_get_var1_float(int ncid, int varid, const size_t *indexp, float *ip);
1226 
1227 EXTERNL int
1228 nc_put_var1_double(int ncid, int varid, const size_t *indexp, const double *op);
1229 
1230 EXTERNL int
1231 nc_get_var1_double(int ncid, int varid, const size_t *indexp, double *ip);
1232 
1233 EXTERNL int
1234 nc_put_var1_ushort(int ncid, int varid, const size_t *indexp,
1235  const unsigned short *op);
1236 
1237 EXTERNL int
1238 nc_get_var1_ushort(int ncid, int varid, const size_t *indexp,
1239  unsigned short *ip);
1240 
1241 EXTERNL int
1242 nc_put_var1_uint(int ncid, int varid, const size_t *indexp,
1243  const unsigned int *op);
1244 
1245 EXTERNL int
1246 nc_get_var1_uint(int ncid, int varid, const size_t *indexp,
1247  unsigned int *ip);
1248 
1249 EXTERNL int
1250 nc_put_var1_longlong(int ncid, int varid, const size_t *indexp,
1251  const long long *op);
1252 
1253 EXTERNL int
1254 nc_get_var1_longlong(int ncid, int varid, const size_t *indexp,
1255  long long *ip);
1256 
1257 EXTERNL int
1258 nc_put_var1_ulonglong(int ncid, int varid, const size_t *indexp,
1259  const unsigned long long *op);
1260 
1261 EXTERNL int
1262 nc_get_var1_ulonglong(int ncid, int varid, const size_t *indexp,
1263  unsigned long long *ip);
1264 
1265 EXTERNL int
1266 nc_put_var1_string(int ncid, int varid, const size_t *indexp,
1267  const char **op);
1268 
1269 EXTERNL int
1270 nc_get_var1_string(int ncid, int varid, const size_t *indexp,
1271  char **ip);
1272 
1273 /* End {put,get}_var1 */
1274 /* Begin {put,get}_vara */
1275 
1276 EXTERNL int
1277 nc_put_vara_text(int ncid, int varid, const size_t *startp,
1278  const size_t *countp, const char *op);
1279 
1280 EXTERNL int
1281 nc_get_vara_text(int ncid, int varid, const size_t *startp,
1282  const size_t *countp, char *ip);
1283 
1284 EXTERNL int
1285 nc_put_vara_uchar(int ncid, int varid, const size_t *startp,
1286  const size_t *countp, const unsigned char *op);
1287 
1288 EXTERNL int
1289 nc_get_vara_uchar(int ncid, int varid, const size_t *startp,
1290  const size_t *countp, unsigned char *ip);
1291 
1292 EXTERNL int
1293 nc_put_vara_schar(int ncid, int varid, const size_t *startp,
1294  const size_t *countp, const signed char *op);
1295 
1296 EXTERNL int
1297 nc_get_vara_schar(int ncid, int varid, const size_t *startp,
1298  const size_t *countp, signed char *ip);
1299 
1300 EXTERNL int
1301 nc_put_vara_short(int ncid, int varid, const size_t *startp,
1302  const size_t *countp, const short *op);
1303 
1304 EXTERNL int
1305 nc_get_vara_short(int ncid, int varid, const size_t *startp,
1306  const size_t *countp, short *ip);
1307 
1308 EXTERNL int
1309 nc_put_vara_int(int ncid, int varid, const size_t *startp,
1310  const size_t *countp, const int *op);
1311 
1312 EXTERNL int
1313 nc_get_vara_int(int ncid, int varid, const size_t *startp,
1314  const size_t *countp, int *ip);
1315 
1316 EXTERNL int
1317 nc_put_vara_long(int ncid, int varid, const size_t *startp,
1318  const size_t *countp, const long *op);
1319 
1320 EXTERNL int
1321 nc_get_vara_long(int ncid, int varid,
1322  const size_t *startp, const size_t *countp, long *ip);
1323 
1324 EXTERNL int
1325 nc_put_vara_float(int ncid, int varid,
1326  const size_t *startp, const size_t *countp, const float *op);
1327 
1328 EXTERNL int
1329 nc_get_vara_float(int ncid, int varid,
1330  const size_t *startp, const size_t *countp, float *ip);
1331 
1332 EXTERNL int
1333 nc_put_vara_double(int ncid, int varid, const size_t *startp,
1334  const size_t *countp, const double *op);
1335 
1336 EXTERNL int
1337 nc_get_vara_double(int ncid, int varid, const size_t *startp,
1338  const size_t *countp, double *ip);
1339 
1340 EXTERNL int
1341 nc_put_vara_ushort(int ncid, int varid, const size_t *startp,
1342  const size_t *countp, const unsigned short *op);
1343 
1344 EXTERNL int
1345 nc_get_vara_ushort(int ncid, int varid, const size_t *startp,
1346  const size_t *countp, unsigned short *ip);
1347 
1348 EXTERNL int
1349 nc_put_vara_uint(int ncid, int varid, const size_t *startp,
1350  const size_t *countp, const unsigned int *op);
1351 
1352 EXTERNL int
1353 nc_get_vara_uint(int ncid, int varid, const size_t *startp,
1354  const size_t *countp, unsigned int *ip);
1355 
1356 EXTERNL int
1357 nc_put_vara_longlong(int ncid, int varid, const size_t *startp,
1358  const size_t *countp, const long long *op);
1359 
1360 EXTERNL int
1361 nc_get_vara_longlong(int ncid, int varid, const size_t *startp,
1362  const size_t *countp, long long *ip);
1363 
1364 EXTERNL int
1365 nc_put_vara_ulonglong(int ncid, int varid, const size_t *startp,
1366  const size_t *countp, const unsigned long long *op);
1367 
1368 EXTERNL int
1369 nc_get_vara_ulonglong(int ncid, int varid, const size_t *startp,
1370  const size_t *countp, unsigned long long *ip);
1371 
1372 EXTERNL int
1373 nc_put_vara_string(int ncid, int varid, const size_t *startp,
1374  const size_t *countp, const char **op);
1375 
1376 EXTERNL int
1377 nc_get_vara_string(int ncid, int varid, const size_t *startp,
1378  const size_t *countp, char **ip);
1379 
1380 /* End {put,get}_vara */
1381 /* Begin {put,get}_vars */
1382 
1383 EXTERNL int
1384 nc_put_vars_text(int ncid, int varid,
1385  const size_t *startp, const size_t *countp, const ptrdiff_t *stridep,
1386  const char *op);
1387 
1388 EXTERNL int
1389 nc_get_vars_text(int ncid, int varid,
1390  const size_t *startp, const size_t *countp, const ptrdiff_t *stridep,
1391  char *ip);
1392 
1393 EXTERNL int
1394 nc_put_vars_uchar(int ncid, int varid,
1395  const size_t *startp, const size_t *countp, const ptrdiff_t *stridep,
1396  const unsigned char *op);
1397 
1398 EXTERNL int
1399 nc_get_vars_uchar(int ncid, int varid,
1400  const size_t *startp, const size_t *countp, const ptrdiff_t *stridep,
1401  unsigned char *ip);
1402 
1403 EXTERNL int
1404 nc_put_vars_schar(int ncid, int varid,
1405  const size_t *startp, const size_t *countp, const ptrdiff_t *stridep,
1406  const signed char *op);
1407 
1408 EXTERNL int
1409 nc_get_vars_schar(int ncid, int varid,
1410  const size_t *startp, const size_t *countp, const ptrdiff_t *stridep,
1411  signed char *ip);
1412 
1413 EXTERNL int
1414 nc_put_vars_short(int ncid, int varid,
1415  const size_t *startp, const size_t *countp, const ptrdiff_t *stridep,
1416  const short *op);
1417 
1418 EXTERNL int
1419 nc_get_vars_short(int ncid, int varid, const size_t *startp,
1420  const size_t *countp, const ptrdiff_t *stridep,
1421  short *ip);
1422 
1423 EXTERNL int
1424 nc_put_vars_int(int ncid, int varid,
1425  const size_t *startp, const size_t *countp, const ptrdiff_t *stridep,
1426  const int *op);
1427 
1428 EXTERNL int
1429 nc_get_vars_int(int ncid, int varid,
1430  const size_t *startp, const size_t *countp, const ptrdiff_t *stridep,
1431  int *ip);
1432 
1433 EXTERNL int
1434 nc_put_vars_long(int ncid, int varid,
1435  const size_t *startp, const size_t *countp, const ptrdiff_t *stridep,
1436  const long *op);
1437 
1438 EXTERNL int
1439 nc_get_vars_long(int ncid, int varid,
1440  const size_t *startp, const size_t *countp, const ptrdiff_t *stridep,
1441  long *ip);
1442 
1443 EXTERNL int
1444 nc_put_vars_float(int ncid, int varid,
1445  const size_t *startp, const size_t *countp, const ptrdiff_t *stridep,
1446  const float *op);
1447 
1448 EXTERNL int
1449 nc_get_vars_float(int ncid, int varid,
1450  const size_t *startp, const size_t *countp, const ptrdiff_t *stridep,
1451  float *ip);
1452 
1453 EXTERNL int
1454 nc_put_vars_double(int ncid, int varid,
1455  const size_t *startp, const size_t *countp, const ptrdiff_t *stridep,
1456  const double *op);
1457 
1458 EXTERNL int
1459 nc_get_vars_double(int ncid, int varid, const size_t *startp,
1460  const size_t *countp, const ptrdiff_t *stridep,
1461  double *ip);
1462 
1463 EXTERNL int
1464 nc_put_vars_ushort(int ncid, int varid, const size_t *startp,
1465  const size_t *countp, const ptrdiff_t *stridep,
1466  const unsigned short *op);
1467 
1468 EXTERNL int
1469 nc_get_vars_ushort(int ncid, int varid, const size_t *startp,
1470  const size_t *countp, const ptrdiff_t *stridep,
1471  unsigned short *ip);
1472 
1473 EXTERNL int
1474 nc_put_vars_uint(int ncid, int varid, const size_t *startp,
1475  const size_t *countp, const ptrdiff_t *stridep,
1476  const unsigned int *op);
1477 
1478 EXTERNL int
1479 nc_get_vars_uint(int ncid, int varid, const size_t *startp,
1480  const size_t *countp, const ptrdiff_t *stridep,
1481  unsigned int *ip);
1482 
1483 EXTERNL int
1484 nc_put_vars_longlong(int ncid, int varid, const size_t *startp,
1485  const size_t *countp, const ptrdiff_t *stridep,
1486  const long long *op);
1487 
1488 EXTERNL int
1489 nc_get_vars_longlong(int ncid, int varid, const size_t *startp,
1490  const size_t *countp, const ptrdiff_t *stridep,
1491  long long *ip);
1492 
1493 EXTERNL int
1494 nc_put_vars_ulonglong(int ncid, int varid, const size_t *startp,
1495  const size_t *countp, const ptrdiff_t *stridep,
1496  const unsigned long long *op);
1497 
1498 EXTERNL int
1499 nc_get_vars_ulonglong(int ncid, int varid, const size_t *startp,
1500  const size_t *countp, const ptrdiff_t *stridep,
1501  unsigned long long *ip);
1502 
1503 EXTERNL int
1504 nc_put_vars_string(int ncid, int varid, const size_t *startp,
1505  const size_t *countp, const ptrdiff_t *stridep,
1506  const char **op);
1507 
1508 EXTERNL int
1509 nc_get_vars_string(int ncid, int varid, const size_t *startp,
1510  const size_t *countp, const ptrdiff_t *stridep,
1511  char **ip);
1512 
1513 /* End {put,get}_vars */
1514 /* Begin {put,get}_varm */
1515 
1516 EXTERNL int
1517 nc_put_varm_text(int ncid, int varid, const size_t *startp,
1518  const size_t *countp, const ptrdiff_t *stridep,
1519  const ptrdiff_t *imapp, const char *op);
1520 
1521 EXTERNL int
1522 nc_get_varm_text(int ncid, int varid, const size_t *startp,
1523  const size_t *countp, const ptrdiff_t *stridep,
1524  const ptrdiff_t *imapp, char *ip);
1525 
1526 EXTERNL int
1527 nc_put_varm_uchar(int ncid, int varid, const size_t *startp,
1528  const size_t *countp, const ptrdiff_t *stridep,
1529  const ptrdiff_t *imapp, const unsigned char *op);
1530 
1531 EXTERNL int
1532 nc_get_varm_uchar(int ncid, int varid, const size_t *startp,
1533  const size_t *countp, const ptrdiff_t *stridep,
1534  const ptrdiff_t *imapp, unsigned char *ip);
1535 
1536 EXTERNL int
1537 nc_put_varm_schar(int ncid, int varid, const size_t *startp,
1538  const size_t *countp, const ptrdiff_t *stridep,
1539  const ptrdiff_t *imapp, const signed char *op);
1540 
1541 EXTERNL int
1542 nc_get_varm_schar(int ncid, int varid, const size_t *startp,
1543  const size_t *countp, const ptrdiff_t *stridep,
1544  const ptrdiff_t *imapp, signed char *ip);
1545 
1546 EXTERNL int
1547 nc_put_varm_short(int ncid, int varid, const size_t *startp,
1548  const size_t *countp, const ptrdiff_t *stridep,
1549  const ptrdiff_t *imapp, const short *op);
1550 
1551 EXTERNL int
1552 nc_get_varm_short(int ncid, int varid, const size_t *startp,
1553  const size_t *countp, const ptrdiff_t *stridep,
1554  const ptrdiff_t *imapp, short *ip);
1555 
1556 EXTERNL int
1557 nc_put_varm_int(int ncid, int varid, const size_t *startp,
1558  const size_t *countp, const ptrdiff_t *stridep,
1559  const ptrdiff_t *imapp, const int *op);
1560 
1561 EXTERNL int
1562 nc_get_varm_int(int ncid, int varid, const size_t *startp,
1563  const size_t *countp, const ptrdiff_t *stridep,
1564  const ptrdiff_t *imapp, int *ip);
1565 
1566 EXTERNL int
1567 nc_put_varm_long(int ncid, int varid, const size_t *startp,
1568  const size_t *countp, const ptrdiff_t *stridep,
1569  const ptrdiff_t *imapp, const long *op);
1570 
1571 EXTERNL int
1572 nc_get_varm_long(int ncid, int varid, const size_t *startp,
1573  const size_t *countp, const ptrdiff_t *stridep,
1574  const ptrdiff_t *imapp, long *ip);
1575 
1576 EXTERNL int
1577 nc_put_varm_float(int ncid, int varid,const size_t *startp,
1578  const size_t *countp, const ptrdiff_t *stridep,
1579  const ptrdiff_t *imapp, const float *op);
1580 
1581 EXTERNL int
1582 nc_get_varm_float(int ncid, int varid,const size_t *startp,
1583  const size_t *countp, const ptrdiff_t *stridep,
1584  const ptrdiff_t *imapp, float *ip);
1585 
1586 EXTERNL int
1587 nc_put_varm_double(int ncid, int varid, const size_t *startp,
1588  const size_t *countp, const ptrdiff_t *stridep,
1589  const ptrdiff_t *imapp, const double *op);
1590 
1591 EXTERNL int
1592 nc_get_varm_double(int ncid, int varid, const size_t *startp,
1593  const size_t *countp, const ptrdiff_t *stridep,
1594  const ptrdiff_t * imapp, double *ip);
1595 
1596 EXTERNL int
1597 nc_put_varm_ushort(int ncid, int varid, const size_t *startp,
1598  const size_t *countp, const ptrdiff_t *stridep,
1599  const ptrdiff_t * imapp, const unsigned short *op);
1600 
1601 EXTERNL int
1602 nc_get_varm_ushort(int ncid, int varid, const size_t *startp,
1603  const size_t *countp, const ptrdiff_t *stridep,
1604  const ptrdiff_t * imapp, unsigned short *ip);
1605 
1606 EXTERNL int
1607 nc_put_varm_uint(int ncid, int varid, const size_t *startp,
1608  const size_t *countp, const ptrdiff_t *stridep,
1609  const ptrdiff_t * imapp, const unsigned int *op);
1610 
1611 EXTERNL int
1612 nc_get_varm_uint(int ncid, int varid, const size_t *startp,
1613  const size_t *countp, const ptrdiff_t *stridep,
1614  const ptrdiff_t * imapp, unsigned int *ip);
1615 
1616 EXTERNL int
1617 nc_put_varm_longlong(int ncid, int varid, const size_t *startp,
1618  const size_t *countp, const ptrdiff_t *stridep,
1619  const ptrdiff_t * imapp, const long long *op);
1620 
1621 EXTERNL int
1622 nc_get_varm_longlong(int ncid, int varid, const size_t *startp,
1623  const size_t *countp, const ptrdiff_t *stridep,
1624  const ptrdiff_t * imapp, long long *ip);
1625 
1626 EXTERNL int
1627 nc_put_varm_ulonglong(int ncid, int varid, const size_t *startp,
1628  const size_t *countp, const ptrdiff_t *stridep,
1629  const ptrdiff_t * imapp, const unsigned long long *op);
1630 
1631 EXTERNL int
1632 nc_get_varm_ulonglong(int ncid, int varid, const size_t *startp,
1633  const size_t *countp, const ptrdiff_t *stridep,
1634  const ptrdiff_t * imapp, unsigned long long *ip);
1635 
1636 EXTERNL int
1637 nc_put_varm_string(int ncid, int varid, const size_t *startp,
1638  const size_t *countp, const ptrdiff_t *stridep,
1639  const ptrdiff_t * imapp, const char **op);
1640 
1641 EXTERNL int
1642 nc_get_varm_string(int ncid, int varid, const size_t *startp,
1643  const size_t *countp, const ptrdiff_t *stridep,
1644  const ptrdiff_t * imapp, char **ip);
1645 
1646 /* End {put,get}_varm */
1647 /* Begin {put,get}_var */
1648 
1649 EXTERNL int
1650 nc_put_var_text(int ncid, int varid, const char *op);
1651 
1652 EXTERNL int
1653 nc_get_var_text(int ncid, int varid, char *ip);
1654 
1655 EXTERNL int
1656 nc_put_var_uchar(int ncid, int varid, const unsigned char *op);
1657 
1658 EXTERNL int
1659 nc_get_var_uchar(int ncid, int varid, unsigned char *ip);
1660 
1661 EXTERNL int
1662 nc_put_var_schar(int ncid, int varid, const signed char *op);
1663 
1664 EXTERNL int
1665 nc_get_var_schar(int ncid, int varid, signed char *ip);
1666 
1667 EXTERNL int
1668 nc_put_var_short(int ncid, int varid, const short *op);
1669 
1670 EXTERNL int
1671 nc_get_var_short(int ncid, int varid, short *ip);
1672 
1673 EXTERNL int
1674 nc_put_var_int(int ncid, int varid, const int *op);
1675 
1676 EXTERNL int
1677 nc_get_var_int(int ncid, int varid, int *ip);
1678 
1679 EXTERNL int
1680 nc_put_var_long(int ncid, int varid, const long *op);
1681 
1682 EXTERNL int
1683 nc_get_var_long(int ncid, int varid, long *ip);
1684 
1685 EXTERNL int
1686 nc_put_var_float(int ncid, int varid, const float *op);
1687 
1688 EXTERNL int
1689 nc_get_var_float(int ncid, int varid, float *ip);
1690 
1691 EXTERNL int
1692 nc_put_var_double(int ncid, int varid, const double *op);
1693 
1694 EXTERNL int
1695 nc_get_var_double(int ncid, int varid, double *ip);
1696 
1697 EXTERNL int
1698 nc_put_var_ushort(int ncid, int varid, const unsigned short *op);
1699 
1700 EXTERNL int
1701 nc_get_var_ushort(int ncid, int varid, unsigned short *ip);
1702 
1703 EXTERNL int
1704 nc_put_var_uint(int ncid, int varid, const unsigned int *op);
1705 
1706 EXTERNL int
1707 nc_get_var_uint(int ncid, int varid, unsigned int *ip);
1708 
1709 EXTERNL int
1710 nc_put_var_longlong(int ncid, int varid, const long long *op);
1711 
1712 EXTERNL int
1713 nc_get_var_longlong(int ncid, int varid, long long *ip);
1714 
1715 EXTERNL int
1716 nc_put_var_ulonglong(int ncid, int varid, const unsigned long long *op);
1717 
1718 EXTERNL int
1719 nc_get_var_ulonglong(int ncid, int varid, unsigned long long *ip);
1720 
1721 EXTERNL int
1722 nc_put_var_string(int ncid, int varid, const char **op);
1723 
1724 EXTERNL int
1725 nc_get_var_string(int ncid, int varid, char **ip);
1726 
1727 /* Begin Deprecated, same as functions with "_ubyte" replaced by "_uchar" */
1728 EXTERNL int
1729 nc_put_att_ubyte(int ncid, int varid, const char *name, nc_type xtype,
1730  size_t len, const unsigned char *op);
1731 EXTERNL int
1732 nc_get_att_ubyte(int ncid, int varid, const char *name,
1733  unsigned char *ip);
1734 EXTERNL int
1735 nc_put_var1_ubyte(int ncid, int varid, const size_t *indexp,
1736  const unsigned char *op);
1737 EXTERNL int
1738 nc_get_var1_ubyte(int ncid, int varid, const size_t *indexp,
1739  unsigned char *ip);
1740 EXTERNL int
1741 nc_put_vara_ubyte(int ncid, int varid, const size_t *startp,
1742  const size_t *countp, const unsigned char *op);
1743 EXTERNL int
1744 nc_get_vara_ubyte(int ncid, int varid, const size_t *startp,
1745  const size_t *countp, unsigned char *ip);
1746 EXTERNL int
1747 nc_put_vars_ubyte(int ncid, int varid, const size_t *startp,
1748  const size_t *countp, const ptrdiff_t *stridep,
1749  const unsigned char *op);
1750 EXTERNL int
1751 nc_get_vars_ubyte(int ncid, int varid, const size_t *startp,
1752  const size_t *countp, const ptrdiff_t *stridep,
1753  unsigned char *ip);
1754 EXTERNL int
1755 nc_put_varm_ubyte(int ncid, int varid, const size_t *startp,
1756  const size_t *countp, const ptrdiff_t *stridep,
1757  const ptrdiff_t * imapp, const unsigned char *op);
1758 EXTERNL int
1759 nc_get_varm_ubyte(int ncid, int varid, const size_t *startp,
1760  const size_t *countp, const ptrdiff_t *stridep,
1761  const ptrdiff_t * imapp, unsigned char *ip);
1762 EXTERNL int
1763 nc_put_var_ubyte(int ncid, int varid, const unsigned char *op);
1764 EXTERNL int
1765 nc_get_var_ubyte(int ncid, int varid, unsigned char *ip);
1766 /* End Deprecated */
1767 
1768 /* Set the log level. 0 shows only errors, 1 only major messages,
1769  * etc., to 5, which shows way too much information. */
1770 EXTERNL int
1771 nc_set_log_level(int new_level);
1772 
1773 /* Use this to turn off logging by calling
1774  nc_log_level(NC_TURN_OFF_LOGGING) */
1775 #define NC_TURN_OFF_LOGGING (-1)
1776 
1777 /* Show the netCDF library's in-memory metadata for a file. */
1778 EXTERNL int
1779 nc_show_metadata(int ncid);
1780 
1781 /* End {put,get}_var */
1782 
1783 /* Delete a file. */
1784 EXTERNL int
1785 nc_delete(const char *path);
1786 
1787 /*
1788  * The following functions were written to accommodate the old Cray
1789  * systems. Modern HPC systems do not use these functions any more,
1790  * but use the nc_open_par()/nc_create_par() functions instead. These
1791  * functions are retained for backward compatibibility. These
1792  * functions work as advertised, but you can only use "processor
1793  * element" 0.
1794  */
1795 
1796 EXTERNL int
1797 nc__create_mp(const char *path, int cmode, size_t initialsz, int basepe,
1798  size_t *chunksizehintp, int *ncidp);
1799 
1800 EXTERNL int
1801 nc__open_mp(const char *path, int mode, int basepe,
1802  size_t *chunksizehintp, int *ncidp);
1803 
1804 EXTERNL int
1805 nc_delete_mp(const char *path, int basepe);
1806 
1807 EXTERNL int
1808 nc_set_base_pe(int ncid, int pe);
1809 
1810 EXTERNL int
1811 nc_inq_base_pe(int ncid, int *pe);
1812 
1813 /* This v2 function is used in the nc_test program. */
1814 EXTERNL int
1815 nctypelen(nc_type datatype);
1816 
1817 /* Begin v2.4 backward compatibility */
1818 
1821 #define FILL_BYTE NC_FILL_BYTE
1822 #define FILL_CHAR NC_FILL_CHAR
1823 #define FILL_SHORT NC_FILL_SHORT
1824 #define FILL_LONG NC_FILL_INT
1825 #define FILL_FLOAT NC_FILL_FLOAT
1826 #define FILL_DOUBLE NC_FILL_DOUBLE
1828 #define MAX_NC_DIMS NC_MAX_DIMS
1829 #define MAX_NC_ATTRS NC_MAX_ATTRS
1830 #define MAX_NC_VARS NC_MAX_VARS
1831 #define MAX_NC_NAME NC_MAX_NAME
1832 #define MAX_VAR_DIMS NC_MAX_VAR_DIMS
1836 /*
1837  * Global error status
1838  */
1839 EXTERNL int ncerr;
1840 
1841 #define NC_ENTOOL NC_EMAXNAME
1842 #define NC_EXDR (-32)
1843 #define NC_SYSERR (-31)
1845 /*
1846  * Global options variable.
1847  * Used to determine behavior of error handler.
1848  */
1849 #define NC_FATAL 1
1850 #define NC_VERBOSE 2
1853 EXTERNL int ncopts;
1854 
1855 EXTERNL void
1856 nc_advise(const char *cdf_routine_name, int err, const char *fmt,...);
1857 
1863 typedef int nclong;
1864 
1865 EXTERNL int
1866 nccreate(const char* path, int cmode);
1867 
1868 EXTERNL int
1869 ncopen(const char* path, int mode);
1870 
1871 EXTERNL int
1872 ncsetfill(int ncid, int fillmode);
1873 
1874 EXTERNL int
1875 ncredef(int ncid);
1876 
1877 EXTERNL int
1878 ncendef(int ncid);
1879 
1880 EXTERNL int
1881 ncsync(int ncid);
1882 
1883 EXTERNL int
1884 ncabort(int ncid);
1885 
1886 EXTERNL int
1887 ncclose(int ncid);
1888 
1889 EXTERNL int
1890 ncinquire(int ncid, int *ndimsp, int *nvarsp, int *nattsp, int *unlimdimp);
1891 
1892 EXTERNL int
1893 ncdimdef(int ncid, const char *name, long len);
1894 
1895 EXTERNL int
1896 ncdimid(int ncid, const char *name);
1897 
1898 EXTERNL int
1899 ncdiminq(int ncid, int dimid, char *name, long *lenp);
1900 
1901 EXTERNL int
1902 ncdimrename(int ncid, int dimid, const char *name);
1903 
1904 EXTERNL int
1905 ncattput(int ncid, int varid, const char *name, nc_type xtype,
1906  int len, const void *op);
1907 
1908 EXTERNL int
1909 ncattinq(int ncid, int varid, const char *name, nc_type *xtypep, int *lenp);
1910 
1911 EXTERNL int
1912 ncattget(int ncid, int varid, const char *name, void *ip);
1913 
1914 EXTERNL int
1915 ncattcopy(int ncid_in, int varid_in, const char *name, int ncid_out,
1916  int varid_out);
1917 
1918 EXTERNL int
1919 ncattname(int ncid, int varid, int attnum, char *name);
1920 
1921 EXTERNL int
1922 ncattrename(int ncid, int varid, const char *name, const char *newname);
1923 
1924 EXTERNL int
1925 ncattdel(int ncid, int varid, const char *name);
1926 
1927 EXTERNL int
1928 ncvardef(int ncid, const char *name, nc_type xtype,
1929  int ndims, const int *dimidsp);
1930 
1931 EXTERNL int
1932 ncvarid(int ncid, const char *name);
1933 
1934 EXTERNL int
1935 ncvarinq(int ncid, int varid, char *name, nc_type *xtypep,
1936  int *ndimsp, int *dimidsp, int *nattsp);
1937 
1938 EXTERNL int
1939 ncvarput1(int ncid, int varid, const long *indexp, const void *op);
1940 
1941 EXTERNL int
1942 ncvarget1(int ncid, int varid, const long *indexp, void *ip);
1943 
1944 EXTERNL int
1945 ncvarput(int ncid, int varid, const long *startp, const long *countp,
1946  const void *op);
1947 
1948 EXTERNL int
1949 ncvarget(int ncid, int varid, const long *startp, const long *countp,
1950  void *ip);
1951 
1952 EXTERNL int
1953 ncvarputs(int ncid, int varid, const long *startp, const long *countp,
1954  const long *stridep, const void *op);
1955 
1956 EXTERNL int
1957 ncvargets(int ncid, int varid, const long *startp, const long *countp,
1958  const long *stridep, void *ip);
1959 
1960 EXTERNL int
1961 ncvarputg(int ncid, int varid, const long *startp, const long *countp,
1962  const long *stridep, const long *imapp, const void *op);
1963 
1964 EXTERNL int
1965 ncvargetg(int ncid, int varid, const long *startp, const long *countp,
1966  const long *stridep, const long *imapp, void *ip);
1967 
1968 EXTERNL int
1969 ncvarrename(int ncid, int varid, const char *name);
1970 
1971 EXTERNL int
1972 ncrecinq(int ncid, int *nrecvarsp, int *recvaridsp, long *recsizesp);
1973 
1974 EXTERNL int
1975 ncrecget(int ncid, long recnum, void **datap);
1976 
1977 EXTERNL int
1978 ncrecput(int ncid, long recnum, void *const *datap);
1979 
1980 /* This function may be called to force the library to
1981  initialize itself. It is not required, however.
1982 */
1983 EXTERNL int nc_initialize(void);
1984 
1985 /* This function may be called to force the library to
1986  cleanup global memory so that memory checkers will not
1987  report errors. It is not required, however.
1988 */
1989 EXTERNL int nc_finalize(void);
1990 
1991 #if defined(__cplusplus)
1992 }
1993 #endif
1994 
1995 /* Define two hard-coded functionality-related
1996  (as requested by community developers) macros.
1997  This is not going to be standard practice.
1998  Don't remove without an in-place replacement of some sort,
1999  the are now (for better or worse) used by downstream
2000  software external to Unidata. */
2001 #ifndef NC_HAVE_RENAME_GRP
2002 #define NC_HAVE_RENAME_GRP
2003 #endif
2004 
2005 #ifndef NC_HAVE_INQ_FORMAT_EXTENDED
2006 #define NC_HAVE_INQ_FORMAT_EXTENDED
2007 #endif
2008 
2009 #define NC_HAVE_META_H
2010 
2011 #endif /* _NETCDF_ */
nc_put_att_long
EXTERNL int nc_put_att_long(int ncid, int varid, const char *name, nc_type xtype, size_t len, const long *op)
Definition: dattput.c:392
nc_inq_varids
EXTERNL int nc_inq_varids(int ncid, int *nvars, int *varids)
Get a list of varids associated with a group given a group ID.
Definition: dgroup.c:187
nc_inq_varname
EXTERNL int nc_inq_varname(int ncid, int varid, char *name)
Definition: dvarinq.c:156
nc_get_att_ubyte
EXTERNL int nc_get_att_ubyte(int ncid, int varid, const char *name, unsigned char *ip)
Definition: dattget.c:516
nc_put_vara_uchar
int nc_put_vara_uchar(int ncid, int varid, const size_t *startp, const size_t *countp, const unsigned char *op)
Definition: dvarput.c:660
nc_insert_array_compound
EXTERNL int nc_insert_array_compound(int ncid, nc_type xtype, const char *name, size_t offset, nc_type field_typeid, int ndims, const int *dim_sizes)
Definition: dcompound.c:141
nc_get_att_ulonglong
EXTERNL int nc_get_att_ulonglong(int ncid, int varid, const char *name, unsigned long long *ip)
Definition: dattget.c:648
nc_put_var_ubyte
int nc_put_var_ubyte(int ncid, int varid, const unsigned char *op)
Definition: dvarput.c:974
nclong
int nclong
C data type corresponding to a netCDF NC_LONG argument, a signed 32 bit object.
Definition: netcdf.h:1863
nc_get_vara_double
int nc_get_vara_double(int ncid, int varid, const size_t *startp, const size_t *countp, double *ip)
Definition: dvarget.c:803
nc_inq_attlen
EXTERNL int nc_inq_attlen(int ncid, int varid, const char *name, size_t *lenp)
Definition: dattinq.c:423
ncvardef
EXTERNL int ncvardef(int ncid, const char *name, nc_type xtype, int ndims, const int *dimidsp)
Definition: dv2i.c:856
nc_def_compound
EXTERNL int nc_def_compound(int ncid, size_t size, const char *name, nc_type *typeidp)
Definition: dcompound.c:63
nc_put_att_schar
EXTERNL int nc_put_att_schar(int ncid, int varid, const char *name, nc_type xtype, size_t len, const signed char *op)
Definition: dattput.c:256
nc_inq_compound_nfields
EXTERNL int nc_inq_compound_nfields(int ncid, nc_type xtype, size_t *nfieldsp)
Definition: dcompound.c:249
nc_get_vars_schar
int nc_get_vars_schar(int ncid, int varid, const size_t *startp, const size_t *countp, const ptrdiff_t *stridep, signed char *ip)
Definition: dvarget.c:1183
nc_inq_attid
EXTERNL int nc_inq_attid(int ncid, int varid, const char *name, int *idp)
Definition: dattinq.c:163
EXTERNL
#define EXTERNL
Needed for DLL build.
Definition: netcdf.h:521
nc_get_vara_uchar
int nc_get_vara_uchar(int ncid, int varid, const size_t *startp, const size_t *countp, unsigned char *ip)
Definition: dvarget.c:768
nc_put_vars_long
int nc_put_vars_long(int ncid, int varid, const size_t *startp, const size_t *countp, const ptrdiff_t *stridep, const long *op)
Definition: dvarput.c:1099
nc_get_vars_double
int nc_get_vars_double(int ncid, int varid, const size_t *startp, const size_t *countp, const ptrdiff_t *stridep, double *ip)
Definition: dvarget.c:1237
nc_get_vars_text
int nc_get_vars_text(int ncid, int varid, const size_t *startp, const size_t *countp, const ptrdiff_t *stridep, char *ip)
Definition: dvarget.c:1174
nc_put_var1_short
int nc_put_var1_short(int ncid, int varid, const size_t *indexp, const short *op)
Definition: dvarput.c:805
nc_put_vars_string
int nc_put_vars_string(int ncid, int varid, const size_t *startp, const size_t *countp, const ptrdiff_t *stridep, const char **op)
Definition: dvarput.c:1179
nc_vlen_t
This is the type of arrays of vlens.
Definition: netcdf.h:703
nc_get_var1_double
int nc_get_var1_double(int ncid, int varid, const size_t *indexp, double *ip)
Definition: dvarget.c:939
nc_inq_grp_full_ncid
EXTERNL int nc_inq_grp_full_ncid(int ncid, const char *full_name, int *grp_ncid)
Get the full ncid given a group name.
Definition: dgroup.c:169
ncdimid
EXTERNL int ncdimid(int ncid, const char *name)
Definition: dv2i.c:761
nc_inq_varnatts
EXTERNL int nc_inq_varnatts(int ncid, int varid, int *nattsp)
Learn how many attributes are associated with a variable.
Definition: dvarinq.c:249
nc_put_vara_short
int nc_put_vara_short(int ncid, int varid, const size_t *startp, const size_t *countp, const short *op)
Definition: dvarput.c:668
nc_put_vara_uint
int nc_put_vara_uint(int ncid, int varid, const size_t *startp, const size_t *countp, const unsigned int *op)
Definition: dvarput.c:724
nc_def_user_format
EXTERNL int nc_def_user_format(int mode_flag, NC_Dispatch *dispatch_table, char *magic_number)
Add handling of user-defined format.
Definition: dfile.c:120
nc_def_vlen
EXTERNL int nc_def_vlen(int ncid, const char *name, nc_type base_typeid, nc_type *xtypep)
Definition: dvlen.c:110
nc_put_vara_schar
int nc_put_vara_schar(int ncid, int varid, const size_t *startp, const size_t *countp, const signed char *op)
Definition: dvarput.c:652
nc_get_vara_ushort
int nc_get_vara_ushort(int ncid, int varid, const size_t *startp, const size_t *countp, unsigned short *ip)
Definition: dvarget.c:817
nc_get_vara_string
int nc_get_vara_string(int ncid, int varid, const size_t *startp, const size_t *countp, char **ip)
Definition: dvarget.c:845
nc_inq_user_type
EXTERNL int nc_inq_user_type(int ncid, nc_type xtype, char *name, size_t *size, nc_type *base_nc_typep, size_t *nfieldsp, int *classp)
Definition: dtype.c:146
nc_inq_varndims
EXTERNL int nc_inq_varndims(int ncid, int varid, int *ndimsp)
Learn how many dimensions are associated with a variable.
Definition: dvarinq.c:202
nc_get_vars_ubyte
int nc_get_vars_ubyte(int ncid, int varid, const size_t *startp, const size_t *countp, const ptrdiff_t *stridep, unsigned char *ip)
Definition: dvarget.c:1246
nc_put_var_int
int nc_put_var_int(int ncid, int varid, const int *op)
Definition: dvarput.c:950
nc_put_var1_double
int nc_put_var1_double(int ncid, int varid, const size_t *indexp, const double *op)
Definition: dvarput.c:829
ncclose
EXTERNL int ncclose(int ncid)
Definition: dv2i.c:606
nc_put_var1_uchar
int nc_put_var1_uchar(int ncid, int varid, const size_t *indexp, const unsigned char *op)
Definition: dvarput.c:799
ncvarid
EXTERNL int ncvarid(int ncid, const char *name)
Definition: dv2i.c:887
nc_get_att_string
EXTERNL int nc_get_att_string(int ncid, int varid, const char *name, char **ip)
Definition: dattget.c:741
nc_def_var_szip
EXTERNL int nc_def_var_szip(int ncid, int varid, int options_mask, int pixels_per_block)
Set szip compression settings on a variable.
Definition: dvar.c:757
nc_put_var_string
int nc_put_var_string(int ncid, int varid, const char **op)
Definition: dvarput.c:1004
nc_put_att_int
EXTERNL int nc_put_att_int(int ncid, int varid, const char *name, nc_type xtype, size_t len, const int *op)
Definition: dattput.c:358
nc_put_vars_ulonglong
int nc_put_vars_ulonglong(int ncid, int varid, const size_t *startp, const size_t *countp, const ptrdiff_t *stridep, const unsigned long long *op)
Definition: dvarput.c:1169
nc_get_varm_string
int nc_get_varm_string(int ncid, int varid, const size_t *startp, const size_t *countp, const ptrdiff_t *stridep, const ptrdiff_t *imapp, char **ip)
Definition: dvarget.c:1488
nc_inq_enum_ident
EXTERNL int nc_inq_enum_ident(int ncid, nc_type xtype, long long value, char *identifier)
Definition: denum.c:168
nc_put_vara_ubyte
int nc_put_vara_ubyte(int ncid, int varid, const size_t *startp, const size_t *countp, const unsigned char *op)
Definition: dvarput.c:708
nc_put_vars_ushort
int nc_put_vars_ushort(int ncid, int varid, const size_t *startp, const size_t *countp, const ptrdiff_t *stridep, const unsigned short *op)
Definition: dvarput.c:1139
nc_redef
EXTERNL int nc_redef(int ncid)
Definition: dfile.c:954
nc_get_var1_longlong
int nc_get_var1_longlong(int ncid, int varid, const size_t *indexp, long long *ip)
Definition: dvarget.c:967
nc_get_var_uint
int nc_get_var_uint(int ncid, int varid, unsigned int *ip)
Definition: dvarget.c:1099
nc_inq_atttype
EXTERNL int nc_inq_atttype(int ncid, int varid, const char *name, nc_type *xtypep)
Definition: dattinq.c:357
nc_put_var_long
int nc_put_var_long(int ncid, int varid, const long *op)
Definition: dvarput.c:956
nc_put_vars_text
int nc_put_vars_text(int ncid, int varid, const size_t *startp, const size_t *countp, const ptrdiff_t *stridep, const char *op)
Definition: dvarput.c:1051
ncattdel
EXTERNL int ncattdel(int ncid, int varid, const char *name)
Definition: dv2i.c:1604
nc_def_var
EXTERNL int nc_def_var(int ncid, const char *name, nc_type xtype, int ndims, const int *dimidsp, int *varidp)
Define a new variable.
Definition: dvar.c:212
nc_def_opaque
EXTERNL int nc_def_opaque(int ncid, size_t size, const char *name, nc_type *xtypep)
Definition: dopaque.c:33
nc_put_var1_float
int nc_put_var1_float(int ncid, int varid, const size_t *indexp, const float *op)
Definition: dvarput.c:823
nc_put_var1_string
int nc_put_var1_string(int ncid, int varid, const size_t *indexp, const char **op)
Definition: dvarput.c:865
nc_get_varm_int
int nc_get_varm_int(int ncid, int varid, const size_t *startp, const size_t *countp, const ptrdiff_t *stridep, const ptrdiff_t *imapp, int *ip)
Definition: dvarget.c:1394
nc_insert_compound
EXTERNL int nc_insert_compound(int ncid, nc_type xtype, const char *name, size_t offset, nc_type field_typeid)
Definition: dcompound.c:99
nc__enddef
EXTERNL int nc__enddef(int ncid, size_t h_minfree, size_t v_align, size_t v_minfree, size_t r_align)
Definition: dfile.c:1109
nc_inq_dimids
EXTERNL int nc_inq_dimids(int ncid, int *ndims, int *dimids, int include_parents)
Retrieve a list of dimension ids associated with a group.
Definition: dgroup.c:205
nc_get_var_long
int nc_get_var_long(int ncid, int varid, long *ip)
Definition: dvarget.c:1069
nc_inq_enum
EXTERNL int nc_inq_enum(int ncid, nc_type xtype, char *name, nc_type *base_nc_typep, size_t *base_sizep, size_t *num_membersp)
Definition: denum.c:107
nc_put_varm_string
int nc_put_varm_string(int ncid, int varid, const size_t *startp, const size_t *countp, const ptrdiff_t *stridep, const ptrdiff_t *imapp, const char **op)
Definition: dvarput.c:1372
ncvargets
EXTERNL int ncvargets(int ncid, int varid, const long *startp, const long *countp, const long *stridep, void *ip)
Definition: dv2i.c:1178
ncrecinq
EXTERNL int ncrecinq(int ncid, int *nrecvarsp, int *recvaridsp, long *recsizesp)
Definition: dv2i.c:1666
nc_def_dim
EXTERNL int nc_def_dim(int ncid, const char *name, size_t len, int *idp)
Define a new dimension.
Definition: ddim.c:121
nc_def_var_chunking
EXTERNL int nc_def_var_chunking(int ncid, int varid, int storage, const size_t *chunksizesp)
Define storage and, if chunked storage is used, chunking parameters for a variable.
Definition: dvar.c:622
ncredef
EXTERNL int ncredef(int ncid)
Definition: dv2i.c:560
nc_get_att_float
EXTERNL int nc_get_att_float(int ncid, int varid, const char *name, float *ip)
Definition: dattget.c:450
ncvargetg
EXTERNL int ncvargetg(int ncid, int varid, const long *startp, const long *countp, const long *stridep, const long *imapp, void *ip)
Definition: dv2i.c:1304
ncattcopy
EXTERNL int ncattcopy(int ncid_in, int varid_in, const char *name, int ncid_out, int varid_out)
Definition: dv2i.c:1511
nc_get_varm_ubyte
int nc_get_varm_ubyte(int ncid, int varid, const size_t *startp, const size_t *countp, const ptrdiff_t *stridep, const ptrdiff_t *imapp, unsigned char *ip)
Definition: dvarget.c:1430
nc_get_var1_float
int nc_get_var1_float(int ncid, int varid, const size_t *indexp, float *ip)
Definition: dvarget.c:932
nc_put_var_uint
int nc_put_var_uint(int ncid, int varid, const unsigned int *op)
Definition: dvarput.c:986
nc_put_varm_ubyte
int nc_put_varm_ubyte(int ncid, int varid, const size_t *startp, const size_t *countp, const ptrdiff_t *stridep, const ptrdiff_t *imapp, const unsigned char *op)
Definition: dvarput.c:1322
nc_insert_enum
EXTERNL int nc_insert_enum(int ncid, nc_type xtype, const char *name, const void *value)
Definition: denum.c:71
nc_inq_opaque
EXTERNL int nc_inq_opaque(int ncid, nc_type xtype, char *name, size_t *sizep)
Definition: dopaque.c:61
nc_inq_format
EXTERNL int nc_inq_format(int ncid, int *formatp)
Definition: dfile.c:1538
nc_get_var_int
int nc_get_var_int(int ncid, int varid, int *ip)
Definition: dvarget.c:1063
nc_put_var_schar
int nc_put_var_schar(int ncid, int varid, const signed char *op)
Definition: dvarput.c:932
nc_inq_natts
EXTERNL int nc_inq_natts(int ncid, int *nattsp)
Definition: dattinq.c:299
nc_get_var_schar
int nc_get_var_schar(int ncid, int varid, signed char *ip)
Definition: dvarget.c:1045
nc_inq_grpname
EXTERNL int nc_inq_grpname(int ncid, char *name)
Get the name of a group given an ID.
Definition: dgroup.c:88
nc_inq_var_endian
EXTERNL int nc_inq_var_endian(int ncid, int varid, int *endianp)
Definition: dvarinq.c:552
nc_put_vars_double
int nc_put_vars_double(int ncid, int varid, const size_t *startp, const size_t *countp, const ptrdiff_t *stridep, const double *op)
Definition: dvarput.c:1119
nc_inq_grpname_len
EXTERNL int nc_inq_grpname_len(int ncid, size_t *lenp)
Get the length of a group name given an ID.
Definition: dgroup.c:122
nc_put_var1_schar
int nc_put_var1_schar(int ncid, int varid, const size_t *indexp, const signed char *op)
Definition: dvarput.c:793
nc_put_vars_uchar
int nc_put_vars_uchar(int ncid, int varid, const size_t *startp, const size_t *countp, const ptrdiff_t *stridep, const unsigned char *op)
Definition: dvarput.c:1069
nc_inq_format_extended
EXTERNL int nc_inq_format_extended(int ncid, int *formatp, int *modep)
Definition: dfile.c:1573
nc_inq_ndims
EXTERNL int nc_inq_ndims(int ncid, int *ndimsp)
Find the number of dimensions.
Definition: ddim.c:317
nc_put_varm_double
int nc_put_varm_double(int ncid, int varid, const size_t *startp, const size_t *countp, const ptrdiff_t *stridep, const ptrdiff_t *imapp, const double *op)
Definition: dvarput.c:1312
nc_put_att_text
EXTERNL int nc_put_att_text(int ncid, int varid, const char *name, size_t len, const char *op)
Definition: dattput.c:153
nc_inq_grps
EXTERNL int nc_inq_grps(int ncid, int *numgrps, int *ncids)
Get a list of groups or subgroups from a file or groupID.
Definition: dgroup.c:73
nc_copy_var
EXTERNL int nc_copy_var(int ncid_in, int varid, int ncid_out)
This will copy a variable that is an array of primitive type and its attributes from one file to anot...
Definition: dcopy.c:273
ncdiminq
EXTERNL int ncdiminq(int ncid, int dimid, char *name, long *lenp)
Definition: dv2i.c:788
nc_put_vars_float
int nc_put_vars_float(int ncid, int varid, const size_t *startp, const size_t *countp, const ptrdiff_t *stridep, const float *op)
Definition: dvarput.c:1109
nc_put_att_ubyte
EXTERNL int nc_put_att_ubyte(int ncid, int varid, const char *name, nc_type xtype, size_t len, const unsigned char *op)
Definition: dattput.c:494
nc_get_var_ulonglong
int nc_get_var_ulonglong(int ncid, int varid, unsigned long long *ip)
Definition: dvarget.c:1111
nc_put_vars
EXTERNL int nc_put_vars(int ncid, int varid, const size_t *startp, const size_t *countp, const ptrdiff_t *stridep, const void *op)
Definition: dvarput.c:1043
ncattget
EXTERNL int ncattget(int ncid, int varid, const char *name, void *ip)
Definition: dv2i.c:1479
nc_get_varm_ulonglong
int nc_get_varm_ulonglong(int ncid, int varid, const size_t *startp, const size_t *countp, const ptrdiff_t *stridep, const ptrdiff_t *imapp, unsigned long long *ip)
Definition: dvarget.c:1469
ncdimrename
EXTERNL int ncdimrename(int ncid, int dimid, const char *name)
Definition: dv2i.c:825
ncvarput
EXTERNL int ncvarput(int ncid, int varid, const long *startp, const long *countp, const void *op)
Definition: dv2i.c:1040
nc_get_var_chunk_cache
EXTERNL int nc_get_var_chunk_cache(int ncid, int varid, size_t *sizep, size_t *nelemsp, float *preemptionp)
Get the per-variable chunk cache settings from the HDF5 layer.
Definition: dvar.c:1325
nc_get_var
EXTERNL int nc_get_var(int ncid, int varid, void *ip)
Definition: dvarget.c:1033
nc_get_vara_uint
int nc_get_vara_uint(int ncid, int varid, const size_t *startp, const size_t *countp, unsigned int *ip)
Definition: dvarget.c:824
nc_inq_compound_field
EXTERNL int nc_inq_compound_field(int ncid, nc_type xtype, int fieldid, char *name, size_t *offsetp, nc_type *field_typeidp, int *ndimsp, int *dim_sizesp)
Definition: dcompound.c:287
ncinquire
EXTERNL int ncinquire(int ncid, int *ndimsp, int *nvarsp, int *nattsp, int *unlimdimp)
Definition: dv2i.c:635
nc_put_vars_ubyte
int nc_put_vars_ubyte(int ncid, int varid, const size_t *startp, const size_t *countp, const ptrdiff_t *stridep, const unsigned char *op)
Definition: dvarput.c:1129
nc_get_vara_ulonglong
int nc_get_vara_ulonglong(int ncid, int varid, const size_t *startp, const size_t *countp, unsigned long long *ip)
Definition: dvarget.c:838
nc_inq
EXTERNL int nc_inq(int ncid, int *ndimsp, int *nvarsp, int *nattsp, int *unlimdimidp)
Definition: dfile.c:1626
nc_put_vara
EXTERNL int nc_put_vara(int ncid, int varid, const size_t *startp, const size_t *countp, const void *op)
Definition: dvarput.c:631
nc_def_var_deflate
EXTERNL int nc_def_var_deflate(int ncid, int varid, int shuffle, int deflate, int deflate_level)
Set the zlib compression and shuffle settings for a variable in an netCDF/HDF5 file.
Definition: dvar.c:456
nc_get_var1_text
int nc_get_var1_text(int ncid, int varid, const size_t *indexp, char *ip)
Definition: dvarget.c:895
nc__open
EXTERNL int nc__open(const char *path, int mode, size_t *chunksizehintp, int *ncidp)
Definition: dfile.c:712
nc_put_varm_int
int nc_put_varm_int(int ncid, int varid, const size_t *startp, const size_t *countp, const ptrdiff_t *stridep, const ptrdiff_t *imapp, const int *op)
Definition: dvarput.c:1282
nc_get_var_text
int nc_get_var_text(int ncid, int varid, char *ip)
Definition: dvarget.c:1039
ncvarget1
EXTERNL int ncvarget1(int ncid, int varid, const long *indexp, void *ip)
Definition: dv2i.c:1002
nc_del_att
EXTERNL int nc_del_att(int ncid, int varid, const char *name)
Delete an attribute.
Definition: datt.c:177
nc_inq_dim
EXTERNL int nc_inq_dim(int ncid, int dimid, char *name, size_t *lenp)
Find the name and length of a dimension.
Definition: ddim.c:216
nc_inq_dimlen
EXTERNL int nc_inq_dimlen(int ncid, int dimid, size_t *lenp)
Find the length of a dimension.
Definition: ddim.c:467
nccreate
EXTERNL int nccreate(const char *path, int cmode)
Definition: dv2i.c:511
nc_get_var_double
int nc_get_var_double(int ncid, int varid, double *ip)
Definition: dvarget.c:1081
nc_put_vara_string
int nc_put_vara_string(int ncid, int varid, const size_t *startp, const size_t *countp, const char **op)
Definition: dvarput.c:748
nc_put_var_ulonglong
int nc_put_var_ulonglong(int ncid, int varid, const unsigned long long *op)
Definition: dvarput.c:998
nc_put_var1
EXTERNL int nc_put_var1(int ncid, int varid, const size_t *indexp, const void *op)
Definition: dvarput.c:781
nc_get_vars_longlong
int nc_get_vars_longlong(int ncid, int varid, const size_t *startp, const size_t *countp, const ptrdiff_t *stridep, long long *ip)
Definition: dvarget.c:1273
nc_rename_var
EXTERNL int nc_rename_var(int ncid, int varid, const char *name)
Rename a variable.
Definition: dvar.c:839
nc_put_varm_text
int nc_put_varm_text(int ncid, int varid, const size_t *startp, const size_t *countp, const ptrdiff_t *stridep, const ptrdiff_t *imapp, const char *op)
Definition: dvarput.c:1243
ncsync
EXTERNL int ncsync(int ncid)
Definition: dv2i.c:677
nc_get_varm
EXTERNL int nc_get_varm(int ncid, int varid, const size_t *startp, const size_t *countp, const ptrdiff_t *stridep, const ptrdiff_t *imapp, void *ip)
Definition: dvarget.c:1359
nc_put_att_uchar
EXTERNL int nc_put_att_uchar(int ncid, int varid, const char *name, nc_type xtype, size_t len, const unsigned char *op)
Definition: dattput.c:290
ncattrename
EXTERNL int ncattrename(int ncid, int varid, const char *name, const char *newname)
Definition: dv2i.c:1574
nc_vlen_t::p
void * p
Pointer to VL data.
Definition: netcdf.h:705
nc_inq_grpname_full
EXTERNL int nc_inq_grpname_full(int ncid, size_t *lenp, char *full_name)
Get the full path/groupname of a group/subgroup given an ID.
Definition: dgroup.c:106
nc_get_att_uchar
EXTERNL int nc_get_att_uchar(int ncid, int varid, const char *name, unsigned char *ip)
Definition: dattget.c:318
nc_inq_typeids
EXTERNL int nc_inq_typeids(int ncid, int *ntypes, int *typeids)
Retrieve a list of types associated with a group.
Definition: dgroup.c:223
nc_get_var_ubyte
int nc_get_var_ubyte(int ncid, int varid, unsigned char *ip)
Definition: dvarget.c:1087
nc_get_att_long
EXTERNL int nc_get_att_long(int ncid, int varid, const char *name, long *ip)
Definition: dattget.c:417
nc_put_var_longlong
int nc_put_var_longlong(int ncid, int varid, const long long *op)
Definition: dvarput.c:992
nc_free_vlens
EXTERNL int nc_free_vlens(size_t len, nc_vlen_t vlens[])
Definition: dvlen.c:72
nc_get_varm_float
int nc_get_varm_float(int ncid, int varid, const size_t *startp, const size_t *countp, const ptrdiff_t *stridep, const ptrdiff_t *imapp, float *ip)
Definition: dvarget.c:1412
nc_get_varm_text
int nc_get_varm_text(int ncid, int varid, const size_t *startp, const size_t *countp, const ptrdiff_t *stridep, const ptrdiff_t *imapp, char *ip)
Definition: dvarget.c:1479
ncendef
EXTERNL int ncendef(int ncid)
Definition: dv2i.c:583
nc_get_vara_float
int nc_get_vara_float(int ncid, int varid, const size_t *startp, const size_t *countp, float *ip)
Definition: dvarget.c:796
nc_put_varm_longlong
int nc_put_varm_longlong(int ncid, int varid, const size_t *startp, const size_t *countp, const ptrdiff_t *stridep, const ptrdiff_t *imapp, const long long *op)
Definition: dvarput.c:1352
nc_get_var_short
int nc_get_var_short(int ncid, int varid, short *ip)
Definition: dvarget.c:1057
nc_put_varm
EXTERNL int nc_put_varm(int ncid, int varid, const size_t *startp, const size_t *countp, const ptrdiff_t *stridep, const ptrdiff_t *imapp, const void *op)
Definition: dvarput.c:1235
nc_put_vars_short
int nc_put_vars_short(int ncid, int varid, const size_t *startp, const size_t *countp, const ptrdiff_t *stridep, const short *op)
Definition: dvarput.c:1079
nc_put_var1_long
int nc_put_var1_long(int ncid, int varid, const size_t *indexp, const long *op)
Definition: dvarput.c:817
nc_put_var
EXTERNL int nc_put_var(int ncid, int varid, const void *op)
Definition: dvarput.c:920
nc_put_var_ushort
int nc_put_var_ushort(int ncid, int varid, const unsigned short *op)
Definition: dvarput.c:980
nc_put_att_ushort
EXTERNL int nc_put_att_ushort(int ncid, int varid, const char *name, nc_type xtype, size_t len, const unsigned short *op)
Definition: dattput.c:528
nc_inq_var_deflate
EXTERNL int nc_inq_var_deflate(int ncid, int varid, int *shufflep, int *deflatep, int *deflate_levelp)
Definition: dvarinq.c:295
nc_get_vars_float
int nc_get_vars_float(int ncid, int varid, const size_t *startp, const size_t *countp, const ptrdiff_t *stridep, float *ip)
Definition: dvarget.c:1228
ncvarputs
EXTERNL int ncvarputs(int ncid, int varid, const long *startp, const long *countp, const long *stridep, const void *op)
Definition: dv2i.c:1125
nc_inq_grp_parent
EXTERNL int nc_inq_grp_parent(int ncid, int *parent_ncid)
Get the ID of the parent based on a group ID.
Definition: dgroup.c:136
ncvarputg
EXTERNL int ncvarputg(int ncid, int varid, const long *startp, const long *countp, const long *stridep, const long *imapp, const void *op)
Definition: dv2i.c:1231
nc_close
EXTERNL int nc_close(int ncid)
Definition: dfile.c:1291
nc_get_var1_ushort
int nc_get_var1_ushort(int ncid, int varid, const size_t *indexp, unsigned short *ip)
Definition: dvarget.c:953
nc_put_varm_short
int nc_put_varm_short(int ncid, int varid, const size_t *startp, const size_t *countp, const ptrdiff_t *stridep, const ptrdiff_t *imapp, const short *op)
Definition: dvarput.c:1272
nc_put_vara_text
int nc_put_vara_text(int ncid, int varid, const size_t *startp, const size_t *countp, const char *op)
Definition: dvarput.c:644
nc_put_vara_longlong
int nc_put_vara_longlong(int ncid, int varid, const size_t *startp, const size_t *countp, const long long *op)
Definition: dvarput.c:732
nc_inq_compound_fielddim_sizes
EXTERNL int nc_inq_compound_fielddim_sizes(int ncid, nc_type xtype, int fieldid, int *dim_sizes)
Definition: dcompound.c:443
ncattput
EXTERNL int ncattput(int ncid, int varid, const char *name, nc_type xtype, int len, const void *op)
Definition: dv2i.c:1405
nc_get_varm_schar
int nc_get_varm_schar(int ncid, int varid, const size_t *startp, const size_t *countp, const ptrdiff_t *stridep, const ptrdiff_t *imapp, signed char *ip)
Definition: dvarget.c:1367
nc_inq_dimid
EXTERNL int nc_inq_dimid(int ncid, const char *name, int *idp)
Find the ID of a dimension from the name.
Definition: ddim.c:152
nc_get_vars_ushort
int nc_get_vars_ushort(int ncid, int varid, const size_t *startp, const size_t *countp, const ptrdiff_t *stridep, unsigned short *ip)
Definition: dvarget.c:1255
nc_inq_compound_size
EXTERNL int nc_inq_compound_size(int ncid, nc_type xtype, size_t *sizep)
Definition: dcompound.c:226
nc_inq_var_fletcher32
EXTERNL int nc_inq_var_fletcher32(int ncid, int varid, int *fletcher32p)
Definition: dvarinq.c:378
nc_def_var_endian
EXTERNL int nc_def_var_endian(int ncid, int varid, int endian)
Define endianness of a variable.
Definition: dvar.c:700
nc_get_var_float
int nc_get_var_float(int ncid, int varid, float *ip)
Definition: dvarget.c:1075
nc_put_att_short
EXTERNL int nc_put_att_short(int ncid, int varid, const char *name, nc_type xtype, size_t len, const short *op)
Definition: dattput.c:324
nc_put_vara_ulonglong
int nc_put_vara_ulonglong(int ncid, int varid, const size_t *startp, const size_t *countp, const unsigned long long *op)
Definition: dvarput.c:740
nc_inq_att
EXTERNL int nc_inq_att(int ncid, int varid, const char *name, nc_type *xtypep, size_t *lenp)
Definition: dattinq.c:85
nc_get_vara_schar
int nc_get_vara_schar(int ncid, int varid, const size_t *startp, const size_t *countp, signed char *ip)
Definition: dvarget.c:761
nc_put_varm_ulonglong
int nc_put_varm_ulonglong(int ncid, int varid, const size_t *startp, const size_t *countp, const ptrdiff_t *stridep, const ptrdiff_t *imapp, const unsigned long long *op)
Definition: dvarput.c:1362
nc_get_varm_uint
int nc_get_varm_uint(int ncid, int varid, const size_t *startp, const size_t *countp, const ptrdiff_t *stridep, const ptrdiff_t *imapp, unsigned int *ip)
Definition: dvarget.c:1450
nc_def_enum
EXTERNL int nc_def_enum(int ncid, nc_type base_typeid, const char *name, nc_type *typeidp)
Definition: denum.c:43
nc_put_var1_ulonglong
int nc_put_var1_ulonglong(int ncid, int varid, const size_t *indexp, const unsigned long long *op)
Definition: dvarput.c:859
ncabort
EXTERNL int ncabort(int ncid)
Definition: dv2i.c:700
nc_inq_ncid
EXTERNL int nc_inq_ncid(int ncid, const char *name, int *grp_ncid)
Return the group ID for a group given the name.
Definition: dgroup.c:56
nc_inq_unlimdim
EXTERNL int nc_inq_unlimdim(int ncid, int *unlimdimidp)
Find the ID of the unlimited dimension.
Definition: ddim.c:350
nc_inq_unlimdims
EXTERNL int nc_inq_unlimdims(int ncid, int *nunlimdimsp, int *unlimdimidsp)
Return number and list of unlimited dimensions.
Definition: dvarinq.c:642
nc_get_vars_long
int nc_get_vars_long(int ncid, int varid, const size_t *startp, const size_t *countp, const ptrdiff_t *stridep, long *ip)
Definition: dvarget.c:1219
nc_inq_varid
EXTERNL int nc_inq_varid(int ncid, const char *name, int *varidp)
Definition: dvarinq.c:60
nc_put_var1_uint
int nc_put_var1_uint(int ncid, int varid, const size_t *indexp, const unsigned int *op)
Definition: dvarput.c:847
nc_get_vars_uchar
int nc_get_vars_uchar(int ncid, int varid, const size_t *startp, const size_t *countp, const ptrdiff_t *stridep, unsigned char *ip)
Definition: dvarget.c:1192
nc_abort
EXTERNL int nc_abort(int ncid)
Definition: dfile.c:1238
nc_put_varm_schar
int nc_put_varm_schar(int ncid, int varid, const size_t *startp, const size_t *countp, const ptrdiff_t *stridep, const ptrdiff_t *imapp, const signed char *op)
Definition: dvarput.c:1252
nc_get_varm_uchar
int nc_get_varm_uchar(int ncid, int varid, const size_t *startp, const size_t *countp, const ptrdiff_t *stridep, const ptrdiff_t *imapp, unsigned char *ip)
Definition: dvarget.c:1377
nc_inq_type
EXTERNL int nc_inq_type(int ncid, nc_type xtype, char *name, size_t *size)
Definition: dfile.c:1719
nc_inq_compound_fieldndims
EXTERNL int nc_inq_compound_fieldndims(int ncid, nc_type xtype, int fieldid, int *ndimsp)
Definition: dcompound.c:413
nc_get_vara_ubyte
int nc_get_vara_ubyte(int ncid, int varid, const size_t *startp, const size_t *countp, unsigned char *ip)
Definition: dvarget.c:810
ncsetfill
EXTERNL int ncsetfill(int ncid, int fillmode)
Definition: dv2i.c:1636
nc_put_att_ulonglong
EXTERNL int nc_put_att_ulonglong(int ncid, int varid, const char *name, nc_type xtype, size_t len, const unsigned long long *op)
Definition: dattput.c:631
nc_inq_var_szip
EXTERNL int nc_inq_var_szip(int ncid, int varid, int *options_maskp, int *pixels_per_blockp)
Definition: dvarinq.c:702
nc_put_vara_long
int nc_put_vara_long(int ncid, int varid, const size_t *startp, const size_t *countp, const long *op)
Definition: dvarput.c:684
nc_get_vara_text
int nc_get_vara_text(int ncid, int varid, const size_t *startp, const size_t *countp, char *ip)
Definition: dvarget.c:754
nc_get_att_short
EXTERNL int nc_get_att_short(int ncid, int varid, const char *name, short *ip)
Definition: dattget.c:351
nc_put_var1_text
int nc_put_var1_text(int ncid, int varid, const size_t *indexp, const char *op)
Definition: dvarput.c:787
nc_copy_att
EXTERNL int nc_copy_att(int ncid_in, int varid_in, const char *name, int ncid_out, int varid_out)
Copy an attribute from one open file to another.
Definition: dcopy.c:628
nc_get_vars_string
int nc_get_vars_string(int ncid, int varid, const size_t *startp, const size_t *countp, const ptrdiff_t *stridep, char **ip)
Definition: dvarget.c:1291
nc_get_varm_ushort
int nc_get_varm_ushort(int ncid, int varid, const size_t *startp, const size_t *countp, const ptrdiff_t *stridep, const ptrdiff_t *imapp, unsigned short *ip)
Definition: dvarget.c:1440
nc_get_var_longlong
int nc_get_var_longlong(int ncid, int varid, long long *ip)
Definition: dvarget.c:1105
nc_get_att_text
EXTERNL int nc_get_att_text(int ncid, int varid, const char *name, char *ip)
Definition: dattget.c:185
ncrecput
EXTERNL int ncrecput(int ncid, long recnum, void *const *datap)
Definition: dv2i.c:1754
nc_set_fill
EXTERNL int nc_set_fill(int ncid, int fillmode, int *old_modep)
Definition: dfile.c:1465
nc_get_var1_uchar
int nc_get_var1_uchar(int ncid, int varid, const size_t *indexp, unsigned char *ip)
Definition: dvarget.c:907
nc_get_var_ushort
int nc_get_var_ushort(int ncid, int varid, unsigned short *ip)
Definition: dvarget.c:1093
nc_get_vara_int
int nc_get_vara_int(int ncid, int varid, const size_t *startp, const size_t *countp, int *ip)
Definition: dvarget.c:782
nc_get_att_schar
EXTERNL int nc_get_att_schar(int ncid, int varid, const char *name, signed char *ip)
Definition: dattget.c:218
nc_vlen_t::len
size_t len
Length of VL data (in base type units)
Definition: netcdf.h:704
nc_open
EXTERNL int nc_open(const char *path, int mode, int *ncidp)
Open an existing netCDF file.
Definition: dfile.c:655
nc_put_var1_ubyte
int nc_put_var1_ubyte(int ncid, int varid, const size_t *indexp, const unsigned char *op)
Definition: dvarput.c:835
nc_get_att_uint
EXTERNL int nc_get_att_uint(int ncid, int varid, const char *name, unsigned int *ip)
Definition: dattget.c:582
nc_put_var_float
int nc_put_var_float(int ncid, int varid, const float *op)
Definition: dvarput.c:962
nc_def_var_fletcher32
EXTERNL int nc_def_var_fletcher32(int ncid, int varid, int fletcher32)
Set checksum for a var.
Definition: dvar.c:502
nc_get_vara_long
int nc_get_vara_long(int ncid, int varid, const size_t *startp, const size_t *countp, long *ip)
Definition: dvarget.c:789
nc_put_att
EXTERNL int nc_put_att(int ncid, int varid, const char *name, nc_type xtype, size_t len, const void *op)
Definition: dattput.c:222
ncvarget
EXTERNL int ncvarget(int ncid, int varid, const long *startp, const long *countp, void *ip)
Definition: dv2i.c:1082
nc_type
int nc_type
The nc_type type is just an int.
Definition: netcdf.h:25
nc_inq_vartype
EXTERNL int nc_inq_vartype(int ncid, int varid, nc_type *xtypep)
Learn the type of a variable.
Definition: dvarinq.c:178
nc_put_var_double
int nc_put_var_double(int ncid, int varid, const double *op)
Definition: dvarput.c:968
nc_put_varm_uint
int nc_put_varm_uint(int ncid, int varid, const size_t *startp, const size_t *countp, const ptrdiff_t *stridep, const ptrdiff_t *imapp, const unsigned int *op)
Definition: dvarput.c:1342
nc_rename_grp
EXTERNL int nc_rename_grp(int grpid, const char *name)
Rename a group.
Definition: dgroup.c:284
nc_get_var1_ulonglong
int nc_get_var1_ulonglong(int ncid, int varid, const size_t *indexp, unsigned long long *ip)
Definition: dvarget.c:974
nc_inq_compound_fieldoffset
EXTERNL int nc_inq_compound_fieldoffset(int ncid, nc_type xtype, int fieldid, size_t *offsetp)
Definition: dcompound.c:353
nc_get_var1_ubyte
int nc_get_var1_ubyte(int ncid, int varid, const size_t *indexp, unsigned char *ip)
Definition: dvarget.c:946
nc_get_var1
EXTERNL int nc_get_var1(int ncid, int varid, const size_t *indexp, void *ip)
Definition: dvarget.c:889
nc_get_var1_uint
int nc_get_var1_uint(int ncid, int varid, const size_t *indexp, unsigned int *ip)
Definition: dvarget.c:960
nc_def_var_fill
EXTERNL int nc_def_var_fill(int ncid, int varid, int no_fill, const void *fill_value)
Set the fill value for a variable.
Definition: dvar.c:304
nc_put_att_float
EXTERNL int nc_put_att_float(int ncid, int varid, const char *name, nc_type xtype, size_t len, const float *op)
Definition: dattput.c:426
nc_get_vara_longlong
int nc_get_vara_longlong(int ncid, int varid, const size_t *startp, const size_t *countp, long long *ip)
Definition: dvarget.c:831
ncvarput1
EXTERNL int ncvarput1(int ncid, int varid, const long *indexp, const void *op)
Definition: dv2i.c:965
nc_get_var_string
int nc_get_var_string(int ncid, int varid, char **ip)
Definition: dvarget.c:1117
nc_put_var_short
int nc_put_var_short(int ncid, int varid, const short *op)
Definition: dvarput.c:944
nc_inq_var_fill
EXTERNL int nc_inq_var_fill(int ncid, int varid, int *no_fill, void *fill_valuep)
Definition: dvarinq.c:502
nc_put_var1_int
int nc_put_var1_int(int ncid, int varid, const size_t *indexp, const int *op)
Definition: dvarput.c:811
nc_def_grp
EXTERNL int nc_def_grp(int parent_ncid, const char *name, int *new_ncid)
Define a new group.
Definition: dgroup.c:268
nc_put_vars_schar
int nc_put_vars_schar(int ncid, int varid, const size_t *startp, const size_t *countp, const ptrdiff_t *stridep, const signed char *op)
Definition: dvarput.c:1060
ncopts
EXTERNL int ncopts
V2 API error handling.
Definition: netcdf.h:1853
nc_free_vlen
EXTERNL int nc_free_vlen(nc_vlen_t *vl)
Definition: dvlen.c:41
nc__create
EXTERNL int nc__create(const char *path, int cmode, size_t initialsz, size_t *chunksizehintp, int *ncidp)
Create a netCDF file with some extra parameters controlling classic file caching.
Definition: dfile.c:461
nc_put_vara_int
int nc_put_vara_int(int ncid, int varid, const size_t *startp, const size_t *countp, const int *op)
Definition: dvarput.c:676
nc_get_vars_short
int nc_get_vars_short(int ncid, int varid, const size_t *startp, const size_t *countp, const ptrdiff_t *stridep, short *ip)
Definition: dvarget.c:1201
nc_get_vara_short
int nc_get_vara_short(int ncid, int varid, const size_t *startp, const size_t *countp, short *ip)
Definition: dvarget.c:775
nc_inq_user_format
EXTERNL int nc_inq_user_format(int mode_flag, NC_Dispatch **dispatch_table, char *magic_number)
Inquire about user-defined format.
Definition: dfile.c:170
nc_get_att_ushort
EXTERNL int nc_get_att_ushort(int ncid, int varid, const char *name, unsigned short *ip)
Definition: dattget.c:549
nc_get_vara
EXTERNL int nc_get_vara(int ncid, int varid, const size_t *startp, const size_t *countp, void *ip)
Definition: dvarget.c:741
nc_get_vars_ulonglong
int nc_get_vars_ulonglong(int ncid, int varid, const size_t *startp, const size_t *countp, const ptrdiff_t *stridep, unsigned long long *ip)
Definition: dvarget.c:1282
nc_put_att_uint
EXTERNL int nc_put_att_uint(int ncid, int varid, const char *name, nc_type xtype, size_t len, const unsigned int *op)
Definition: dattput.c:562
nc_put_var_text
int nc_put_var_text(int ncid, int varid, const char *op)
Definition: dvarput.c:926
nc_put_att_double
EXTERNL int nc_put_att_double(int ncid, int varid, const char *name, nc_type xtype, size_t len, const double *op)
Definition: dattput.c:460
nc_set_var_chunk_cache
EXTERNL int nc_set_var_chunk_cache(int ncid, int varid, size_t size, size_t nelems, float preemption)
Change the cache settings for a chunked variable.
Definition: dvar.c:1284
nc_put_vara_ushort
int nc_put_vara_ushort(int ncid, int varid, const size_t *startp, const size_t *countp, const unsigned short *op)
Definition: dvarput.c:716
ncattinq
EXTERNL int ncattinq(int ncid, int varid, const char *name, nc_type *xtypep, int *lenp)
Definition: dv2i.c:1440
nc_inq_path
EXTERNL int nc_inq_path(int ncid, size_t *pathlen, char *path)
Definition: dfile.c:889
nc_inq_type_equal
EXTERNL int nc_inq_type_equal(int ncid1, nc_type typeid1, int ncid2, nc_type typeid2, int *equal)
Definition: dtype.c:69
nc_get_varm_short
int nc_get_varm_short(int ncid, int varid, const size_t *startp, const size_t *countp, const ptrdiff_t *stridep, const ptrdiff_t *imapp, short *ip)
Definition: dvarget.c:1386
nc_strerror
EXTERNL const char * nc_strerror(int ncerr)
Given an error number, return an error message.
Definition: derror.c:87
nc_inq_nvars
EXTERNL int nc_inq_nvars(int ncid, int *nvarsp)
Learn the number of variables in a file or group.
Definition: dfile.c:1645
nc_inq_typeid
EXTERNL int nc_inq_typeid(int ncid, const char *name, nc_type *typeidp)
Definition: dtype.c:102
nc_get_att_longlong
EXTERNL int nc_get_att_longlong(int ncid, int varid, const char *name, long long *ip)
Definition: dattget.c:615
nc_get_var1_string
int nc_get_var1_string(int ncid, int varid, const size_t *indexp, char **ip)
Definition: dvarget.c:981
nc_get_varm_longlong
int nc_get_varm_longlong(int ncid, int varid, const size_t *startp, const size_t *countp, const ptrdiff_t *stridep, const ptrdiff_t *imapp, long long *ip)
Definition: dvarget.c:1460
nc_put_att_string
EXTERNL int nc_put_att_string(int ncid, int varid, const char *name, size_t len, const char **op)
Definition: dattput.c:75
nc_inq_libvers
EXTERNL const char * nc_inq_libvers(void)
Return the library version.
Definition: derror.c:27
nc_put_vars_uint
int nc_put_vars_uint(int ncid, int varid, const size_t *startp, const size_t *countp, const ptrdiff_t *stridep, const unsigned int *op)
Definition: dvarput.c:1149
ncerr
int ncerr
V2 API error code.
Definition: dv2i.c:37
nc_put_varm_ushort
int nc_put_varm_ushort(int ncid, int varid, const size_t *startp, const size_t *countp, const ptrdiff_t *stridep, const ptrdiff_t *imapp, const unsigned short *op)
Definition: dvarput.c:1332
nc_put_var1_longlong
int nc_put_var1_longlong(int ncid, int varid, const size_t *indexp, const long long *op)
Definition: dvarput.c:853
nc_inq_attname
EXTERNL int nc_inq_attname(int ncid, int varid, int attnum, char *name)
Definition: dattinq.c:254
nc_inq_compound_fieldname
EXTERNL int nc_inq_compound_fieldname(int ncid, nc_type xtype, int fieldid, char *name)
Definition: dcompound.c:321
nc_put_varm_long
int nc_put_varm_long(int ncid, int varid, const size_t *startp, const size_t *countp, const ptrdiff_t *stridep, const ptrdiff_t *imapp, const long *op)
Definition: dvarput.c:1292
nc_enddef
EXTERNL int nc_enddef(int ncid)
Definition: dfile.c:1018
nc_get_vars_int
int nc_get_vars_int(int ncid, int varid, const size_t *startp, const size_t *countp, const ptrdiff_t *stridep, int *ip)
Definition: dvarget.c:1210
ncvarinq
EXTERNL int ncvarinq(int ncid, int varid, char *name, nc_type *xtypep, int *ndimsp, int *dimidsp, int *nattsp)
Definition: dv2i.c:920
nc_get_att_int
EXTERNL int nc_get_att_int(int ncid, int varid, const char *name, int *ip)
Definition: dattget.c:384
nc_put_varm_uchar
int nc_put_varm_uchar(int ncid, int varid, const size_t *startp, const size_t *countp, const ptrdiff_t *stridep, const ptrdiff_t *imapp, const unsigned char *op)
Definition: dvarput.c:1262
nc_advise
EXTERNL void nc_advise(const char *cdf_routine_name, int err, const char *fmt,...)
Definition: dv2i.c:466
nc_get_vars
EXTERNL int nc_get_vars(int ncid, int varid, const size_t *startp, const size_t *countp, const ptrdiff_t *stridep, void *ip)
Definition: dvarget.c:1165
nc_get_varm_long
int nc_get_varm_long(int ncid, int varid, const size_t *startp, const size_t *countp, const ptrdiff_t *stridep, const ptrdiff_t *imapp, long *ip)
Definition: dvarget.c:1403
nc_put_var_uchar
int nc_put_var_uchar(int ncid, int varid, const unsigned char *op)
Definition: dvarput.c:938
ncattname
EXTERNL int ncattname(int ncid, int varid, int attnum, char *name)
Definition: dv2i.c:1543
nc_put_vara_double
int nc_put_vara_double(int ncid, int varid, const size_t *startp, const size_t *countp, const double *op)
Definition: dvarput.c:700
nc_put_vars_longlong
int nc_put_vars_longlong(int ncid, int varid, const size_t *startp, const size_t *countp, const ptrdiff_t *stridep, const long long *op)
Definition: dvarput.c:1159
nc_get_vars_uint
int nc_get_vars_uint(int ncid, int varid, const size_t *startp, const size_t *countp, const ptrdiff_t *stridep, unsigned int *ip)
Definition: dvarget.c:1264
nc_rename_att
EXTERNL int nc_rename_att(int ncid, int varid, const char *name, const char *newname)
Rename an attribute.
Definition: datt.c:113
nc_put_vars_int
int nc_put_vars_int(int ncid, int varid, const size_t *startp, const size_t *countp, const ptrdiff_t *stridep, const int *op)
Definition: dvarput.c:1089
nc_create
EXTERNL int nc_create(const char *path, int cmode, int *ncidp)
Definition: dfile.c:389
nc_get_var_uchar
int nc_get_var_uchar(int ncid, int varid, unsigned char *ip)
Definition: dvarget.c:1051
nc_inq_compound_name
EXTERNL int nc_inq_compound_name(int ncid, nc_type xtype, char *name)
Definition: dcompound.c:203
nc_inq_compound_fieldindex
EXTERNL int nc_inq_compound_fieldindex(int ncid, nc_type xtype, const char *name, int *fieldidp)
Definition: dcompound.c:475
nc_put_var1_ushort
int nc_put_var1_ushort(int ncid, int varid, const size_t *indexp, const unsigned short *op)
Definition: dvarput.c:841
nc_inq_var_chunking
EXTERNL int nc_inq_var_chunking(int ncid, int varid, int *storagep, size_t *chunksizesp)
Definition: dvarinq.c:466
ncvarrename
EXTERNL int ncvarrename(int ncid, int varid, const char *name)
Definition: dv2i.c:1373
nc_sync
EXTERNL int nc_sync(int ncid)
Definition: dfile.c:1186
nc_show_metadata
EXTERNL int nc_show_metadata(int ncid)
Print the metadata for a file.
Definition: dgroup.c:299
nc_rename_dim
EXTERNL int nc_rename_dim(int ncid, int dimid, const char *name)
Rename a dimension.
Definition: ddim.c:285
nc_get_var1_schar
int nc_get_var1_schar(int ncid, int varid, const size_t *indexp, signed char *ip)
Definition: dvarget.c:901
nc_put_att_longlong
EXTERNL int nc_put_att_longlong(int ncid, int varid, const char *name, nc_type xtype, size_t len, const long long *op)
Definition: dattput.c:596
nc_get_var1_int
int nc_get_var1_int(int ncid, int varid, const size_t *indexp, int *ip)
Definition: dvarget.c:919
nc_inq_grp_ncid
EXTERNL int nc_inq_grp_ncid(int ncid, const char *grp_name, int *grp_ncid)
Get a group ncid given the group name.
Definition: dgroup.c:155
ncopen
EXTERNL int ncopen(const char *path, int mode)
Definition: dv2i.c:536
nc_inq_vlen
EXTERNL int nc_inq_vlen(int ncid, nc_type xtype, char *name, size_t *datum_sizep, nc_type *base_nc_typep)
Definition: dvlen.c:138
nc_inq_var
EXTERNL int nc_inq_var(int ncid, int varid, char *name, nc_type *xtypep, int *ndimsp, int *dimidsp, int *nattsp)
Definition: dvarinq.c:124
nc_inq_compound_fieldtype
EXTERNL int nc_inq_compound_fieldtype(int ncid, nc_type xtype, int fieldid, nc_type *field_typeidp)
Definition: dcompound.c:383
nc_put_vara_float
int nc_put_vara_float(int ncid, int varid, const size_t *startp, const size_t *countp, const float *op)
Definition: dvarput.c:692
nc_put_varm_float
int nc_put_varm_float(int ncid, int varid, const size_t *startp, const size_t *countp, const ptrdiff_t *stridep, const ptrdiff_t *imapp, const float *op)
Definition: dvarput.c:1302
nc_free_string
EXTERNL int nc_free_string(size_t len, char **data)
Free string space allocated by the library.
Definition: dvar.c:1206
nc_get_att_double
EXTERNL int nc_get_att_double(int ncid, int varid, const char *name, double *ip)
Definition: dattget.c:483
nc_get_varm_double
int nc_get_varm_double(int ncid, int varid, const size_t *startp, const size_t *countp, const ptrdiff_t *stridep, const ptrdiff_t *imapp, double *ip)
Definition: dvarget.c:1421
nc_get_var1_short
int nc_get_var1_short(int ncid, int varid, const size_t *indexp, short *ip)
Definition: dvarget.c:913
nc_get_att
EXTERNL int nc_get_att(int ncid, int varid, const char *name, void *ip)
Definition: dattget.c:96
nc_get_var1_long
int nc_get_var1_long(int ncid, int varid, const size_t *indexp, long *ip)
Definition: dvarget.c:925
nc_inq_enum_member
EXTERNL int nc_inq_enum_member(int ncid, nc_type xtype, int idx, char *name, void *value)
Definition: denum.c:140
ncrecget
EXTERNL int ncrecget(int ncid, long recnum, void **datap)
Definition: dv2i.c:1723
nc_inq_compound
EXTERNL int nc_inq_compound(int ncid, nc_type xtype, char *name, size_t *sizep, size_t *nfieldsp)
Definition: dcompound.c:175
nc_inq_vardimid
EXTERNL int nc_inq_vardimid(int ncid, int varid, int *dimidsp)
Learn the dimension IDs associated with a variable.
Definition: dvarinq.c:225
nc_inq_dimname
EXTERNL int nc_inq_dimname(int ncid, int dimid, char *name)
Find out the name of a dimension.
Definition: ddim.c:409
ncdimdef
EXTERNL int ncdimdef(int ncid, const char *name, long len)
Definition: dv2i.c:726