JLD.jl icon indicating copy to clipboard operation
JLD.jl copied to clipboard

how to determine the Julia type of dataset elements

Open ExpandingMan opened this issue 8 years ago • 0 comments
trafficstars

Is there any way of determining the eltype of a dataset containing Julia compound types? I assume the answer is yes, since once I actually read elements out of the dataset they get converted correctly. If one does eltype(dset) one gets HDF5Compound which isn't particularly helpful. For the time being as a work-around I'm reading in just the first element of the dataset and checking for what type it gets converted to.

ExpandingMan avatar Apr 06 '17 19:04 ExpandingMan