-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Liu
committed
Jan 3, 2024
1 parent
6034967
commit 2ef7bf3
Showing
1 changed file
with
6 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2ef7bf3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Currently these are magic numbers, e.g. 9.1363, -0.008519 etc. They should be at least introduced as named parameters, e.g.
slope coefficient
etc. and their values should be set for a given run. This way users can at least understand where these numbers come from and, in the future, they can be tweaked if we want to use other erosion parameters, e.g. because this model does not yield realistic results.An even better approach would be to introduce a function describing the relationship so a whole model can be substituted.
A tiny detail is that single-letter names like
D
are very cryptic, better would be to call itdenudation
.