Coder Social home page Coder Social logo

Burned flow direction about taudem HOT 4 OPEN

tcalegario avatar tcalegario commented on August 19, 2024
Burned flow direction

from taudem.

Comments (4)

dtarb avatar dtarb commented on August 19, 2024

@tcalegario what is the error that you get. The most likely problem with this third step is that streamnetRaster30m.tif is not constructed correctly for use by D8Flowdir. How did you obtain or calculate it? More broadly what are you trying to do?

from taudem.

tcalegario avatar tcalegario commented on August 19, 2024

@dtarb, thanks for your reply!

to obtain stremnetRaster30m.tif, I converted a polyline stream file to raster on ArcGis respecting the grid of "dem".

I'm trying to make my accumulated flow coincide with the mapped rivers that are in a shapefile.

from taudem.

tcalegario avatar tcalegario commented on August 19, 2024

@dtarb, I tried again moving "mapped streams" input to "pitremove" tool. But the result of flow Accumulation was not what I'm expecting (Figure below).

system("mpiexec -n 8 pitremove -z ./demProjected.tif -fel ./demPFillBurn.tif -sfdr ./stream30m.tif")

system("mpiexec -n 8 D8Flowdir -p ./Dir8.tif -sd8 ./SlopeDir8.tif -fel ./demPFillBurn.tif" ,show.output.on.console=F,invisible=F)

system("mpiexec -n 8 AreaD8 -p ./Dir8.tif -ad8 ./accumul_nc.tif -nc")

image

When I try to use -sfrd optional input on "D8Flowdir" I got error 65533.

system("mpiexec -n 8 D8Flowdir -p ./Dir8.tif -sd8 ./SlopeDir8.tif -fel ./demPFillBurn.tif -sfdr ./stream30m.tif" ,show.output.on.console=F,invisible=F)

Cause of my difficulty, I obtained flow accumulation using "whiteBox" package on R, and apparently worked fine (Figure Below). But I would like to compare both procedures (Taudem x WhiteBox). If there is a way to obtain "similar" result as "WhiteBox" please let me know. My goal is to automating watershed delineation on R.

image

Thanks a lot for your time.

from taudem.

lucarraro avatar lucarraro commented on August 19, 2024

Hello,

The R package traudem was just published on CRAN, and it might help you solve this issue.

What traudem does:

  • it guides installation of TauDEM and its dependencies GDAL and MPI for different OSs
  • it checks that TauDEM and its dependencies are correctly installed and included to the PATH
  • it provides wrapper commands for calling TauDEM methods from R

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.