JLD.jl
JLD.jl copied to clipboard
how to determine the Julia type of dataset elements
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.