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

fix: support edge case where src LAZ has no valid patch #86

Merged
merged 4 commits into from
Sep 14, 2023

Conversation

CharlesGaydon
Copy link
Collaborator

@CharlesGaydon CharlesGaydon commented Sep 14, 2023

Handling a special case, usually due to invalid input data but that can also happen in normal situations.

I also correct a line for the deletion of incomplete hdf5 group. The wrong group was deleted, which would just mean starting the whole creation of hdf5 groups for a split (train/test/val) instead of resuming to where the creation was stopped.

…s False)

A HDF5 group for the src file is not created if all patches included in a source laz do not pass the pre_filter step.

This typically happens in clouds with a low or null number of points, when pre_filter requires a larger number of points than available.
@CharlesGaydon CharlesGaydon changed the title dev: delete the right dataset group during hdf5 creation fix: support edge Sep 14, 2023
@CharlesGaydon CharlesGaydon changed the title fix: support edge fix: support edge case where src LAZ has no valid patch Sep 14, 2023
@CharlesGaydon
Copy link
Collaborator Author

CharlesGaydon commented Sep 14, 2023

STATUS: en attente de validation que le fix fonctionne

@CharlesGaydon
Copy link
Collaborator Author

Validé par @MichelDaab.
@leavauchier Revue pour info, et on peut merger si ça te semble bon ! :)

Copy link
Collaborator

@leavauchier leavauchier left a comment

Choose a reason for hiding this comment

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

ça me parait ok à première vue, mais je suis pas très familière avec le hdf5

@CharlesGaydon
Copy link
Collaborator Author

Merci !

@CharlesGaydon CharlesGaydon merged commit 8103d80 into main Sep 14, 2023
1 check passed
@CharlesGaydon CharlesGaydon deleted the patch-support-empty-tiles-in-hdf5-creation branch September 14, 2023 14:47
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.

2 participants