<div dir="ltr"><div dir="ltr">Hi all<div><br></div><div>I'm trying to reorganize my hdf5 file by moving/renaming dozens of datasets, using mainly h5mv (loops are used to pass through all  groups and datasets)</div><div><br></div><div>My code is typically, where:</div><div><ul><li>Source = the path+name of the original dataset</li><li>Destination= the path + the new dataset name</li></ul></div><div><pre style="font-family:Monospaced"><span style="color:rgb(50,185,185)">h5flush</span><span style="color:rgb(74,85,219)">(</span><span style="color:rgb(0,0,0)">h5</span><span style="color:rgb(74,85,219)">)</span><span style="color:rgb(0,0,0)">;</span> <span style="color:rgb(100,174,100);font-style:italic"> </span>
<span style="color:rgb(50,185,185)">h5mv</span><span style="color:rgb(74,85,219)">(</span><span style="color:rgb(0,0,0)">h5</span><span style="color:rgb(0,0,0)">,</span> <span style="color:rgb(0,0,0)">Source</span><span style="color:rgb(0,0,0)">,</span> <span style="color:rgb(0,0,0)">h5</span><span style="color:rgb(0,0,0)">,</span> <span style="color:rgb(0,0,0)">Destination</span><span style="color:rgb(74,85,219)">)</span><span style="color:rgb(0,0,0)">;</span></pre></div><div><br></div><div>Trouble I'm confront to:</div><div><ul><li>It works only ounce and I do not understand why, even flushing hdf5 object</li><li>I can note that after <i>h5mv</i>, <i>h5flush</i> does not work anymore</li><li>hdf5 object becomes "invalide"</li></ul></div><div>What am I doing wrong?<br></div><div><br></div><div>Thanks for any advice</div><div><br></div><div>Paul</div></div></div>