ADIOS2
ADIOS2 copied to clipboard
Python: Get varible info without reading the bulk data
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.