def dump_dict_of_nested_lists_to_h5(fname, data):
<EOL>print('<STR_LIT>' % fname)<EOL>f = h5py.File(fname)<EOL>for i, ivalue in list(data.items()):<EOL><INDENT>igrp = f.create_group(str(i))<EOL>for j, jvalue in enumerate(ivalue):<EOL><INDENT>jgrp = igrp.create_group(str(j))<EOL>for k, kvalue in enumerate(jvalue):<EOL><INDENT>if kvalue.size > <NUM_LIT:0>:<EOL><INDENT>dset = jgrp.create_dataset(str(k), data=kvalue,<EOL>compression='<STR_LIT>')<EOL><DEDENT>else:<EOL><INDENT>dset = jgrp.create_dataset(str(k), data=kvalue,<EOL>maxshape=(None, ),<EOL>compression='<STR_LIT>')<EOL><DEDENT><DEDENT><DEDENT><DEDENT>f.close()<EOL>
Take nested list structure and dump it in hdf5 file.


Parameters
----------
fname : str 
    Filename
data : dict(list(numpy.ndarray))
    Dict of nested lists with variable len arrays.


Returns
-------
None