This page gives an overview of how to use the JunctionGetter driver to extract junctions of a given order for use in other analyses.
Here is a quick overview of how to set up and run the code, if you have done it before:
Simple driver to get the junctions of all non-beheaded basins in a DEM of a given stream order. The tool will generate:
This code is for research purposes and is under continuous development, so we cannot guarantee a bug-free experience!
See the other docs on this site for help with loading data into the correct format and general help with using this suite of software: Getting data into LSDTopoToolbox
The code is compiled using the provided makefile, JunctionGetter.make and the command:
make -f JunctionGetter.make
Which will create the binary file, JunctionGetter.out to be executed.
The driver is run with three arguments:
The syntax on a unix machine is as follows:
./JunctionGetter.out <path to DEM> <DEM filename> <stream order>
And an complete example (your path and filenames may vary):
./JunctionGetter.out /home/s0675405/basin_met_update/data/ Macon_DEM 2