Page History
...
during the second event, the Translator would throw an error. Both of these arrays are supposed to go into an hdf5 path that ends with
/ndarray_float32_2/noSrc__mykey
but the underlying hdf5 type for this dataset has been set to a 2D array with dimensions (3,4). At present, one can One option is to start a new dataset during the second event with a different key:
event.put(numpy.zeros((5,4),"mykey_larger")
to resolve this. In the near future, the Translator will support translation of ndarrays that vary The Translator supports variable length arrays in the same dataset, as long as the variation is only in the slow dimension to the same dataset. This feature will be activated with a modified key. One would prepend . To use this option, one informs the Translator to set up a dataset of variable length arrays by pre-pending 'translate_vlen:' to the start of the keys. For example:
...
/ndarray_float32_2_vlen/noSrc__mykey
as opposed to
/ndarray_float32_2/noSrc__mykey
in the case of fixed length datasets.
Warning |
---|
The fully qualified ndarray nameing naming scheme is subject to change. |
...