-
-
Notifications
You must be signed in to change notification settings - Fork 133
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
normalize_intensity - error with LAScatalog #388
Comments
Minimal reproducible example LASfile <- system.file("extdata", "Topography.laz", package="lidR")
las <- readLAS(LASfile)
sensor <- track_sensor(las, Roussel2020(pmin = 15))
ctg = readLAScatalog(LASfile)
opt_output_files(ctg) <- tempfile()
ctg <- normalize_intensity(ctg, range_correction(sensor, Rs = 2000))
#> Erreur : Invalid function provided as algorithm. |
After investigation, what is received is an |
Thank you for looking into it so quickly! Looking forward to hearing back from you. |
By the way, the methods does not require a buffer around the processed regions. Unless you want to process small chunks, you can write a simple |
Yes - thanks for the advice. I've written my own |
Fixed. Thank you for reporting |
Current Behavior
normalize_intensity
works with a single las file, but fails with a las catalog. The error indicates that the algorithm provided (range_correction(sensor_positions, Rs = 2000)
) is invalid, but it is the same for the single las file and the las catalog.Desired Behavior
normalize_intensity()
should work on a las catalog just like it works on a single las file. Or, since the algorithm used in both cases is the same, the error should describe a different issue (perhaps with my las catalog).The text was updated successfully, but these errors were encountered: