Coder Social home page Coder Social logo

DropAnalysis about taudem HOT 3 OPEN

EricOGoodwin avatar EricOGoodwin commented on August 19, 2024
DropAnalysis

from taudem.

Comments (3)

dtarb avatar dtarb commented on August 19, 2024

Eric,
This R script is pretty old (from CSDMS workshop in 2011). I suspect that at some point between then and now we changed the name of the column that Streamnet outputs from just "Order" to "strmOrder", likely in an attempt to make it more explicit. I suggest looking at the shapefile *net.shp to see what its columns are and using those in the plotting. I'm not sure that looking at the C++ code will really help. It would confirm for you what you can likely see in the shapefile. The help information on this function https://hydrology.usu.edu/taudem/taudem5/help53/StreamReachAndWatershed.html does indicate strmOrder as one of the output columns. I hope this helps.
Dave

from taudem.

EricOGoodwin avatar EricOGoodwin commented on August 19, 2024

Thanks for your quick response Dave! Amazing that the script was that old, and still (mostly!) works fine. Good stuff. I think I switched from use of raster to terra, and it all just worked smoothly.
Thanks yes, I'd figured out the correct column name as strmOrder, and had got that working correctly, but I havent had any luck getting the drop analysis running. I just wondered if there was a hardcoded reference to the old column name in the C++, but that seems unlikely.

Calling dropanalysis returns the generic help output. Pretty hard to figure out what's going wrong there!

I had been hoping to be able to invert my DEM to identify ridgelines, but after a bit of reading I understand now why that can't be done with these flow methods. ("Non-monotonic continuous downhill slope in conjugate topographic surface"!). Still, happy with where I've got to less than a day after installing the software! Thanks again for the functionality.

from taudem.

dtarb avatar dtarb commented on August 19, 2024

Given that ridgelines are generally the divides between watersheds, once you get to a shapefile that has watershed boundaries (e.g. from WaterShedGridToShapefile) it is perhaps just a few GIS operations to hone in on the ridgelines you want. There is a dependency on ArcGIS here the way TauDEM is implemented. The tool StreamNet (Stream Reach And Watershed) outputs watersheds as a raster, and then ArcGIS is used (in WaterShedGridToShapefile) to convert these to polygons. There is likely an R equivalent if you look hard enough.

The syntax of DropAnalysis is pretty tricky and if you are getting the generic help output it means you are not giving it the input it wants. See https://hydrology.usu.edu/taudem/taudem5/help53/StreamDropAnalysis.html where I have what documentation there is on this. Iā€™d be happy to look at your specific input syntax to help if needed.

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.