Skip to content

add random seed and SER to rafem parameters #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions pymt_rafem/data/Rafem/input.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ max_rand: 0.1 # multiply by slope for max height of a random perturbation
dt_day: {{ time_step }} # timestep (days)

# Random seed
rand_seed: 1988 # seed for random number generator
rand_seed: {{ random_seed }} # seed for random number generator

# Sea level and subsidence parameters
Initial_SL: {{ sea_level_initial }} # initial sea level
Expand All @@ -32,7 +32,7 @@ sed_sg: {{ sediment_specific_gravity }} # sediment specific gravity
init_cut_frac: 1 # initial cut of the channel into land surface

# Avulsion parameters
super_ratio: 1.0 # normalized SE ratio to trigger avulsion
super_ratio: {{ superelevation_ratio }} # normalized SE ratio to trigger avulsion
short_path: 1 # flag for using shortest path to complete avulsion

# Floodplain and Wetland parameters
Expand Down
20 changes: 20 additions & 0 deletions pymt_rafem/data/Rafem/parameters.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,16 @@ time_step:
max: 1.0
units: day

random_seed:
description: Random random seed
value:
type: int
default: 1988
range:
min: 0
max: 999999999
units: '-'

sea_level_initial:
description: Initial sea level
value:
Expand Down Expand Up @@ -143,6 +153,16 @@ sediment_specific_gravity:
max: 100.0
units: '-'

superelevation_ratio:
description: Critical superelevation ratio
value:
type: float
default: 1.0
range:
min: 0.0001
max: 10.0
units: '-'

wetland_elevation:
description: Elevation that wetlands maintain above sea level
value:
Expand Down