Skip to content

Commit

Permalink
v 0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Jordan committed Apr 12, 2020
1 parent 6d27589 commit 503b6e7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion RUN_disturbance.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@
new_denude = [[]] # gamma shape and scale values for new denudation/erosion rates from disturbance. Can be single
# values for all disturbance (i.e. [shape, scale]) or a list of values for each
# segment in the segment ID list (i.e. [shape, scale],[shape, scale]... for each segment).
dist_d50 = [] # a single value or list of values for each disturbed segment (in the same order) of the median grain
# size of the sediment the channel receives from the disturbance.

# run disturbance - do not modify
dist = disturbance.Disturbances(network)
Expand All @@ -42,7 +44,7 @@
if len(segid2) != len(new_denude):
raise Exception('segment ID list and new denude list have different lengths')

dist.add_disturbance(segid2, dist_start=dist_start, dist_end=dist_end, new_denude=new_denude)
dist.add_disturbance(segid2, dist_start=dist_start, dist_end=dist_end, new_denude=new_denude, dist_d50=dist_d50)

dist2 = disturbance.Disturbances(network)
dist2.update_direct_da()
Expand Down
Binary file modified SeRFE_manual.pdf
Binary file not shown.

0 comments on commit 503b6e7

Please sign in to comment.