I was trying to call the mt_prep_snap script in the Amplitude dispersion step. However, I can’t make it. But it seems like the script is working, as you can see when I call it without parameters. Looks like nothing wrong with it—many thanks.
Why are your prepared files stored inside a “prep” folder? If you want to have the processed data in a separate directory, simply create one and navigate in there and call the mt_prep_snap command pointing to the data where your prepared files are located (without /prep)
Also, there is no need to put the path in quotation marks.
Thanks for your help. I have tried the command without the /prep which you can see from my first image. I think it’s some software setup problem. I have reinstalled my Ubuntu system and see how it goes.
This is the error that I am getting. As you can see, I’ve attempted the solution mentioned on this topic, but it still doesn’t work. It also shows that mt_prep_snap is working (when I run the code on its own).
@geofisue I think it is running smoothly now! Thank you so much for both the quick responses and effectively identifying my issues. I truly am grateful for what you’ve done for me. Also, thanks @ABraun for the solution that you posted in a previous post. It worked like magic.
Glad it is working. The SNAP forum is building a large collection of problem solutions, but it is important to think about the next person with the same problem. In the future, please be more explicit about the fix so the next person doesn’t have to search for it. The details of fixes often change over time, so it is is good to have a recent post that fully explains the fix so we can know the latest time when the fix was successful.