[Scilab-users] h5mv / h5flush
Antoine Monmayrant
antoine.monmayrant at laas.fr
Sun May 24 14:38:06 CEST 2020
Hello Paul,
This is not a solution, but just tests to assert that the problem does
come from scilab and not from your datasets.
(1) Can you try to use command-line tool h5copy (that comes with the
hdf5-tools pacakge on a Debian/Ubuntu Linux distribution) to do it
outside of scilab?
If you succeed, that might be a bug in h5mv in scilab.
If you are under windows, there might be an equivalent tool, or you can
use WSL if under Windows10.
(2) I get that you are running this code inside some sort of loop,
right? Can you try to do it step-by-step on one of the file that fails?
By step-by-step I mean either Ctrl+E line by line in your code or one
command at a time in the console. This might help if it's a race
condition bug. I faced similar issues when manipulating the graphic
handle hierarchy within a loop.
Hope it helps,
Antoine
On 24/05/2020 12:22, paul francedixhuit wrote:
> Hi all
>
> 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)
>
> My code is typically, where:
>
> * Source = the path+name of the original dataset
> * Destination= the path + the new dataset name
>
> h5flush(h5);
> h5mv(h5, Source, h5, Destination);
>
> Trouble I'm confront to:
>
> * It works only ounce and I do not understand why, even flushing
> hdf5 object
> * I can note that after /h5mv/, /h5flush/ does not work anymore
> * hdf5 object becomes "invalide"
>
> What am I doing wrong?
>
> Thanks for any advice
>
> Paul
>
> _______________________________________________
> users mailing list
> users at lists.scilab.org
> http://lists.scilab.org/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20200524/c3cbea6f/attachment.htm>
More information about the users
mailing list