Skip to content

Commit

Permalink
more alg steps
Browse files Browse the repository at this point in the history
  • Loading branch information
jtgilbert committed Dec 10, 2024
1 parent f35c05a commit 80a735f
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion docs/content/page/vbet/algorithm.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,10 @@ VBET generates valley bottom on a stream by stream basis (using 'level_path' for
4. **Generate Slope raster**: the slope raster is generated from the clipped DEM (or clipped to the extent of the DEM if an input slope raster is provided).
5. **Transform HAND and slope rasters into evidence rasters**: the HAND and slope rasters are transformed into rasters with values from 0 to 1, where 0 represents low evidence and 1 represents strong evidence. The transformations are performed using log-likelihood functions that were calibrated by taking points at different locations within and outside of riverscapes, classifying them as valley bottom or not, and extracting the slope and HAND values at those points. This was performed on a dataset of thousands of points across the United States.
6. **Inverse distance weighting of slope evidence**: the slope raster is reweighted using the inverse of the distance from the stream channel. This is done to give more weight to the low slope values near the stream channel relative to low slope values far from the channel (e.g. ridge tops have low slopes but are essentially the opposite of valley bottom). This is done by computing a proximity raster from the rasterized channel area input. For each slope evidence raster cell, the square root of the distance at that cell divided by the square root of the maximum distance is subtracted from the slope evidence value.
7. **Combine evidence rasters**: the slope and HAND evidence rasters are combined using a weighted product. The weights can be set by the user, but the default is 0.65 for HAND and 0.35 for slope. Cells that correspond with the channel area raster are automatically set to 0.995.
7. **Combine evidence rasters**: the slope and HAND evidence rasters are combined using a weighted product. The weights can be set by the user, but the default is 0.65 for HAND and 0.35 for slope. Cells that correspond with the channel area raster are automatically set to 0.995.
8. **Threshold the combined evidence raster**: the combined evidence raster is thresholded at 0.65 to extract the full valley bottom, and 0.85 to extract the low-lying valley bottom, and those extents are polygonized and cleaned to remove small isolated features.
9. **Generate centerline for valley bottom**: a least cost path raster analysis is used to genereate a raster representing the centerline of the valley bottom, which is then converted to a polyline.
10. **Generate integrated geographic object (IGO) points**: points are dropped along the centerline at a specified interval, determined by the size category of the stream (i.e., in larger streams the spacing between points is larger).
11. **Segment the valley bottom into discrete geographic object (DGO) polygons**: The IGO points are used to generate Voronoi polygons, which are then clipped to the valley bottom extent to 'segment' the valley bottom and generate DGO polygons.
12. **Calculate metrics for each DGO**: metrics are calculated for each DGO polygon.
13. **Calculate moving window metrics for IGOs**: metrics are calculated for each IGO point based on the DGOs within a specified analysis window around the IGO point. For example a moving window may be specified as two polygons up and downstream of a given point; the resulting analysis window would consist of five DGOs (the two up and downstream and the polygon associated with the IGO point itself).

0 comments on commit 80a735f

Please sign in to comment.