OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
h5io.h File Reference
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <hdf5.h>
Include dependency graph for h5io.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  h5io_str
 

Macros

#define H5IO_MAXDIM   6 /* the max # dimensions handled currently */
 
#define H5IO_TYP_FILE_ID   0 /* this is a file ID */
 
#define H5IO_TYP_GRP_ID   1 /* this is a group ID */
 
#define H5IO_TYP_DAT_ID   2 /* this is a dataset ID */
 
#define H5IO_DAT_RWALL   0 /* When read/write dataset, do all */
 
#define H5IO_DAT_RWSLICE   1 /* When read/write dataset, do slices */
 

Functions

int h5io_openw (char *, int, h5io_str *)
 
int h5io_openr (char *, int, h5io_str *)
 
int h5io_rd_attr (h5io_str *, char *, void *)
 
int h5io_set_grp (h5io_str *, char *, h5io_str *)
 
int h5io_set_ds (h5io_str *, char *, h5io_str *)
 
int h5io_rd_ds (h5io_str *, void *)
 
int h5io_rd_ds_slice (h5io_str *, int *, int *, void *)
 
int h5io_close (h5io_str *)
 
int h5io_mk_grp (h5io_str *, char *, h5io_str *)
 
int h5io_mk_ds (h5io_str *, char *, hid_t, int, int *, h5io_str *)
 
int h5io_wr_attr (h5io_str *, char *, hid_t, int, int *, void *)
 
int h5io_wr_attr_str (h5io_str *, char *, int, int *, int, char *)
 
int h5io_wr_ds (h5io_str *, void *)
 
int h5io_wr_ds_slice (h5io_str *, int *, int *, void *)
 
int h5io_attr_exist (h5io_str *, char *)
 
int h5io_info (h5io_str *, char *, H5T_class_t *, hid_t *, int *, int *, int *)
 
int h5io_grab_ds (h5io_str *, char *, void *)
 
int h5io_grab_ds_slice (h5io_str *, char *, int *, int *, void *)
 
int h5io_grp_contents (h5io_str *, int *, char ***, int **)
 
int h5io_inq_path (h5io_str *, char *, int *)
 

Macro Definition Documentation

◆ H5IO_DAT_RWALL

#define H5IO_DAT_RWALL   0 /* When read/write dataset, do all */

Definition at line 34 of file h5io.h.

◆ H5IO_DAT_RWSLICE

#define H5IO_DAT_RWSLICE   1 /* When read/write dataset, do slices */

Definition at line 35 of file h5io.h.

◆ H5IO_MAXDIM

#define H5IO_MAXDIM   6 /* the max # dimensions handled currently */

Definition at line 28 of file h5io.h.

◆ H5IO_TYP_DAT_ID

#define H5IO_TYP_DAT_ID   2 /* this is a dataset ID */

Definition at line 33 of file h5io.h.

◆ H5IO_TYP_FILE_ID

#define H5IO_TYP_FILE_ID   0 /* this is a file ID */

Definition at line 31 of file h5io.h.

◆ H5IO_TYP_GRP_ID

#define H5IO_TYP_GRP_ID   1 /* this is a group ID */

Definition at line 32 of file h5io.h.

Function Documentation

◆ h5io_attr_exist()

int h5io_attr_exist ( h5io_str *  ,
char *   
)

Definition at line 1451 of file h5io.c.

◆ h5io_close()

int h5io_close ( h5io_str *  )

Definition at line 115 of file h5io.c.

◆ h5io_grab_ds()

int h5io_grab_ds ( h5io_str *  ,
char *  ,
void *   
)

Definition at line 1347 of file h5io.c.

◆ h5io_grab_ds_slice()

int h5io_grab_ds_slice ( h5io_str *  ,
char *  ,
int *  ,
int *  ,
void *   
)

Definition at line 1396 of file h5io.c.

◆ h5io_grp_contents()

int h5io_grp_contents ( h5io_str *  ,
int *  ,
char ***  ,
int **   
)

Definition at line 1506 of file h5io.c.

◆ h5io_info()

int h5io_info ( h5io_str *  ,
char *  ,
H5T_class_t *  ,
hid_t *  ,
int *  ,
int *  ,
int *   
)

Definition at line 173 of file h5io.c.

◆ h5io_inq_path()

int h5io_inq_path ( h5io_str *  ,
char *  ,
int *   
)

Definition at line 1604 of file h5io.c.

◆ h5io_mk_ds()

int h5io_mk_ds ( h5io_str *  ,
char *  ,
hid_t  ,
int  ,
int *  ,
h5io_str *   
)

Definition at line 821 of file h5io.c.

◆ h5io_mk_grp()

int h5io_mk_grp ( h5io_str *  ,
char *  ,
h5io_str *   
)

Definition at line 778 of file h5io.c.

◆ h5io_openr()

int h5io_openr ( char *  ,
int  ,
h5io_str *   
)

Definition at line 4 of file h5io.c.

◆ h5io_openw()

int h5io_openw ( char *  ,
int  ,
h5io_str *   
)

Definition at line 68 of file h5io.c.

◆ h5io_rd_attr()

int h5io_rd_attr ( h5io_str *  ,
char *  ,
void *   
)

Definition at line 412 of file h5io.c.

◆ h5io_rd_ds()

int h5io_rd_ds ( h5io_str *  ,
void *   
)

Definition at line 505 of file h5io.c.

◆ h5io_rd_ds_slice()

int h5io_rd_ds_slice ( h5io_str *  ,
int *  ,
int *  ,
void *   
)

Definition at line 602 of file h5io.c.

◆ h5io_set_ds()

int h5io_set_ds ( h5io_str *  ,
char *  ,
h5io_str *   
)

Definition at line 324 of file h5io.c.

◆ h5io_set_grp()

int h5io_set_grp ( h5io_str *  ,
char *  ,
h5io_str *   
)

Definition at line 369 of file h5io.c.

◆ h5io_wr_attr()

int h5io_wr_attr ( h5io_str *  ,
char *  ,
hid_t  ,
int  ,
int *  ,
void *   
)

Definition at line 922 of file h5io.c.

◆ h5io_wr_attr_str()

int h5io_wr_attr_str ( h5io_str *  ,
char *  ,
int  ,
int *  ,
int  ,
char *   
)

Definition at line 1006 of file h5io.c.

◆ h5io_wr_ds()

int h5io_wr_ds ( h5io_str *  ,
void *   
)

Definition at line 1094 of file h5io.c.

◆ h5io_wr_ds_slice()

int h5io_wr_ds_slice ( h5io_str *  ,
int *  ,
int *  ,
void *   
)

Definition at line 1175 of file h5io.c.