Note
This page was generated from a jupyter notebook.
Run with Transient Uplift¶
To observe the landscape response to increased uplift, we set a new uplift rate, run for 10,000 years, and plot the normalized channel steepness at every 1000 years.
Set new parameters
[ ]:
rock_uplift_rate = 0.001 # increased by a factor of 0
time_interval = 1000 # interval between each plot
run_time = 10000 # total run time
elapsed_time = 0 # reset elapsed time to 0
Run loop at plot at each interval
[ ]:
for elapsed_time in trange(0, run_time, timestep):
if elapsed_time % time_interval == 0: # if time interval is reached, plot
prf.run_one_step()
steepness_finder.calculate_steepnesses()
plt.figure(6)
plt.figure(figsize=(6, 2))
for i, outlet_id in enumerate(prf.data_structure):
for j, segment_id in enumerate(prf.data_structure[outlet_id]):
if j == 0:
label = f"channel {i + 1}"
else:
label = "_nolegend_"
segment = prf.data_structure[outlet_id][segment_id]
profile_ids = segment["ids"]
distance_upstream = segment["distances"]
color = segment["color"]
plt.plot(
distance_upstream,
grid.at_node["channel__steepness_index"][profile_ids],
"x",
color=color,
label=label,
)
plt.xlabel("distance upstream (m)")
plt.ylabel("steepness index")
plt.legend(loc="lower left")
plt.title(f"Steepness index at t = {elapsed_time}")
# Run the flow router
flow_accumulator.run_one_step()
# Run the depression finder and router; optional
depression_finder.map_depressions()
# Run the SSPM model for one timestep
shared_stream_power.run_one_step(dt=timestep)
# Move elevation of core nodes upwards relative to base level
# at the rock uplift rate
grid.at_node["topographic__elevation"][grid.core_nodes] += (
rock_uplift_rate * timestep
)
References¶
Hergarten, S. (2021). The influence of sediment transport on stationary and mobile knickpoints in river profiles. Journal of Geophysical Research: Earth Surface, 126, e2021JF006218. https://doi.org/10.1029/2021JF006218