|
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, void *value)) |
| HDFLIBAPI int ncvarputs | 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, 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)) |
Variables | |
| HDFLIBAPI int | ncerr |
| HDFLIBAPI int | ncopts |
| #define _FillValue "_FillValue" |
Definition at line 235 of file hdf4_netcdf.h.
| #define FILL_BYTE ((char)-127) /* Largest Negative value */ |
Definition at line 83 of file hdf4_netcdf.h.
| #define FILL_CHAR ((char)0) |
Definition at line 84 of file hdf4_netcdf.h.
| #define FILL_DOUBLE 9.9692099683868690e+36 |
Definition at line 91 of file hdf4_netcdf.h.
| #define FILL_FLOAT 9.9692099683868690e+36 /* near 15 * 2^119 */ |
Definition at line 90 of file hdf4_netcdf.h.
| #define FILL_LONG ((long)-2147483647) |
Definition at line 86 of file hdf4_netcdf.h.
| #define FILL_SHORT ((short)-32767) |
Definition at line 85 of file hdf4_netcdf.h.
| #define MAX_NC_ATTRS 3000 /* max global or per variable attributes */ |
Definition at line 223 of file hdf4_netcdf.h.
| #define MAX_NC_DIMS 5000 /* max dimensions per file */ |
Definition at line 222 of file hdf4_netcdf.h.
Definition at line 225 of file hdf4_netcdf.h.
| #define MAX_NC_OPEN 32 |
Definition at line 215 of file hdf4_netcdf.h.
| #define MAX_NC_VARS 5000 /* max variables per file */ |
Definition at line 224 of file hdf4_netcdf.h.
| #define MAX_VAR_DIMS 32 /* max per variable dimensions */ |
Definition at line 226 of file hdf4_netcdf.h.
Definition at line 197 of file hdf4_netcdf.h.
| #define NC_CREAT 2 /* in create phase, cleared by ncendef */ |
Definition at line 180 of file hdf4_netcdf.h.
| #define NC_EBADDIM 14 /* Invalid dimension id */ |
Definition at line 325 of file hdf4_netcdf.h.
| #define NC_EBADID 1 /* Not a netcdf id */ |
Definition at line 312 of file hdf4_netcdf.h.
Definition at line 324 of file hdf4_netcdf.h.
| #define NC_EEXIST 3 /* netcdf file exists && NC_NOCLOBBER */ |
Definition at line 314 of file hdf4_netcdf.h.
| #define NC_EGLOBAL 18 /* Action prohibited on NC_GLOBAL varid */ |
Definition at line 329 of file hdf4_netcdf.h.
| #define NC_EINDEFINE 7 /* Operation not allowed in define mode */ |
Definition at line 318 of file hdf4_netcdf.h.
| #define NC_EINVAL 4 /* Invalid Argument */ |
Definition at line 315 of file hdf4_netcdf.h.
| #define NC_EINVALCOORDS 8 /* Coordinates out of Domain */ |
Definition at line 319 of file hdf4_netcdf.h.
| #define NC_EMAXATTS 12 /* MAX_NC_ATTRS exceeded */ |
Definition at line 323 of file hdf4_netcdf.h.
| #define NC_EMAXDIMS 9 /* MAX_NC_DIMS exceeded */ |
Definition at line 320 of file hdf4_netcdf.h.
| #define NC_EMAXNAME 21 /* MAX_NC_NAME exceeded */ |
Definition at line 332 of file hdf4_netcdf.h.
| #define NC_EMAXVARS 16 /* MAX_NC_VARS exceeded */ |
Definition at line 327 of file hdf4_netcdf.h.
| #define NC_ENAMEINUSE 10 /* String match to name in use */ |
Definition at line 321 of file hdf4_netcdf.h.
| #define NC_ENFILE 2 /* Too many netcdfs open */ |
Definition at line 313 of file hdf4_netcdf.h.
| #define NC_ENOTATT 11 /* Attribute not found */ |
Definition at line 322 of file hdf4_netcdf.h.
| #define NC_ENOTINDEFINE 6 /* Operation not allowed in data mode */ |
Definition at line 317 of file hdf4_netcdf.h.
| #define NC_ENOTNC 19 /* Not a netcdf file */ |
Definition at line 330 of file hdf4_netcdf.h.
| #define NC_ENOTVAR 17 /* Variable not found */ |
Definition at line 328 of file hdf4_netcdf.h.
| #define NC_ENTOOL NC_EMAXNAME /* Backward compatibility */ |
Definition at line 333 of file hdf4_netcdf.h.
| #define NC_EPERM 5 /* Write to read only */ |
Definition at line 316 of file hdf4_netcdf.h.
| #define NC_ESTS 20 /* In Fortran, string too short */ |
Definition at line 331 of file hdf4_netcdf.h.
| #define NC_EUNLIMIT 22 /* NC_UNLIMITED size already in use */ |
Definition at line 334 of file hdf4_netcdf.h.
| #define NC_EUNLIMPOS 15 /* NC_UNLIMITED in the wrong index */ |
Definition at line 326 of file hdf4_netcdf.h.
| #define NC_EXCL 4 /* on create, don't destroy existing file */ |
Definition at line 181 of file hdf4_netcdf.h.
| #define NC_EXDR 32 /* */ |
Definition at line 336 of file hdf4_netcdf.h.
| #define NC_FATAL 1 |
Definition at line 346 of file hdf4_netcdf.h.
Definition at line 190 of file hdf4_netcdf.h.
| #define NC_GLOBAL -1 |
Definition at line 208 of file hdf4_netcdf.h.
| #define NC_HDIRTY 0x80 /* header info has changed */ |
Definition at line 186 of file hdf4_netcdf.h.
| #define NC_HSYNC 0x20 /* synchronise whole header on change */ |
Definition at line 184 of file hdf4_netcdf.h.
| #define NC_INDEF 8 /* in define mode, cleared by ncendef */ |
Definition at line 182 of file hdf4_netcdf.h.
| #define NC_LINK 0x8000 /* isa link */ |
Definition at line 188 of file hdf4_netcdf.h.
| #define NC_NDIRTY 0x40 /* numrecs has changed */ |
Definition at line 185 of file hdf4_netcdf.h.
Definition at line 198 of file hdf4_netcdf.h.
| #define NC_NOERR 0 /* No Error */ |
Definition at line 311 of file hdf4_netcdf.h.
| #define NC_NOFILL 0x100 /* Don't fill vars on endef and increase of record */ |
Definition at line 187 of file hdf4_netcdf.h.
| #define NC_NOWRITE 0 |
Definition at line 195 of file hdf4_netcdf.h.
| #define NC_NSYNC 0x10 /* synchronise numrecs on change */ |
Definition at line 183 of file hdf4_netcdf.h.
| #define NC_OLD_FILLVALUES 0 |
Definition at line 74 of file hdf4_netcdf.h.
| #define NC_RDWR 1 /* read/write, 0 => readonly */ |
Definition at line 179 of file hdf4_netcdf.h.
| #define NC_SYSERR -1 |
Definition at line 337 of file hdf4_netcdf.h.
| #define NC_UNLIMITED 0L |
Definition at line 203 of file hdf4_netcdf.h.
| #define NC_VERBOSE 2 |
Definition at line 347 of file hdf4_netcdf.h.
| #define NC_WRITE NC_RDWR |
Definition at line 196 of file hdf4_netcdf.h.
| #define ncvoid void |
Definition at line 34 of file hdf4_netcdf.h.
| #define PROTO | ( | x | ) | () |
Definition at line 361 of file hdf4_netcdf.h.
| #define USE_ENUM |
Definition at line 53 of file hdf4_netcdf.h.
| typedef long nclong |
Definition at line 303 of file hdf4_netcdf.h.
| enum nc_type |
Definition at line 247 of file hdf4_netcdf.h.
| 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, void *value) | ) |
| HDFLIBAPI int ncvarputs 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, 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 ncattrename PROTO | ( | (int cdfid, int varid, const char *name, const char *newname) | ) |
| HDFLIBAPI int ncerr |
Definition at line 340 of file hdf4_netcdf.h.
| HDFLIBAPI int ncopts |
Definition at line 349 of file hdf4_netcdf.h.