MISR Toolkit  1.5.1
Data Structures | Macros | Typedefs | Enumerations | Functions
mfhdf.h File Reference
#include "H4api_adpt.h"
#include "hdf.h"
#include "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 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 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)
 

Macro Definition Documentation

◆ HDF

#define HDF   1

Definition at line 20 of file mfhdf.h.

◆ SD_DIMVAL_BW_COMP

#define SD_DIMVAL_BW_COMP   1

Definition at line 43 of file mfhdf.h.

◆ SD_DIMVAL_BW_INCOMP

#define SD_DIMVAL_BW_INCOMP   0

Definition at line 44 of file mfhdf.h.

◆ SD_FILL

#define SD_FILL   NC_FILL

Definition at line 42 of file mfhdf.h.

◆ SD_NOFILL

#define SD_NOFILL   NC_NOFILL

Definition at line 41 of file mfhdf.h.

◆ SD_RAGGED

#define SD_RAGGED   -1 /* marker for ragged dimension */

Definition at line 45 of file mfhdf.h.

◆ SD_UNLIMITED

#define SD_UNLIMITED   NC_UNLIMITED /* use this as marker for unlimited dimension */

Definition at line 40 of file mfhdf.h.

Typedef Documentation

◆ hdf_varlist_t

typedef struct hdf_varlist hdf_varlist_t

Enumeration Type Documentation

◆ hdf_idtype_t

Enumerator
NOT_SDAPI_ID 
SD_ID 
SDS_ID 
DIM_ID 
NOT_SDAPI_ID 
SD_ID 
SDS_ID 
DIM_ID 

Definition at line 55 of file mfhdf.h.

Function Documentation

◆ SDattrinfo()

HDFLIBAPI intn SDattrinfo ( int32  id,
int32  idx,
char *  name,
int32 *  nt,
int32 *  count 
)

◆ SDcheckempty()

HDFLIBAPI int32 SDcheckempty ( int32  sdsid,
intn *  emptySDS 
)

◆ SDcreate()

HDFLIBAPI int32 SDcreate ( int32  fid,
const char *  name,
int32  nt,
int32  rank,
int32 *  dimsizes 
)

◆ SDdiminfo()

HDFLIBAPI intn SDdiminfo ( int32  id,
char *  name,
int32 *  size,
int32 *  nt,
int32 *  nattr 
)

◆ SDend()

HDFLIBAPI intn SDend ( int32  fid)

◆ SDendaccess()

HDFLIBAPI intn SDendaccess ( int32  id)

◆ SDfileinfo()

HDFLIBAPI intn SDfileinfo ( int32  fid,
int32 *  datasets,
int32 *  attrs 
)

◆ SDfindattr()

HDFLIBAPI int32 SDfindattr ( int32  id,
const char *  attrname 
)

◆ SDgerefnumber()

HDFLIBAPI uint16 SDgerefnumber ( int32  sdsid)

◆ SDget_maxopenfiles()

HDFLIBAPI intn SDget_maxopenfiles ( intn *  curr_max,
intn *  sys_limit 
)

◆ SDget_numopenfiles()

HDFLIBAPI intn SDget_numopenfiles ( )

◆ SDgetcal()

HDFLIBAPI intn SDgetcal ( int32  sdsid,
float64 *  cal,
float64 *  cale,
float64 *  ioff,
float64 *  ioffe,
int32 *  nt 
)

◆ SDgetchunkinfo()

HDFLIBAPI intn SDgetchunkinfo ( int32  sdsid,
HDF_CHUNK_DEF chunk_def,
int32 *  flags 
)

◆ SDgetcompinfo()

HDFLIBAPI intn SDgetcompinfo ( int32  id,
comp_coder_t type,
comp_info c_info 
)

◆ SDgetcompress()

HDFLIBAPI intn SDgetcompress ( int32  id,
comp_coder_t type,
comp_info c_info 
)

◆ SDgetcomptype()

HDFLIBAPI intn SDgetcomptype ( int32  id,
comp_coder_t type 
)

◆ SDgetdatasize()

HDFLIBAPI intn SDgetdatasize ( int32  sdsid,
int32 *  comp_size,
int32 *  uncomp_size 
)

◆ SDgetdatastrs()

HDFLIBAPI intn SDgetdatastrs ( int32  sdsid,
char *  l,
char *  u,
char *  f,
char *  c,
intn  len 
)

◆ SDgetdimid()

HDFLIBAPI int32 SDgetdimid ( int32  sdsid,
intn  number 
)

◆ SDgetdimscale()

HDFLIBAPI intn SDgetdimscale ( int32  id,
void *  data 
)

◆ SDgetdimstrs()

HDFLIBAPI intn SDgetdimstrs ( int32  id,
char *  l,
char *  u,
char *  f,
intn  len 
)

◆ SDgetexternalfile()

HDFLIBAPI intn SDgetexternalfile ( int32  id,
intn  buf_size,
char *  ext_filename,
int32 *  offset 
)

◆ SDgetfilename()

HDFLIBAPI intn SDgetfilename ( int32  fid,
char *  filename 
)

◆ SDgetfillvalue()

HDFLIBAPI intn SDgetfillvalue ( int32  sdsid,
void *  val 
)

◆ SDgetinfo()

HDFLIBAPI intn SDgetinfo ( int32  sdsid,
char *  name,
int32 *  rank,
int32 *  dimsizes,
int32 *  nt,
int32 *  nattr 
)

