ADIOS2 icon indicating copy to clipboard operation
ADIOS2 copied to clipboard

Python: Get varible info without reading the bulk data

Open liangwang0734 opened this issue 11 months ago • 0 comments

Hi, what is the "counterpart" of h5py dataset for the variables in adios2 python interface, so that I can retrieve some meta info of the underlying data?

In h5py, I can do

fh = h5py.File(filename, "r")
dset = fh["x"]
print(dset.shape)

One workaround is to find the info from the dictionary returned by available_variables, but that is a little inconvenient as the attributes there are strings and I have to convert them.

liangwang0734 avatar Aug 22 '23 17:08 liangwang0734