Is there an idiomatic way to check if all members of a compound data-type are present in a data-set before reading?
A collaborator sent me a file where one member name of a compound data-type had been mis-spelled, which led to a junk value filling this field after the
H5Dread call. I’m wondering what the best way to detect this and fail gracefully is. I have rigged something up with
H5Tget_nmembers and then iterating through
H5Tget_member_name, is there a better way?