Comments (3)
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.
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.
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)
- InunMap executable not created during compile HOT 3
- Process refusing to die? HOT 1
- Burned flow direction HOT 4
- updateParameters Execution Error HOT 4
- Parameters Execution Error: Runtime error Traceback HOT 3
- job abortion when run aread8 HOT 2
- Stream Reach and Watershed HOT 1
- Error in GNU/Linux Ubuntu 22.04 HOT 2
- Pit Remove failed HOT 1
- ERROR TauDEM 000732 HOT 3
- ERROR 000732: Input Raster Dataset #19 HOT 1
- D-infinite Transport limited accumulation returns no value on some cells HOT 5
- aread8 difference in GDAL versions > 3.4.3 HOT 1
- Pit removel does not work with -depmask HOT 4
- PitRemoven.cpp not buiding
- Gaps in GageWatershed outputs HOT 6
- I have encountered a problem and I need urgent assistance. Thank you very much for your help. HOT 2
- Compilation errors HOT 6
- Error 127 when installing on a remote server
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
š Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ā¤ļø Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from taudem.