MISR Toolkit
1.5.1
|
Go to the source code of this file.
Macros | |
#define | ncvoid void |
#define | USE_ENUM |
#define | NC_OLD_FILLVALUES 0 |
#define | FILL_BYTE ((char)-127) /* Largest Negative value */ |
#define | FILL_CHAR ((char)0) |
#define | FILL_SHORT ((short)-32767) |
#define | FILL_LONG ((long)-2147483647) |
#define | FILL_FLOAT 9.9692099683868690e+36 /* near 15 * 2^119 */ |
#define | FILL_DOUBLE 9.9692099683868690e+36 |
#define | NC_RDWR 1 /* read/write, 0 => readonly */ |
#define | NC_CREAT 2 /* in create phase, cleared by ncendef */ |
#define | NC_EXCL 4 /* on create, don't destroy existing file */ |
#define | NC_INDEF 8 /* in define mode, cleared by ncendef */ |
#define | NC_NSYNC 0x10 /* synchronise numrecs on change */ |
#define | NC_HSYNC 0x20 /* synchronise whole header on change */ |
#define | NC_NDIRTY 0x40 /* numrecs has changed */ |
#define | NC_HDIRTY 0x80 /* header info has changed */ |
#define | NC_NOFILL 0x100 /* Don't fill vars on endef and increase of record */ |
#define | NC_LINK 0x8000 /* isa link */ |
#define | NC_FILL 0 /* argument to ncsetfill to clear NC_NOFILL */ |
#define | NC_NOWRITE 0 |
#define | NC_WRITE NC_RDWR |
#define | NC_CLOBBER (NC_INDEF | NC_CREAT | NC_RDWR) |
#define | NC_NOCLOBBER (NC_INDEF | NC_EXCL | NC_CREAT | NC_RDWR) |
#define | NC_UNLIMITED 0L |
#define | NC_GLOBAL -1 |
#define | MAX_NC_OPEN 32 |
#define | MAX_NC_DIMS 5000 /* max dimensions per file */ |
#define | MAX_NC_ATTRS 3000 /* max global or per variable attributes */ |
#define | MAX_NC_VARS 5000 /* max variables per file */ |
#define | MAX_NC_NAME 256 /* max length of a name */ |
#define | MAX_VAR_DIMS 32 /* max per variable dimensions */ |
#define | _FillValue "_FillValue" |
#define | NC_NOERR 0 /* No Error */ |
#define | NC_EBADID 1 /* Not a netcdf id */ |
#define | NC_ENFILE 2 /* Too many netcdfs open */ |
#define | NC_EEXIST 3 /* netcdf file exists && NC_NOCLOBBER */ |
#define | NC_EINVAL 4 /* Invalid Argument */ |
#define | NC_EPERM 5 /* Write to read only */ |
#define | NC_ENOTINDEFINE 6 /* Operation not allowed in data mode */ |
#define | NC_EINDEFINE 7 /* Operation not allowed in define mode */ |
#define | NC_EINVALCOORDS 8 /* Coordinates out of Domain */ |
#define | NC_EMAXDIMS 9 /* MAX_NC_DIMS exceeded */ |
#define | NC_ENAMEINUSE 10 /* String match to name in use */ |
#define | NC_ENOTATT 11 /* Attribute not found */ |
#define | NC_EMAXATTS 12 /* MAX_NC_ATTRS exceeded */ |
#define | NC_EBADTYPE 13 /* Not a netcdf data type */ |
#define | NC_EBADDIM 14 /* Invalid dimension id */ |
#define | NC_EUNLIMPOS 15 /* NC_UNLIMITED in the wrong index */ |
#define | NC_EMAXVARS 16 /* MAX_NC_VARS exceeded */ |
#define | NC_ENOTVAR 17 /* Variable not found */ |
#define | NC_EGLOBAL 18 /* Action prohibited on NC_GLOBAL varid */ |
#define | NC_ENOTNC 19 /* Not a netcdf file */ |
#define | NC_ESTS 20 /* In Fortran, string too short */ |
#define | NC_EMAXNAME 21 /* MAX_NC_NAME exceeded */ |
#define | NC_ENTOOL NC_EMAXNAME /* Backward compatibility */ |
#define | NC_EUNLIMIT 22 /* NC_UNLIMITED size already in use */ |
#define | NC_EXDR 32 /* */ |
#define | NC_SYSERR -1 |
#define | NC_FATAL 1 |
#define | NC_VERBOSE 2 |
#define | PROTO(x) () |
Typedefs | |
typedef long | nclong |
Enumerations | |
enum | nc_type { NC_UNSPECIFIED, NC_BYTE, NC_CHAR, NC_SHORT, NC_LONG, NC_FLOAT, NC_DOUBLE, NC_BITFIELD, NC_STRING, NC_IARRAY, NC_DIMENSION, NC_VARIABLE, NC_ATTRIBUTE, NC_UNSPECIFIED, NC_BYTE, NC_CHAR, NC_SHORT, NC_LONG, NC_FLOAT, NC_DOUBLE, NC_BITFIELD, NC_STRING, NC_IARRAY, NC_DIMENSION, NC_VARIABLE, NC_ATTRIBUTE } |
Functions | |
HDFLIBAPI int nccreate | PROTO ((const char *path, int cmode)) |
HDFLIBAPI int ncopen | PROTO ((const char *path, int mode)) |
HDFLIBAPI int ncredef | PROTO ((int cdfid)) |
HDFLIBAPI int ncinquire | PROTO ((int cdfid, int *ndims, int *nvars, int *natts, int *recdim)) |
HDFLIBAPI int ncdimdef | PROTO ((int cdfid, const char *name, long length)) |
HDFLIBAPI int ncdimid | PROTO ((int cdfid, const char *name)) |
HDFLIBAPI int ncdiminq | PROTO ((int cdfid, int dimid, char *name, long *length)) |
HDFLIBAPI int ncdimrename | PROTO ((int cdfid, int dimid, const char *name)) |
HDFLIBAPI int ncvardef | PROTO ((int cdfid, const char *name, nc_type datatype, int ndims, const int *dim)) |
HDFLIBAPI int ncvarinq | PROTO ((int cdfid, int varid, char *name, nc_type *datatype, int *ndims, int *dim, int *natts)) |
HDFLIBAPI int ncvarput1 | PROTO ((int cdfid, int varid, const long *coords, const void *value)) |
HDFLIBAPI int ncvarget1 | PROTO ((int cdfid, int varid, const long *coords, void *value)) |
HDFLIBAPI int ncvarput | PROTO ((int cdfid, int varid, const long *start, const long *count, const void *value)) |
HDFLIBAPI int ncvarget | PROTO ((int cdfid, int varid, const long *start, const long *count, void *value)) |
HDFLIBAPI int ncvarputs | PROTO ((int cdfid, int varid, const long *start, const long *count, const long *stride, const void *values)) |
HDFLIBAPI int ncvargets | PROTO ((int cdfid, int varid, const long *start, const long *count, const long *stride, void *values)) |
HDFLIBAPI int ncvarputg | PROTO ((int cdfid, int varid, const long *start, const long *count, const long *stride, const long *imap, const void *values)) |
HDFLIBAPI int ncvargetg | PROTO ((int cdfid, int varid, const long *start, const long *count, const long *stride, const long *imap, void *values)) |
HDFLIBAPI int ncvarrename | PROTO ((int cdfid, int varid, const char *name)) |
HDFLIBAPI int ncattput | PROTO ((int cdfid, int varid, const char *name, nc_type datatype, int len, const void *value)) |
HDFLIBAPI int ncattinq | PROTO ((int cdfid, int varid, const char *name, nc_type *datatype, int *len)) |
HDFLIBAPI int ncattget | PROTO ((int cdfid, int varid, const char *name, void *value)) |
HDFLIBAPI int ncattcopy | PROTO ((int incdf, int invar, const char *name, int outcdf, int outvar)) |
HDFLIBAPI int ncattname | PROTO ((int cdfid, int varid, int attnum, char *name)) |
HDFLIBAPI int ncattrename | PROTO ((int cdfid, int varid, const char *name, const char *newname)) |
HDFLIBAPI int nctypelen | PROTO ((nc_type datatype)) |
HDFLIBAPI int ncsetfill | PROTO ((int cdfid, int fillmode)) |
HDFLIBAPI int ncrecinq | PROTO ((int cdfid, int *nrecvars, int *recvarids, long *recsizes)) |
HDFLIBAPI int ncrecget | PROTO ((int cdfid, long recnum, void **datap)) |
HDFLIBAPI int ncrecput | PROTO ((int cdfid, long recnum, void *const *datap)) |
Variables | |
HDFLIBAPI int | ncerr |
HDFLIBAPI int | ncopts |
#define FILL_FLOAT 9.9692099683868690e+36 /* near 15 * 2^119 */ |
#define MAX_NC_ATTRS 3000 /* max global or per variable attributes */ |
#define NC_CREAT 2 /* in create phase, cleared by ncendef */ |
#define NC_EEXIST 3 /* netcdf file exists && NC_NOCLOBBER */ |
#define NC_EGLOBAL 18 /* Action prohibited on NC_GLOBAL varid */ |
#define NC_EINDEFINE 7 /* Operation not allowed in define mode */ |
#define NC_EMAXATTS 12 /* MAX_NC_ATTRS exceeded */ |
#define NC_EMAXDIMS 9 /* MAX_NC_DIMS exceeded */ |
#define NC_EMAXNAME 21 /* MAX_NC_NAME exceeded */ |
#define NC_EMAXVARS 16 /* MAX_NC_VARS exceeded */ |
#define NC_ENOTINDEFINE 6 /* Operation not allowed in data mode */ |
#define NC_ENTOOL NC_EMAXNAME /* Backward compatibility */ |
#define NC_EUNLIMIT 22 /* NC_UNLIMITED size already in use */ |
#define NC_EUNLIMPOS 15 /* NC_UNLIMITED in the wrong index */ |
#define NC_EXCL 4 /* on create, don't destroy existing file */ |
#define NC_HSYNC 0x20 /* synchronise whole header on change */ |
#define NC_INDEF 8 /* in define mode, cleared by ncendef */ |
#define NC_NOFILL 0x100 /* Don't fill vars on endef and increase of record */ |
enum nc_type |
HDFLIBAPI int ncdimrename PROTO | ( | (int cdfid, int dimid, const char *name) | ) |
HDFLIBAPI int ncvardef PROTO | ( | (int cdfid, const char *name, nc_type datatype, int ndims, const int *dim) | ) |
HDFLIBAPI int ncvarinq PROTO | ( | (int cdfid, int varid, char *name, nc_type *datatype, int *ndims, int *dim, int *natts) | ) |
HDFLIBAPI int ncvarput PROTO | ( | (int cdfid, int varid, const long *start, const long *count, const void *value) | ) |
HDFLIBAPI int ncvarget PROTO | ( | (int cdfid, int varid, const long *start, const long *count, void *value) | ) |
HDFLIBAPI int ncvarputs PROTO | ( | (int cdfid, int varid, const long *start, const long *count, const long *stride, const void *values) | ) |
HDFLIBAPI int ncvargets PROTO | ( | (int cdfid, int varid, const long *start, const long *count, const long *stride, void *values) | ) |
HDFLIBAPI int ncvarputg PROTO | ( | (int cdfid, int varid, const long *start, const long *count, const long *stride, const long *imap, const void *values) | ) |
HDFLIBAPI int ncvargetg PROTO | ( | (int cdfid, int varid, const long *start, const long *count, const long *stride, const long *imap, void *values) | ) |
HDFLIBAPI int ncattput PROTO | ( | (int cdfid, int varid, const char *name, nc_type datatype, int len, const void *value) | ) |
HDFLIBAPI int ncattinq PROTO | ( | (int cdfid, int varid, const char *name, nc_type *datatype, int *len) | ) |
HDFLIBAPI int ncattrename PROTO | ( | (int cdfid, int varid, const char *name, const char *newname) | ) |