The xarray wrapping of Whitebox tools within this fork worked around existing logic for subprocess management (i.e. adding to existing code where it may be better to combine / simplify). If I recall correctly, some of the code in whitebox_tools/whitebox*.py could be simplified. Review that code and if anything can be removed or clarified, specifically with respect to subprocesses and piping/printing the outputs of subprocesses.
The xarray wrapping of Whitebox tools within this fork worked around existing logic for subprocess management (i.e. adding to existing code where it may be better to combine / simplify). If I recall correctly, some of the code in
whitebox_tools/whitebox*.py
could be simplified. Review that code and if anything can be removed or clarified, specifically with respect to subprocesses and piping/printing the outputs of subprocesses.