ocssw
V2022
|
Classes | |
struct | binIndexStruct |
struct | binIndexStruct64_cdf4 |
struct | binIndexStruct_cdf4 |
struct | binListStruct |
struct | binListStruct64_cdf4 |
struct | binListStruct_cdf4 |
struct | binListStruct_hdf5 |
class | cdf4_bin |
class | hdf4_bin |
class | hdf5_bin |
class | hdf_bin |
Functions | |
hdf_bin * | openBinObject (const char *binFileName) |
int | create_vdata (int32_t fileid, int32_t vgid, int32_t *vdata_id, const char *vdata_name, const char *class_name, int32_t n_flds, char const *const fldname[], int32_t type[], int32_t noext, int32_t *aid) |
int32_t | write_vdata (int vdata_id, int32_t n_recs_to_write, void *data) |
int | read_binList (int n_elem, int32_t vdata_id_binlist, binListStruct *binList, l3::L3Shape *shape) |
int | write_binList (int n_elem, int32_t vdata_id_binlist, binListStruct *binList) |
int | write_prodData (int n_elem, int32_t vdata_id_proddata, float *data, binListStruct *binList) |
int | copy_prodData (int n_elem, int32_t *binsToCopy, char const *const fldname3[], int32_t in_vdata_id_proddata, int32_t out_vdata_id_proddata) |
int | create_compound (hid_t group_id, const char *dataset_name, hid_t *dataset_id, hid_t *type_id, size_t typesize, int32_t n_flds, char const *const fldname[], size_t offset[], hid_t type[], hid_t *filespace, hid_t dataspace) |
int | h5a_set (hid_t dataset, const char *nam, hid_t typ, hid_t cnt, void *data) |
hid_t | h5d_create (hid_t grp, const char *nam, hid_t typ, int rank, hsize_t d0, hsize_t d1, hsize_t d2, hsize_t d3, hsize_t d4, hsize_t d5, hid_t *dataset, hid_t *dataspace, hid_t plist) |
int | SetScalarH5A (hid_t id, const char *name, hid_t type, const void *value) |
int | CreateH5D (hid_t grp, const char *sname, const char *lname, const char *units, double low, double high, float slope, float offset, hid_t nt, int rank, int32_t d0, int32_t d1, int32_t d2, int32_t d3, int32_t d4, int32_t d5, const char *dn0, const char *dn1, const char *dn2, const char *dn3, const char *dn4, const char *dn5, hid_t plist) |
int | CreateH5D (hid_t grp, const char *sname, const char *lname, const char *stdname, const char *units, double low, double high, float slope, float offset, float fillvalue, hid_t nt, int rank, int32_t d0, int32_t d1, int32_t d2, int32_t d3, int32_t d4, int32_t d5, const char *dn0, const char *dn1, const char *dn2, const char *dn3, const char *dn4, const char *dn5, hid_t plist) |
herr_t | h5d_write (hid_t id, const char *name, void *data, hsize_t rank, hsize_t s[6], hsize_t e[6]) |
herr_t | h5d_read (hid_t id, const char *name, void *data, hsize_t rank, hsize_t s[6], hsize_t e[6]) |
Function Documentation
◆ copy_prodData()
int copy_prodData | ( | int | n_elem, |
int32_t * | binsToCopy, | ||
char const *const | fldname3[], | ||
int32_t | in_vdata_id_proddata, | ||
int32_t | out_vdata_id_proddata | ||
) |
Definition at line 229 of file bin_util.cpp.
◆ create_compound()
int create_compound | ( | hid_t | group_id, |
const char * | dataset_name, | ||
hid_t * | dataset_id, | ||
hid_t * | type_id, | ||
size_t | typesize, | ||
int32_t | n_flds, | ||
char const *const | fldname[], | ||
size_t | offset[], | ||
hid_t | type[], | ||
hid_t * | filespace, | ||
hid_t | dataspace | ||
) |
Definition at line 262 of file bin_util.cpp.
◆ create_vdata()
int create_vdata | ( | int32_t | fileid, |
int32_t | vgid, | ||
int32_t * | vdata_id, | ||
const char * | vdata_name, | ||
const char * | class_name, | ||
int32_t | n_flds, | ||
char const *const | fldname[], | ||
int32_t | type[], | ||
int32_t | noext, | ||
int32_t * | aid | ||
) |
Definition at line 10 of file bin_util.cpp.
◆ CreateH5D() [1/2]
int CreateH5D | ( | hid_t | grp, |
const char * | sname, | ||
const char * | lname, | ||
const char * | stdname, | ||
const char * | units, | ||
double | low, | ||
double | high, | ||
float | slope, | ||
float | offset, | ||
float | fillvalue, | ||
hid_t | nt, | ||
int | rank, | ||
int32_t | d0, | ||
int32_t | d1, | ||
int32_t | d2, | ||
int32_t | d3, | ||
int32_t | d4, | ||
int32_t | d5, | ||
const char * | dn0, | ||
const char * | dn1, | ||
const char * | dn2, | ||
const char * | dn3, | ||
const char * | dn4, | ||
const char * | dn5, | ||
hid_t | plist | ||
) |
Definition at line 288 of file hdf5util.cpp.
◆ CreateH5D() [2/2]
int CreateH5D | ( | hid_t | grp, |
const char * | sname, | ||
const char * | lname, | ||
const char * | units, | ||
double | low, | ||
double | high, | ||
float | slope, | ||
float | offset, | ||
hid_t | nt, | ||
int | rank, | ||
int32_t | d0, | ||
int32_t | d1, | ||
int32_t | d2, | ||
int32_t | d3, | ||
int32_t | d4, | ||
int32_t | d5, | ||
const char * | dn0, | ||
const char * | dn1, | ||
const char * | dn2, | ||
const char * | dn3, | ||
const char * | dn4, | ||
const char * | dn5, | ||
hid_t | plist | ||
) |
Definition at line 181 of file hdf5util.cpp.
◆ h5a_set()
int h5a_set | ( | hid_t | dataset, |
const char * | nam, | ||
hid_t | typ, | ||
hid_t | cnt, | ||
void * | data | ||
) |
Definition at line 41 of file hdf5util.cpp.
◆ h5d_create()
hid_t h5d_create | ( | hid_t | grp, |
const char * | nam, | ||
hid_t | typ, | ||
int | rank, | ||
hsize_t | d0, | ||
hsize_t | d1, | ||
hsize_t | d2, | ||
hsize_t | d3, | ||
hsize_t | d4, | ||
hsize_t | d5, | ||
hid_t * | dataset, | ||
hid_t * | dataspace, | ||
hid_t | plist | ||
) |
Definition at line 129 of file hdf5util.cpp.
◆ h5d_read()
herr_t h5d_read | ( | hid_t | id, |
const char * | name, | ||
void * | data, | ||
hsize_t | rank, | ||
hsize_t | s[6], | ||
hsize_t | e[6] | ||
) |
Definition at line 427 of file hdf5util.cpp.
◆ h5d_write()
herr_t h5d_write | ( | hid_t | id, |
const char * | name, | ||
void * | data, | ||
hsize_t | rank, | ||
hsize_t | s[6], | ||
hsize_t | e[6] | ||
) |
Definition at line 365 of file hdf5util.cpp.
◆ openBinObject()
create an new bin file object and open it. Will return an hdf4, hdf5 or netCDF bin file object.
- Parameters
-
binFileName name of the bin file to open
- Returns
- new bin object that needs to be deleted. NULL on failure.
Definition at line 32 of file bin_io.cpp.
◆ read_binList()
int read_binList | ( | int | n_elem, |
int32_t | vdata_id_binlist, | ||
binListStruct * | binList, | ||
l3::L3Shape * | shape | ||
) |
Definition at line 118 of file bin_util.cpp.
◆ SetScalarH5A()
Definition at line 166 of file hdf5util.cpp.
◆ write_binList()
int write_binList | ( | int | n_elem, |
int32_t | vdata_id_binlist, | ||
binListStruct * | binList | ||
) |
Definition at line 163 of file bin_util.cpp.
◆ write_prodData()
int write_prodData | ( | int | n_elem, |
int32_t | vdata_id_proddata, | ||
float * | data, | ||
binListStruct * | binList | ||
) |
Definition at line 202 of file bin_util.cpp.
◆ write_vdata()
int32_t write_vdata | ( | int | vdata_id, |
int32_t | n_recs_to_write, | ||
void * | data | ||
) |
Definition at line 105 of file bin_util.cpp.