MISR Toolkit
1.5.1
|
#include "H4api_adpt.h"
#include <stddef.h>
#include <stdio.h>
#include <rpc/types.h>
#include <rpc/xdr.h>
#include "hdf4_netcdf.h"
Go to the source code of this file.
Data Structures | |
struct | NC_array |
struct | NC_string |
struct | NC_iarray |
struct | NC_dim |
struct | NC_attr |
struct | NC |
struct | NC_var |
Macros | |
#define | FILENAME_MAX 255 |
#define | Void char |
#define | MAX_VXR_ENTRIES 10 |
#define | IS_RECVAR(vp) ((vp)->shape != NULL ? (*(vp)->shape == NC_UNLIMITED) : 0 ) |
#define | netCDF_FILE 0 |
#define | HDF_FILE 1 |
#define | CDF_FILE 2 |
#define | MAGICOFFSET 0 /* Offset where format version number is written */ |
#define | CDFMAGIC 0x0000FFFF |
#define | HDFXMAGIC 0x0e031301 /* ^N^C^S^A */ |
#define | NCMAGIC 0x43444601 /* C D F 1 */ |
#define | NCMAGIC64 0x43444602 /* C D F 2 */ |
#define | NCLINKMAGIC 0x43444c01 /* C D L 1 */ |
#define | PROTO(x) x |
#define | nc_serror HNAME(nc_serror) |
#define | NCadvise HNAME(NCadvise) |
#define | NC_computeshapes HNAME(NC_computeshapes) |
#define | NC_xtypelen HNAME(NC_xtypelen) |
#define | NC_xlen_array HNAME(NC_xlen_array) |
#define | NC_xlen_attr HNAME(NC_xlen_attr) |
#define | NC_xlen_cdf HNAME(NC_xlen_cdf) |
#define | NC_xlen_dim HNAME(NC_xlen_dim) |
#define | NC_xlen_iarray HNAME(NC_xlen_iarray) |
#define | NC_xlen_string HNAME(NC_xlen_string) |
#define | NC_xlen_var HNAME(NC_xlen_var) |
#define | NCmemset HNAME(NCmemset) |
#define | NC_arrayfill HNAME(NC_arrayfill) |
#define | NC_copy_arrayvals HNAME(NC_copy_arrayvals) |
#define | NC_free_array HNAME(NC_free_array) |
#define | NC_free_attr HNAME(NC_free_attr) |
#define | NC_free_cdf HNAME(NC_free_cdf) |
#define | NC_free_dim HNAME(NC_free_dim) |
#define | NC_free_iarray HNAME(NC_free_iarray) |
#define | NC_free_string HNAME(NC_free_string) |
#define | NC_free_var HNAME(NC_free_var) |
#define | NC_incr_array HNAME(NC_incr_array) |
#define | NC_dimid HNAME(NC_dimid) |
#define | NCcktype HNAME(NCcktype) |
#define | NC_indefine HNAME(NC_indefine) |
#define | xdr_cdf HNAME(xdr_cdf) |
#define | xdr_numrecs HNAME(xdr_numrecs) |
#define | xdr_shorts HNAME(xdr_shorts) |
#define | xdr_NC_array HNAME(xdr_NC_array) |
#define | xdr_NC_attr HNAME(xdr_NC_attr) |
#define | xdr_NC_dim HNAME(xdr_NC_dim) |
#define | xdr_NC_fill HNAME(xdr_NC_fill) |
#define | xdr_NC_iarray HNAME(xdr_NC_iarray) |
#define | xdr_NC_string HNAME(xdr_NC_string) |
#define | xdr_NC_var HNAME(xdr_NC_var) |
#define | NC_typelen HNAME(NC_typelen) |
#define | NC_check_id HNAME(NC_check_id) |
#define | NC_dup_cdf HNAME(NC_dup_cdf) |
#define | NC_new_cdf HNAME(NC_new_cdf) |
#define | NC_new_array HNAME(NC_new_array) |
#define | NC_re_array HNAME(NC_re_array) |
#define | NC_new_attr HNAME(NC_new_attr) |
#define | NC_findattr HNAME(NC_findattr) |
#define | NC_new_dim HNAME(NC_new_dim) |
#define | NC_new_iarray HNAME(NC_new_iarray) |
#define | NC_new_string HNAME(NC_new_string) |
#define | NC_re_string HNAME(NC_re_string) |
#define | NC_hlookupvar HNAME(NC_hlookupvar) |
#define | NC_new_var HNAME(NC_new_var) |
#define | NCvario HNAME(NCvario) |
#define | NCcoordck HNAME(NCcoordck) |
#define | xdr_NCvshort HNAME(xdr_NCvshort) |
#define | NC_dcpy HNAME(NC_dcpy) |
#define | NCxdrfile_sync HNAME(NCxdrfile_sync) |
#define | NCxdrfile_create HNAME(NCxdrfile_create) |
#define | nncpopt H4_F77_FUNC(ncpopt, NCPOPT) |
#define | nncgopt H4_F77_FUNC(ncgopt, NCGOPT) |
#define | nnccre H4_F77_FUNC(nccre, NCCRE) |
#define | nncopn H4_F77_FUNC(ncopn, NCOPN) |
#define | nncddef H4_F77_FUNC(ncddef, NCDDEF) |
#define | nncdid H4_F77_FUNC(ncdid, NCDID) |
#define | nncvdef H4_F77_FUNC(ncvdef, NCVDEF) |
#define | nncvid H4_F77_FUNC(ncvid, NCVID) |
#define | nnctlen H4_F77_FUNC(nctlen, NCTLEN) |
#define | nncclos H4_F77_FUNC(ncclos, NCCLOS) |
#define | nncredf H4_F77_FUNC(ncredf, NCREDF) |
#define | nncendf H4_F77_FUNC(ncendf, NCENDF) |
#define | nncinq H4_F77_FUNC(ncinq, NCINQ) |
#define | nncsnc H4_F77_FUNC(ncsnc, NCSNC) |
#define | nncabor H4_F77_FUNC(ncabor, NCABOR) |
#define | nncdinq H4_F77_FUNC(ncdinq, NCDINQ) |
#define | nncdren H4_F77_FUNC(ncdren, NCDREN) |
#define | nncvinq H4_F77_FUNC(ncvinq, NCVINQ) |
#define | nncvpt1 H4_F77_FUNC(ncvpt1, NCVPT1) |
#define | nncvp1c H4_F77_FUNC(ncvp1c, NCVP1C) |
#define | nncvpt H4_F77_FUNC(ncvpt, NCVPT) |
#define | nncvptc H4_F77_FUNC(ncvptc, NCVPTC) |
#define | nncvptg H4_F77_FUNC(ncvptg, NCVPTG) |
#define | nncvpgc H4_F77_FUNC(ncvpgc, NCVPGC) |
#define | nncvgt1 H4_F77_FUNC(ncvgt1, NCVGT1) |
#define | nncvg1c H4_F77_FUNC(ncvg1c, NCVG1C) |
#define | nncvgt H4_F77_FUNC(ncvgt, NCVGT) |
#define | nncvgtc H4_F77_FUNC(ncvgtc, NCVGTC) |
#define | nncvgtg H4_F77_FUNC(ncvgtg, NCVGTG) |
#define | nncvggc H4_F77_FUNC(ncvggc, NCVGGC) |
#define | nncvren H4_F77_FUNC(ncvren, NCVREN) |
#define | nncapt H4_F77_FUNC(ncapt, NCAPT) |
#define | nncaptc H4_F77_FUNC(ncaptc, NCAPTC) |
#define | nncainq H4_F77_FUNC(ncainq, NCAINQ) |
#define | nncagt H4_F77_FUNC(ncagt, NCAGT) |
#define | nncagtc H4_F77_FUNC(ncagtc, NCAGTC) |
#define | nncacpy H4_F77_FUNC(ncacpy, NCACPY) |
#define | nncanam H4_F77_FUNC(ncanam, NCANAM) |
#define | nncaren H4_F77_FUNC(ncaren, NCAREN) |
#define | nncadel H4_F77_FUNC(ncadel, NCADEL) |
#define | nncsfil H4_F77_FUNC(ncsfil, NCSFIL) |
Variables | |
HDFLIBAPI const char * | cdf_routine_name |
#define CDF_FILE 2 |
Definition at line 258 of file local_nc.h.
#define CDFMAGIC 0x0000FFFF |
Definition at line 266 of file local_nc.h.
#define FILENAME_MAX 255 |
Definition at line 30 of file local_nc.h.
#define HDF_FILE 1 |
Definition at line 257 of file local_nc.h.
#define HDFXMAGIC 0x0e031301 /* ^N^C^S^A */ |
Definition at line 269 of file local_nc.h.
#define IS_RECVAR | ( | vp | ) | ((vp)->shape != NULL ? (*(vp)->shape == NC_UNLIMITED) : 0 ) |
Definition at line 253 of file local_nc.h.
Definition at line 262 of file local_nc.h.
#define MAX_VXR_ENTRIES 10 |
Definition at line 113 of file local_nc.h.
#define NC_arrayfill HNAME(NC_arrayfill) |
Definition at line 312 of file local_nc.h.
#define NC_check_id HNAME(NC_check_id) |
Definition at line 336 of file local_nc.h.
#define NC_computeshapes HNAME(NC_computeshapes) |
Definition at line 302 of file local_nc.h.
#define NC_copy_arrayvals HNAME(NC_copy_arrayvals) |
Definition at line 313 of file local_nc.h.
#define NC_dcpy HNAME(NC_dcpy) |
Definition at line 352 of file local_nc.h.
#define NC_dimid HNAME(NC_dimid) |
Definition at line 322 of file local_nc.h.
#define NC_dup_cdf HNAME(NC_dup_cdf) |
Definition at line 337 of file local_nc.h.
#define NC_findattr HNAME(NC_findattr) |
Definition at line 342 of file local_nc.h.
#define NC_free_array HNAME(NC_free_array) |
Definition at line 314 of file local_nc.h.
#define NC_free_attr HNAME(NC_free_attr) |
Definition at line 315 of file local_nc.h.
#define NC_free_cdf HNAME(NC_free_cdf) |
Definition at line 316 of file local_nc.h.
#define NC_free_dim HNAME(NC_free_dim) |
Definition at line 317 of file local_nc.h.
#define NC_free_iarray HNAME(NC_free_iarray) |
Definition at line 318 of file local_nc.h.
#define NC_free_string HNAME(NC_free_string) |
Definition at line 319 of file local_nc.h.
#define NC_free_var HNAME(NC_free_var) |
Definition at line 320 of file local_nc.h.
#define NC_hlookupvar HNAME(NC_hlookupvar) |
Definition at line 347 of file local_nc.h.
#define NC_incr_array HNAME(NC_incr_array) |
Definition at line 321 of file local_nc.h.
#define NC_indefine HNAME(NC_indefine) |
Definition at line 324 of file local_nc.h.
#define NC_new_array HNAME(NC_new_array) |
Definition at line 339 of file local_nc.h.
#define NC_new_attr HNAME(NC_new_attr) |
Definition at line 341 of file local_nc.h.
#define NC_new_cdf HNAME(NC_new_cdf) |
Definition at line 338 of file local_nc.h.
#define NC_new_dim HNAME(NC_new_dim) |
Definition at line 343 of file local_nc.h.
#define NC_new_iarray HNAME(NC_new_iarray) |
Definition at line 344 of file local_nc.h.
#define NC_new_string HNAME(NC_new_string) |
Definition at line 345 of file local_nc.h.
#define NC_new_var HNAME(NC_new_var) |
Definition at line 348 of file local_nc.h.
#define NC_re_array HNAME(NC_re_array) |
Definition at line 340 of file local_nc.h.
#define NC_re_string HNAME(NC_re_string) |
Definition at line 346 of file local_nc.h.
#define nc_serror HNAME(nc_serror) |
Definition at line 300 of file local_nc.h.
#define NC_typelen HNAME(NC_typelen) |
Definition at line 335 of file local_nc.h.
#define NC_xlen_array HNAME(NC_xlen_array) |
Definition at line 304 of file local_nc.h.
#define NC_xlen_attr HNAME(NC_xlen_attr) |
Definition at line 305 of file local_nc.h.
#define NC_xlen_cdf HNAME(NC_xlen_cdf) |
Definition at line 306 of file local_nc.h.
#define NC_xlen_dim HNAME(NC_xlen_dim) |
Definition at line 307 of file local_nc.h.
#define NC_xlen_iarray HNAME(NC_xlen_iarray) |
Definition at line 308 of file local_nc.h.
#define NC_xlen_string HNAME(NC_xlen_string) |
Definition at line 309 of file local_nc.h.
#define NC_xlen_var HNAME(NC_xlen_var) |
Definition at line 310 of file local_nc.h.
#define NC_xtypelen HNAME(NC_xtypelen) |
Definition at line 303 of file local_nc.h.
#define NCadvise HNAME(NCadvise) |
Definition at line 301 of file local_nc.h.
#define NCcktype HNAME(NCcktype) |
Definition at line 323 of file local_nc.h.
#define NCcoordck HNAME(NCcoordck) |
Definition at line 350 of file local_nc.h.
#define NCLINKMAGIC 0x43444c01 /* C D L 1 */ |
Definition at line 278 of file local_nc.h.
#define NCMAGIC 0x43444601 /* C D F 1 */ |
Definition at line 272 of file local_nc.h.
#define NCMAGIC64 0x43444602 /* C D F 2 */ |
Definition at line 275 of file local_nc.h.
#define NCmemset HNAME(NCmemset) |
Definition at line 311 of file local_nc.h.
#define NCvario HNAME(NCvario) |
Definition at line 349 of file local_nc.h.
#define NCxdrfile_create HNAME(NCxdrfile_create) |
Definition at line 354 of file local_nc.h.
#define NCxdrfile_sync HNAME(NCxdrfile_sync) |
Definition at line 353 of file local_nc.h.
#define netCDF_FILE 0 |
Definition at line 256 of file local_nc.h.
#define nncabor H4_F77_FUNC(ncabor, NCABOR) |
Definition at line 375 of file local_nc.h.
#define nncacpy H4_F77_FUNC(ncacpy, NCACPY) |
Definition at line 397 of file local_nc.h.
#define nncadel H4_F77_FUNC(ncadel, NCADEL) |
Definition at line 400 of file local_nc.h.
#define nncagt H4_F77_FUNC(ncagt, NCAGT) |
Definition at line 395 of file local_nc.h.
#define nncagtc H4_F77_FUNC(ncagtc, NCAGTC) |
Definition at line 396 of file local_nc.h.
#define nncainq H4_F77_FUNC(ncainq, NCAINQ) |
Definition at line 394 of file local_nc.h.
#define nncanam H4_F77_FUNC(ncanam, NCANAM) |
Definition at line 398 of file local_nc.h.
#define nncapt H4_F77_FUNC(ncapt, NCAPT) |
Definition at line 392 of file local_nc.h.
#define nncaptc H4_F77_FUNC(ncaptc, NCAPTC) |
Definition at line 393 of file local_nc.h.
#define nncaren H4_F77_FUNC(ncaren, NCAREN) |
Definition at line 399 of file local_nc.h.
#define nncclos H4_F77_FUNC(ncclos, NCCLOS) |
Definition at line 370 of file local_nc.h.
#define nnccre H4_F77_FUNC(nccre, NCCRE) |
Definition at line 363 of file local_nc.h.
#define nncddef H4_F77_FUNC(ncddef, NCDDEF) |
Definition at line 365 of file local_nc.h.
#define nncdid H4_F77_FUNC(ncdid, NCDID) |
Definition at line 366 of file local_nc.h.
#define nncdinq H4_F77_FUNC(ncdinq, NCDINQ) |
Definition at line 376 of file local_nc.h.
#define nncdren H4_F77_FUNC(ncdren, NCDREN) |
Definition at line 377 of file local_nc.h.
#define nncendf H4_F77_FUNC(ncendf, NCENDF) |
Definition at line 372 of file local_nc.h.
#define nncgopt H4_F77_FUNC(ncgopt, NCGOPT) |
Definition at line 362 of file local_nc.h.
#define nncinq H4_F77_FUNC(ncinq, NCINQ) |
Definition at line 373 of file local_nc.h.
#define nncopn H4_F77_FUNC(ncopn, NCOPN) |
Definition at line 364 of file local_nc.h.
#define nncpopt H4_F77_FUNC(ncpopt, NCPOPT) |
Definition at line 361 of file local_nc.h.
#define nncredf H4_F77_FUNC(ncredf, NCREDF) |
Definition at line 371 of file local_nc.h.
#define nncsfil H4_F77_FUNC(ncsfil, NCSFIL) |
Definition at line 401 of file local_nc.h.
#define nncsnc H4_F77_FUNC(ncsnc, NCSNC) |
Definition at line 374 of file local_nc.h.
#define nnctlen H4_F77_FUNC(nctlen, NCTLEN) |
Definition at line 369 of file local_nc.h.
#define nncvdef H4_F77_FUNC(ncvdef, NCVDEF) |
Definition at line 367 of file local_nc.h.
#define nncvg1c H4_F77_FUNC(ncvg1c, NCVG1C) |
Definition at line 386 of file local_nc.h.
#define nncvggc H4_F77_FUNC(ncvggc, NCVGGC) |
Definition at line 390 of file local_nc.h.
#define nncvgt H4_F77_FUNC(ncvgt, NCVGT) |
Definition at line 387 of file local_nc.h.
#define nncvgt1 H4_F77_FUNC(ncvgt1, NCVGT1) |
Definition at line 385 of file local_nc.h.
#define nncvgtc H4_F77_FUNC(ncvgtc, NCVGTC) |
Definition at line 388 of file local_nc.h.
#define nncvgtg H4_F77_FUNC(ncvgtg, NCVGTG) |
Definition at line 389 of file local_nc.h.
#define nncvid H4_F77_FUNC(ncvid, NCVID) |
Definition at line 368 of file local_nc.h.
#define nncvinq H4_F77_FUNC(ncvinq, NCVINQ) |
Definition at line 378 of file local_nc.h.
#define nncvp1c H4_F77_FUNC(ncvp1c, NCVP1C) |
Definition at line 380 of file local_nc.h.
#define nncvpgc H4_F77_FUNC(ncvpgc, NCVPGC) |
Definition at line 384 of file local_nc.h.
#define nncvpt H4_F77_FUNC(ncvpt, NCVPT) |
Definition at line 381 of file local_nc.h.
#define nncvpt1 H4_F77_FUNC(ncvpt1, NCVPT1) |
Definition at line 379 of file local_nc.h.
#define nncvptc H4_F77_FUNC(ncvptc, NCVPTC) |
Definition at line 382 of file local_nc.h.
#define nncvptg H4_F77_FUNC(ncvptg, NCVPTG) |
Definition at line 383 of file local_nc.h.
#define nncvren H4_F77_FUNC(ncvren, NCVREN) |
Definition at line 391 of file local_nc.h.
#define PROTO | ( | x | ) | x |
Definition at line 286 of file local_nc.h.
#define Void char |
Definition at line 70 of file local_nc.h.
#define xdr_cdf HNAME(xdr_cdf) |
Definition at line 325 of file local_nc.h.
#define xdr_NC_array HNAME(xdr_NC_array) |
Definition at line 328 of file local_nc.h.
#define xdr_NC_attr HNAME(xdr_NC_attr) |
Definition at line 329 of file local_nc.h.
#define xdr_NC_dim HNAME(xdr_NC_dim) |
Definition at line 330 of file local_nc.h.
#define xdr_NC_fill HNAME(xdr_NC_fill) |
Definition at line 331 of file local_nc.h.
#define xdr_NC_iarray HNAME(xdr_NC_iarray) |
Definition at line 332 of file local_nc.h.
#define xdr_NC_string HNAME(xdr_NC_string) |
Definition at line 333 of file local_nc.h.
#define xdr_NC_var HNAME(xdr_NC_var) |
Definition at line 334 of file local_nc.h.
#define xdr_NCvshort HNAME(xdr_NCvshort) |
Definition at line 351 of file local_nc.h.
#define xdr_numrecs HNAME(xdr_numrecs) |
Definition at line 326 of file local_nc.h.
#define xdr_shorts HNAME(xdr_shorts) |
Definition at line 327 of file local_nc.h.
HDFLIBAPI int NC_computeshapes PROTO | ( | (NC *handle) | ) |
HDFLIBAPI int NC_xtypelen PROTO | ( | (nc_type type) | ) |
HDFLIBAPI int NC_xlen_array PROTO | ( | (NC_array *array) | ) |
HDFLIBAPI int NC_xlen_attr PROTO | ( | (NC_attr **app) | ) |
HDFLIBAPI int NC_xlen_cdf PROTO | ( | (NC *cdf) | ) |
HDFLIBAPI int NC_xlen_dim PROTO | ( | (NC_dim **dpp) | ) |
HDFLIBAPI int NC_xlen_iarray PROTO | ( | (NC_iarray *iarray) | ) |
HDFLIBAPI int NC_xlen_string PROTO | ( | (NC_string *cdfstr) | ) |
HDFLIBAPI int NC_xlen_var PROTO | ( | (NC_var **vpp) | ) |
HDFLIBAPI void NC_arrayfill PROTO | ( | (void *lo, size_t len, nc_type type) | ) |
HDFLIBAPI void NC_copy_arrayvals PROTO | ( | (char *target, NC_array *array) | ) |
HDFLIBAPI int NC_free_attr PROTO | ( | (NC_attr *attr) | ) |
HDFLIBAPI int NC_free_dim PROTO | ( | (NC_dim *dim) | ) |
HDFLIBAPI int NC_free_var PROTO | ( | (NC_var *var) | ) |
HDFLIBAPI Void* NC_incr_array PROTO | ( | (NC_array *array, Void *tail) | ) |
HDFLIBAPI bool_t NC_indefine PROTO | ( | (int cdfid, bool_t iserr) | ) |
HDFLIBAPI bool_t xdr_numrecs PROTO | ( | (XDR *xdrs, NC *handle) | ) |
HDFLIBAPI bool_t xdr_shorts PROTO | ( | (XDR *xdrs, short *sp, u_int cnt) | ) |
HDFLIBAPI bool_t xdr_NC_array PROTO | ( | (XDR *xdrs, NC_array **app) | ) |
HDFLIBAPI bool_t xdr_NC_attr PROTO | ( | (XDR *xdrs, NC_attr **app) | ) |
HDFLIBAPI bool_t xdr_NC_dim PROTO | ( | (XDR *xdrs, NC_dim **dpp) | ) |
HDFLIBAPI bool_t xdr_NC_fill PROTO | ( | (XDR *xdrs, NC_var *vp) | ) |
HDFLIBAPI bool_t xdr_NC_iarray PROTO | ( | (XDR *xdrs, NC_iarray **ipp) | ) |
HDFLIBAPI bool_t xdr_NC_string PROTO | ( | (XDR *xdrs, NC_string **spp) | ) |
HDFLIBAPI bool_t xdr_NC_var PROTO | ( | (XDR *xdrs, NC_var **vpp) | ) |
HDFLIBAPI NC* NC_check_id PROTO | ( | (int cdfid) | ) |
HDFLIBAPI NC* NC_new_cdf PROTO | ( | (const char *name, int mode) | ) |
HDFLIBAPI NC_array* NC_re_array PROTO | ( | (NC_array *old, nc_type type, unsigned count, const void *values) | ) |
HDFLIBAPI NC_attr* NC_new_attr PROTO | ( | (const char *name, nc_type type, unsigned count, const void *values) | ) |
HDFLIBAPI NC_string* NC_new_string PROTO | ( | (unsigned count, const char *str) | ) |
HDFLIBAPI NC_var* NC_hlookupvar PROTO | ( | (NC *handle, int varid) | ) |
HDFLIBAPI int NCvario PROTO | ( | (NC *handle, int varid, const long *start, const long *edges, void *values) | ) |
HDFLIBAPI bool_t xdr_NCvshort PROTO | ( | (XDR *xdrs, unsigned which, short *values) | ) |
HDFLIBAPI int NCxdrfile_sync PROTO | ( | (XDR *xdrs) | ) |
HDFLIBAPI int NCxdrfile_create PROTO | ( | (XDR *xdrs, const char *path, int ncmode) | ) |
Definition at line 260 of file local_nc.h.