Skip to content
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

documentation of PercentElevRange #402

Open
vbuchauer opened this issue Apr 22, 2024 · 0 comments
Open

documentation of PercentElevRange #402

vbuchauer opened this issue Apr 22, 2024 · 0 comments

Comments

@vbuchauer
Copy link

Hello there,

when taking a closer look a the function PercentElevRange I discovered an error in the documentation of the function (https://www.whiteboxgeo.com/manual/wbt_book/available_tools/geomorphometric_analysis.html#percentelevrange).

The formula stated in the documentation is ${PER} = \frac{z_0}{(z_{min} - z_{max})} * 100 $
But in the code the following formula is used ${PER} = \frac{z_0 - z_{min}}{(z_{min} - z_{max})} * 100 $
As the function shall calculate a percentage, the actually used 2. formula makes more sense.

Maybe you could edit the documentation provided on the website.
Many Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant