Coder Social home page Coder Social logo

Comments (4)

dtarb avatar dtarb commented on August 19, 2024

@chamesoul take a look at the retention limited runoff function. This is new (ish) and only implemented in the command line set of functions, not in ArcGIS toolbox and there is no documentation. It is sketched out in #124

It is implemented in RetlimFlow.cpp and I think that line 175 effectively does what you want.

I think that if you provide this function with weight grid the grid that has positive and negative values, and retention capacity grid 0, that you will get what you want.

It may also be that the retention limited concept addresses your problem in a way that you like better. Rather than inputting a weight that is runoff minus infiltration capacity, you could input these as separate quantities (runoff as the weight and infiltration capacity as the retention capacity) and have the program do the differencing and only pass the positive quantity downslope.

Sadly, I have had limited time to keep the documentation of TauDEM up to date and have not had time to roll this function into the main release (and it has been years now). I've had others ask about this fundtion and my temporary distribution is at https://hydrology.usu.edu/docs/RetLimFlow.zip. You could also compile from source if you want to tweak it.

This is implemented in Dinfinity flow model (not D8) .

from taudem.

chamesoul avatar chamesoul commented on August 19, 2024

Thank you for your fast answer, I'll try to advance with what you told me (I wanted to compare AreaD8 with AreaDInf in my study but I guess it's a no-go then), I'll come back here if any issue arises or close the topic if all's good

from taudem.

dtarb avatar dtarb commented on August 19, 2024

You could take the D8 flow directions (1, 2, ..., 8) and map them onto Dinfinity angles (0, pi/4, pi/2, ...7pi/4) and use these in the Dinfinity function to get what D8 would have given.

from taudem.

chamesoul avatar chamesoul commented on August 19, 2024

Thank you so much for your help!

from taudem.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.