MISR Toolkit
1.5.1
|
#include "H4api_adpt.h"
#include "hdf.h"
#include "hdf4_netcdf.h"
#include "mfhdfi.h"
#include "mfdatainfo.h"
Go to the source code of this file.
Data Structures | |
struct | hdf_varlist |
Macros | |
#define | HDF 1 |
#define | SD_UNLIMITED NC_UNLIMITED /* use this as marker for unlimited dimension */ |
#define | SD_NOFILL NC_NOFILL |
#define | SD_FILL NC_FILL |
#define | SD_DIMVAL_BW_COMP 1 |
#define | SD_DIMVAL_BW_INCOMP 0 |
#define | SD_RAGGED -1 /* marker for ragged dimension */ |
Typedefs | |
typedef struct hdf_varlist | hdf_varlist_t |
Enumerations | |
enum | hdf_idtype_t { NOT_SDAPI_ID = -1, SD_ID = 0, SDS_ID, DIM_ID, NOT_SDAPI_ID = -1, SD_ID = 0, SDS_ID, DIM_ID } |
Functions | |
HDFLIBAPI int32 | SDstart (const char *name, int32 accs) |
HDFLIBAPI intn | SDend (int32 fid) |
HDFLIBAPI intn | SDfileinfo (int32 fid, int32 *datasets, int32 *attrs) |
HDFLIBAPI int32 | SDselect (int32 fid, int32 idx) |
HDFLIBAPI intn | SDgetinfo (int32 sdsid, char *name, int32 *rank, int32 *dimsizes, int32 *nt, int32 *nattr) |
HDFLIBAPI intn | SDreaddata (int32 sdsid, int32 *start, int32 *stride, int32 *end, void *data) |
HDFLIBAPI uint16 | SDgerefnumber (int32 sdsid) |
HDFLIBAPI int32 | SDnametoindex (int32 fid, const char *name) |
HDFLIBAPI intn | SDnametoindices (int32 fid, const char *name, hdf_varlist_t *var_list) |
HDFLIBAPI intn | SDgetnumvars_byname (int32 fid, const char *name, int32 *n_vars) |
HDFLIBAPI intn | SDgetrange (int32 sdsid, void *pmax, void *pmin) |
HDFLIBAPI int32 | SDcreate (int32 fid, const char *name, int32 nt, int32 rank, int32 *dimsizes) |
HDFLIBAPI int32 | SDgetdimid (int32 sdsid, intn number) |
HDFLIBAPI intn | SDsetdimname (int32 id, const char *name) |
HDFLIBAPI intn | SDendaccess (int32 id) |
HDFLIBAPI intn | SDsetrange (int32 sdsid, void *pmax, void *pmin) |
HDFLIBAPI intn | SDsetattr (int32 id, const char *name, int32 nt, int32 count, const void *data) |
HDFLIBAPI intn | SDattrinfo (int32 id, int32 idx, char *name, int32 *nt, int32 *count) |
HDFLIBAPI intn | SDreadattr (int32 id, int32 idx, void *buf) |
HDFLIBAPI intn | SDwritedata (int32 sdsid, int32 *start, int32 *stride, int32 *end, void *data) |
HDFLIBAPI intn | SDsetdatastrs (int32 sdsid, const char *l, const char *u, const char *f, const char *c) |
HDFLIBAPI intn | SDsetcal (int32 sdsid, float64 cal, float64 cale, float64 ioff, float64 ioffe, int32 nt) |
HDFLIBAPI intn | SDsetfillvalue (int32 sdsid, void *val) |
HDFLIBAPI intn | SDgetfillvalue (int32 sdsid, void *val) |
HDFLIBAPI intn | SDsetfillmode (int32 id, intn fillmode) |
HDFLIBAPI intn | SDgetdatastrs (int32 sdsid, char *l, char *u, char *f, char *c, intn len) |
HDFLIBAPI intn | SDgetcal (int32 sdsid, float64 *cal, float64 *cale, float64 *ioff, float64 *ioffe, int32 *nt) |
HDFLIBAPI intn | SDsetdimstrs (int32 id, const char *l, const char *u, const char *f) |
HDFLIBAPI intn | SDsetdimscale (int32 id, int32 count, int32 nt, void *data) |
HDFLIBAPI intn | SDgetdimscale (int32 id, void *data) |
HDFLIBAPI intn | SDdiminfo (int32 id, char *name, int32 *size, int32 *nt, int32 *nattr) |
HDFLIBAPI intn | SDgetdimstrs (int32 id, char *l, char *u, char *f, intn len) |
HDFLIBAPI intn | SDgetexternalfile (int32 id, intn buf_size, char *ext_filename, int32 *offset) |
HDFLIBAPI intn | SDgetexternalinfo (int32 id, uintn buf_size, char *ext_filename, int32 *offset, int32 *length) |
HDFLIBAPI intn | SDsetexternalfile (int32 id, const char *filename, int32 offset) |
HDFLIBAPI intn | SDsetnbitdataset (int32 id, intn start_bit, intn bit_len, intn sign_ext, intn fill_one) |
HDFLIBAPI intn | SDsetcompress (int32 id, comp_coder_t type, comp_info *c_info) |
HDFLIBAPI intn | SDgetcompress (int32 id, comp_coder_t *type, comp_info *c_info) |
HDFLIBAPI intn | SDgetcompinfo (int32 id, comp_coder_t *type, comp_info *c_info) |
HDFLIBAPI intn | SDgetcomptype (int32 id, comp_coder_t *type) |
HDFLIBAPI int32 | SDfindattr (int32 id, const char *attrname) |
HDFLIBAPI int32 | SDidtoref (int32 id) |
HDFLIBAPI int32 | SDreftoindex (int32 fid, int32 ref) |
HDFLIBAPI int32 | SDisrecord (int32 id) |
HDFLIBAPI intn | SDiscoordvar (int32 id) |
HDFLIBAPI intn | SDsetaccesstype (int32 id, uintn accesstype) |
HDFLIBAPI intn | SDsetblocksize (int32 sdsid, int32 block_size) |
HDFLIBAPI intn | SDgetblocksize (int32 sdsid, int32 *block_size) |
HDFLIBAPI intn | SDsetdimval_comp (int32 dimid, intn compt_mode) |
HDFLIBAPI intn | SDisdimval_bwcomp (int32 dimid) |
HDFLIBAPI int32 | SDcheckempty (int32 sdsid, intn *emptySDS) |
HDFLIBAPI hdf_idtype_t | SDidtype (int32 an_id) |
HDFLIBAPI intn | SDreset_maxopenfiles (intn req_max) |
HDFLIBAPI intn | SDget_maxopenfiles (intn *curr_max, intn *sys_limit) |
HDFLIBAPI intn | SDget_numopenfiles () |
HDFLIBAPI intn | SDgetdatasize (int32 sdsid, int32 *comp_size, int32 *uncomp_size) |
HDFLIBAPI intn | SDgetfilename (int32 fid, char *filename) |
HDFLIBAPI intn | SDgetnamelen (int32 sdsid, uint16 *name_len) |
HDFLIBAPI intn | SDsetchunk (int32 sdsid, HDF_CHUNK_DEF chunk_def, int32 flags) |
HDFLIBAPI intn | SDgetchunkinfo (int32 sdsid, HDF_CHUNK_DEF *chunk_def, int32 *flags) |
HDFLIBAPI intn | SDwritechunk (int32 sdsid, int32 *origin, const void *datap) |
HDFLIBAPI intn | SDreadchunk (int32 sdsid, int32 *origin, void *datap) |
HDFLIBAPI intn | SDsetchunkcache (int32 sdsid, int32 maxcache, int32 flags) |
#define SD_UNLIMITED NC_UNLIMITED /* use this as marker for unlimited dimension */ |
typedef struct hdf_varlist hdf_varlist_t |
enum hdf_idtype_t |
HDFLIBAPI intn SDattrinfo | ( | int32 | id, |
int32 | idx, | ||
char * | name, | ||
int32 * | nt, | ||
int32 * | count | ||
) |
HDFLIBAPI int32 SDcheckempty | ( | int32 | sdsid, |
intn * | emptySDS | ||
) |
HDFLIBAPI intn SDdiminfo | ( | int32 | id, |
char * | name, | ||
int32 * | size, | ||
int32 * | nt, | ||
int32 * | nattr | ||
) |
HDFLIBAPI intn SDend | ( | int32 | fid | ) |
HDFLIBAPI intn SDendaccess | ( | int32 | id | ) |
HDFLIBAPI intn SDfileinfo | ( | int32 | fid, |
int32 * | datasets, | ||
int32 * | attrs | ||
) |
HDFLIBAPI uint16 SDgerefnumber | ( | int32 | sdsid | ) |
HDFLIBAPI intn SDget_maxopenfiles | ( | intn * | curr_max, |
intn * | sys_limit | ||
) |
HDFLIBAPI intn SDget_numopenfiles | ( | ) |
HDFLIBAPI intn SDgetblocksize | ( | int32 | sdsid, |
int32 * | block_size | ||
) |
HDFLIBAPI intn SDgetcal | ( | int32 | sdsid, |
float64 * | cal, | ||
float64 * | cale, | ||
float64 * | ioff, | ||
float64 * | ioffe, | ||
int32 * | nt | ||
) |
HDFLIBAPI intn SDgetchunkinfo | ( | int32 | sdsid, |
HDF_CHUNK_DEF * | chunk_def, | ||
int32 * | flags | ||
) |
HDFLIBAPI intn SDgetcompinfo | ( | int32 | id, |
comp_coder_t * | type, | ||
comp_info * | c_info | ||
) |
HDFLIBAPI intn SDgetcompress | ( | int32 | id, |
comp_coder_t * | type, | ||
comp_info * | c_info | ||
) |
HDFLIBAPI intn SDgetcomptype | ( | int32 | id, |
comp_coder_t * | type | ||
) |
HDFLIBAPI intn SDgetdatasize | ( | int32 | sdsid, |
int32 * | comp_size, | ||
int32 * | uncomp_size | ||
) |
HDFLIBAPI intn SDgetdatastrs | ( | int32 | sdsid, |
char * | l, | ||
char * | u, | ||
char * | f, | ||
char * | c, | ||
intn | len | ||
) |
HDFLIBAPI int32 SDgetdimid | ( | int32 | sdsid, |
intn | number | ||
) |
HDFLIBAPI intn SDgetdimscale | ( | int32 | id, |
void * | data | ||
) |
HDFLIBAPI intn SDgetdimstrs | ( | int32 | id, |
char * | l, | ||
char * | u, | ||
char * | f, | ||
intn | len | ||
) |
HDFLIBAPI intn SDgetexternalfile | ( | int32 | id, |
intn | buf_size, | ||
char * | ext_filename, | ||
int32 * | offset | ||
) |
HDFLIBAPI intn SDgetexternalinfo | ( | int32 | id, |
uintn | buf_size, | ||
char * | ext_filename, | ||
int32 * | offset, | ||
int32 * | length | ||
) |
HDFLIBAPI intn SDgetfilename | ( | int32 | fid, |
char * | filename | ||
) |
HDFLIBAPI intn SDgetfillvalue | ( | int32 | sdsid, |
void * | val | ||
) |
HDFLIBAPI intn SDgetinfo | ( | int32 | sdsid, |
char * | name, | ||
int32 * | rank, | ||
int32 * | dimsizes, | ||
int32 * | nt, | ||
int32 * | nattr | ||
) |
HDFLIBAPI intn SDgetnamelen | ( | int32 | sdsid, |
uint16 * | name_len | ||
) |
HDFLIBAPI intn SDgetrange | ( | int32 | sdsid, |
void * | pmax, | ||
void * | pmin | ||
) |
HDFLIBAPI int32 SDidtoref | ( | int32 | id | ) |
HDFLIBAPI hdf_idtype_t SDidtype | ( | int32 | an_id | ) |
HDFLIBAPI intn SDiscoordvar | ( | int32 | id | ) |
HDFLIBAPI intn SDisdimval_bwcomp | ( | int32 | dimid | ) |
HDFLIBAPI int32 SDisrecord | ( | int32 | id | ) |
HDFLIBAPI intn SDnametoindices | ( | int32 | fid, |
const char * | name, | ||
hdf_varlist_t * | var_list | ||
) |
HDFLIBAPI intn SDreadattr | ( | int32 | id, |
int32 | idx, | ||
void * | buf | ||
) |
HDFLIBAPI intn SDreadchunk | ( | int32 | sdsid, |
int32 * | origin, | ||
void * | datap | ||
) |
HDFLIBAPI intn SDreaddata | ( | int32 | sdsid, |
int32 * | start, | ||
int32 * | stride, | ||
int32 * | end, | ||
void * | data | ||
) |
HDFLIBAPI int32 SDreftoindex | ( | int32 | fid, |
int32 | ref | ||
) |
HDFLIBAPI intn SDreset_maxopenfiles | ( | intn | req_max | ) |
HDFLIBAPI int32 SDselect | ( | int32 | fid, |
int32 | idx | ||
) |
HDFLIBAPI intn SDsetaccesstype | ( | int32 | id, |
uintn | accesstype | ||
) |
HDFLIBAPI intn SDsetblocksize | ( | int32 | sdsid, |
int32 | block_size | ||
) |
HDFLIBAPI intn SDsetcal | ( | int32 | sdsid, |
float64 | cal, | ||
float64 | cale, | ||
float64 | ioff, | ||
float64 | ioffe, | ||
int32 | nt | ||
) |
HDFLIBAPI intn SDsetchunk | ( | int32 | sdsid, |
HDF_CHUNK_DEF | chunk_def, | ||
int32 | flags | ||
) |
HDFLIBAPI intn SDsetchunkcache | ( | int32 | sdsid, |
int32 | maxcache, | ||
int32 | flags | ||
) |
HDFLIBAPI intn SDsetcompress | ( | int32 | id, |
comp_coder_t | type, | ||
comp_info * | c_info | ||
) |
HDFLIBAPI intn SDsetdatastrs | ( | int32 | sdsid, |
const char * | l, | ||
const char * | u, | ||
const char * | f, | ||
const char * | c | ||
) |
HDFLIBAPI intn SDsetdimscale | ( | int32 | id, |
int32 | count, | ||
int32 | nt, | ||
void * | data | ||
) |
HDFLIBAPI intn SDsetdimval_comp | ( | int32 | dimid, |
intn | compt_mode | ||
) |
HDFLIBAPI intn SDsetfillmode | ( | int32 | id, |
intn | fillmode | ||
) |
HDFLIBAPI intn SDsetfillvalue | ( | int32 | sdsid, |
void * | val | ||
) |
HDFLIBAPI intn SDsetnbitdataset | ( | int32 | id, |
intn | start_bit, | ||
intn | bit_len, | ||
intn | sign_ext, | ||
intn | fill_one | ||
) |
HDFLIBAPI intn SDsetrange | ( | int32 | sdsid, |
void * | pmax, | ||
void * | pmin | ||
) |
HDFLIBAPI intn SDwritedata | ( | int32 | sdsid, |
int32 * | start, | ||
int32 * | stride, | ||
int32 * | end, | ||
void * | data | ||
) |