Project-OSmOSE / OSEkit

OSEkit is an open source suite of tools written in python and dedicated to the management and analysis of data in underwater passive acoustics.
https://osmose.ifremer.fr
Other
3 stars 2 forks source link

Dataset build moves audio to incorrect folder #201

Open PCarvaillo opened 1 day ago

PCarvaillo commented 1 day ago

On an existing dataset, if I build with new target SR or new target spectro duration, the build moves my old data to the original file folder.

Typiquement si j’ai un dossier initial 152_312500, que je fais un premier process en 10_5000, puis que je tente de le relancer en 10_10000 (par exemple), il va me déplacer tout les 10_5000 dans le 152_312500 avant de me faire un 10_10000. Je voudrais garder les deux.

Demonstration: Before build - 2 audio files in folder image

I launch the first build process with sr=10000 and duration = 5 : LOGS: image

SERVER: image ==> Everything is fine until now, spectrogram generation (not shown here) also seems to work

Now I want to segment my data with sr=10000 and duration = 10sec: LOGS: image SERVER: image ==> The 5_10000 folder disapeared !

image ==> my 5_10000 files are now in my 152_312500 folder !

Expected behavior:

I would expect the 5_10000 folder to remain unchanged and 10_10000 folder contain my new segments. Or should I not build twice ?

Can someone tell me if you have the same issue on your server?

PCarvaillo commented 1 day ago

Note: Whether I change sr or spectro_duration, bug is same note2: I can change spectro parameters without any visible issues, the spectrogram generation generates in new folder without moving my previous data