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

R crashes when writing local_maximum to file #31

Closed
wiesehahn opened this issue Apr 22, 2024 · 2 comments
Closed

R crashes when writing local_maximum to file #31

wiesehahn opened this issue Apr 22, 2024 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@wiesehahn
Copy link

I tried to calc local maxima and write them to a file on disk, but R keeps crashing.

e.g.

library(lasR)
library(here)

f <- system.file("extdata", "MixedConifer.las", package = "lasR")

localmax = local_maximum(ws= 3, min_height = 5, ofile = here("data", "*_ttops.gpkg"))

pipeline = localmax
ans = exec(pipeline, on = f)

Am I missing something?

@Jean-Romain Jean-Romain self-assigned this Apr 22, 2024
@Jean-Romain
Copy link
Collaborator

Jean-Romain commented Apr 22, 2024

Bug confirmed. It is related to the use of the wildcard with vector data.

Am I missing something?

Rule of thumb: when it crashes, it is NEVER your fault. A crash should absolutely never occur.

@Jean-Romain Jean-Romain added the bug Something isn't working label Apr 22, 2024
@Jean-Romain
Copy link
Collaborator

Fixed. Thank you again.

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

2 participants