NeoGeographyToolkit / StereoPipeline

The NASA Ames Stereo Pipeline is a suite of automated geodesy & stereogrammetry tools designed for processing planetary imagery captured from orbiting and landed robotic explorers on other planets.
Apache License 2.0
478 stars 168 forks source link

Delete files and folders after parallel_stereo execution #414

Open ShashankBice opened 7 months ago

ShashankBice commented 7 months ago

Is your feature request related to a problem? Please describe. parallel_stereo clean up takes some time, which can be improved if files and folders are deleted in parallel.

Describe the solution you'd like I propose to replace this for loop with parallel invocations to clear these up using all available threads at disposal.

Describe alternatives you've considered Before this option in parallel_stereo existed, I used to do this myself in a custom python script using parallel techniques.

Additional context I will be very happy to provide a Pull request by next week if it is of value.

oleg-alexandrov commented 7 months ago

Sure. Looking forward to a pull request.