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
492 stars 173 forks source link

adds --parallel-options option to parallel_stereo #336

Closed AndrewAnnex closed 3 years ago

AndrewAnnex commented 3 years ago

adds gnu parallel options pass-through for parallel_stereo

Description

adds a argparse param to parallel_stereo that accepts a string input of additional parameters for gnu parallel, currently not parsed/validated in any way as we assume gnu_parallel will handle the errors.

Related Issue

fixes #335

Motivation and Context

allows passing in flags such as sshdelay to gnuparallel to work within bounds of hpc clusters

How Has This Been Tested?

not tested

Types of changes

Checklist:

Licensing:

This project is released under the LICENSE.

AndrewAnnex commented 3 years ago

note, the call to split(' ') may not actually be needed at all, I just decided to have it for now to be consistent with the cmd list variable

oleg-alexandrov commented 3 years ago

Andrew, thank you!

I tweaked a bit the doc, while hopefully reflecting your original intent.