◆ SDgetnamelen()

HDFLIBAPI intn SDgetnamelen ( int32  sdsid,
uint16 *  name_len 
)

◆ SDgetnumvars_byname()

HDFLIBAPI intn SDgetnumvars_byname ( int32  fid,
const char *  name,
int32 *  n_vars 
)

◆ SDgetrange()

HDFLIBAPI intn SDgetrange ( int32  sdsid,
void *  pmax,
void *  pmin 
)

◆ SDidtoref()

HDFLIBAPI int32 SDidtoref ( int32  id)

◆ SDidtype()

HDFLIBAPI hdf_idtype_t SDidtype ( int32  an_id)

◆ SDiscoordvar()

HDFLIBAPI intn SDiscoordvar ( int32  id)

◆ SDisdimval_bwcomp()

HDFLIBAPI intn SDisdimval_bwcomp ( int32  dimid)

◆ SDisrecord()

HDFLIBAPI int32 SDisrecord ( int32  id)

◆ SDnametoindex()

HDFLIBAPI int32 SDnametoindex ( int32  fid,
const char *  name 
)

◆ SDnametoindices()

HDFLIBAPI intn SDnametoindices ( int32  fid,
const char *  name,
hdf_varlist_t var_list 
)

◆ SDreadattr()

HDFLIBAPI intn SDreadattr ( int32  id,
int32  idx,
void *  buf 
)

◆ SDreadchunk()

HDFLIBAPI intn SDreadchunk ( int32  sdsid,
int32 *  origin,
void *  datap 
)

◆ SDreaddata()

HDFLIBAPI intn SDreaddata ( int32  sdsid,
int32 *  start,
int32 *  stride,
int32 *  end,
void *  data 
)

◆ SDreftoindex()

HDFLIBAPI int32 SDreftoindex ( int32  fid,
int32  ref 
)

◆ SDreset_maxopenfiles()

HDFLIBAPI intn SDreset_maxopenfiles ( intn  req_max)

◆ SDselect()

HDFLIBAPI int32 SDselect ( int32  fid,
int32  idx 
)

◆ SDsetaccesstype()

HDFLIBAPI intn SDsetaccesstype ( int32  id,
uintn  accesstype 
)

◆ SDsetattr()

HDFLIBAPI intn SDsetattr ( int32  id,
const char *  name,
int32  nt,
int32  count,
const void *  data 
)

◆ SDsetblocksize()

HDFLIBAPI intn SDsetblocksize ( int32  sdsid,
int32  block_size 
)

◆ SDsetcal()

HDFLIBAPI intn SDsetcal ( int32  sdsid,
float64  cal,
float64  cale,
float64  ioff,
float64  ioffe,
int32  nt 
)

◆ SDsetchunk()

HDFLIBAPI intn SDsetchunk ( int32  sdsid,
HDF_CHUNK_DEF  chunk_def,
int32  flags 
)

◆ SDsetchunkcache()

HDFLIBAPI intn SDsetchunkcache ( int32  sdsid,
int32  maxcache,
int32  flags 
)

◆ SDsetcompress()

HDFLIBAPI intn SDsetcompress ( int32  id,
comp_coder_t  type,
comp_info c_info 
)

◆ SDsetdatastrs()

HDFLIBAPI intn SDsetdatastrs ( int32  sdsid,
const char *  l,
const char *  u,
const char *  f,
const char *  c 
)

◆ SDsetdimname()

HDFLIBAPI intn SDsetdimname ( int32  id,
const char *  name 
)

◆ SDsetdimscale()

HDFLIBAPI intn SDsetdimscale ( int32  id,
int32  count,
int32  nt,
void *  data 
)

◆ SDsetdimstrs()

HDFLIBAPI intn SDsetdimstrs ( int32  id,
const char *  l,
const char *  u,
const char *  f 
)

◆ SDsetdimval_comp()

HDFLIBAPI intn SDsetdimval_comp ( int32  dimid,
intn  compt_mode 
)

◆ SDsetexternalfile()

HDFLIBAPI intn SDsetexternalfile ( int32  id,
const char *  filename,
int32  offset 
)

◆ SDsetfillmode()

HDFLIBAPI intn SDsetfillmode ( int32  id,
intn  fillmode 
)

◆ SDsetfillvalue()

HDFLIBAPI intn SDsetfillvalue ( int32  sdsid,
void *  val 
)

◆ SDsetnbitdataset()

HDFLIBAPI intn SDsetnbitdataset ( int32  id,
intn  start_bit,
intn  bit_len,
intn  sign_ext,
intn  fill_one 
)

◆ SDsetrange()

HDFLIBAPI intn SDsetrange ( int32  sdsid,
void *  pmax,
void *  pmin 
)

◆ SDstart()

HDFLIBAPI int32 SDstart ( const char *  name,
int32  accs 
)

◆ SDwritechunk()

HDFLIBAPI intn SDwritechunk ( int32  sdsid,
int32 *  origin,
const void *  datap 
)

◆ SDwritedata()

HDFLIBAPI intn SDwritedata ( int32  sdsid,
int32 *  start,
int32 *  stride,
int32 *  end,
void *  data 
)

MISR Toolkit - Copyright © 2005 - 2020 Jet Propulsion Laboratory
Generated on Fri Jun 19 2020 22:49:53