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

get_cumulative_layer_thickness should return 0 instead of NaN when layer not present #29

Closed
Erik-Geo opened this issue Aug 28, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@Erik-Geo
Copy link
Collaborator

When using the method get_cumulative_layer_thickness like e.g. so:

gdn_data_selection.get_cumulative_layer_thickness("lith", "Z", include_in_header=True)

You will get NaN-values for boreholes with no "Z" layers. This should be 0.

Note that for get_layer_top getting NaN-values is wanted behaviour

@Erik-Geo Erik-Geo added the bug Something isn't working label Aug 28, 2024
@Erik-Geo
Copy link
Collaborator Author

Erik-Geo commented Sep 2, 2024

Fixed in commit 008403f

@Erik-Geo Erik-Geo closed this as completed Sep 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant