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

use 2d length for length_effective if rp_level is zero #275

Merged
merged 5 commits into from
Jul 5, 2024

Conversation

cymed
Copy link
Contributor

@cymed cymed commented Jul 1, 2024

When importing data that has zero values for rp_level, the reach.length_effective should not be calculated in 3D.

@cymed cymed requested a review from sjib July 3, 2024 14:44
@sjib
Copy link
Contributor

sjib commented Jul 3, 2024

@cymed What do yo do when the two levels are NULL? Should this be handeled the same way as if they are 0 also?

@cymed
Copy link
Contributor Author

cymed commented Jul 4, 2024

@cymed What do yo do when the two levels are NULL? Should this be handeled the same way as if they are 0 also?

This case was already handled by the coalsece in the else clause

Copy link
Contributor

@sjib sjib left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot!

@ponceta ponceta merged commit 9783a3a into teksi:main Jul 5, 2024
7 checks passed
@cymed cymed deleted the alter_length_effective branch July 16, 2024 12:31
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

Successfully merging this pull request may close these issues.

3 participants