code: def pitremove(np, dem, filleddem, workingdir=None, mpiexedir=None, exedir=None, log_file=None,
                    runtime_file=None, hostfile=None):
          
          fname = TauDEM.func_name('pitremove')
          return TauDEM.run(FileClass.get_executable_fullpath(fname, exedir),
                            {'-z': dem}, workingdir,
                            None,
                            {'-fel': filleddem},
                            {'mpipath': mpiexedir, 'hostfile': hostfile, 'n': np},
                            {'logfile': log_file, 'runtimefile': runtime_file})
docs: Run pit remove using the flooding approach