def dinfdistdown(np, ang, fel, slp, src, statsm, distm, edgecontamination, wg, dist,
                     workingdir=None, mpiexedir=None, exedir=None,
                     log_file=None, runtime_file=None, hostfile=None):
        """Run D-inf distance down to stream"""
        in_params = {'-m': '%s %s' % (TauDEM.convertstatsmethod(statsm),
                                      TauDEM.convertdistmethod(distm))}
        if StringClass.string_match(edgecontamination, 'false') or edgecontamination is False:
            in_params['-nc'] = None
        fname = TauDEM.func_name('dinfdistdown')
        return TauDEM.run(FileClass.get_executable_fullpath(fname, exedir),
                          {'-fel': fel, '-slp': slp, '-ang': ang, '-src': src, '-wg': wg},
                          workingdir,
                          in_params,
                          {'-dd': dist},
                          {'mpipath': mpiexedir, 'hostfile': hostfile, 'n': np},
                          {'logfile': log_file, 'runtimefile': runtime_file})
Run D-inf distance down to stream