Check if dataset exist before creating?


#1

Hi,

I am calling H5Dcreate2 but I’d like to avoid calling this if the name already exists.

H5_DLL hid_t H5Dcreate2(hid_t loc_id, const char *name, hid_t type_id,
    hid_t space_id, hid_t lcpl_id, hid_t dcpl_id, hid_t dapl_id);

What functionality exists in finding/searching or checking if a dataset name already exists ?

Cheers


#2

HtLexist()