You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have problem with reading in laz files from one of the flight years from my NMA. It causes RStudio to crash without any messages. All the other years work perfectly and I can easily apply functions to it. Using the erroneous laz files in LASTools has not produced any errors. I am using the latest lidR version.
I managed to solve the problem. The erroneous laz had Extra Byte attributes Amplitude and Pulse width. The no error laz had Amplitude, Pulse width, Reflectance and Deviation. They are numbered 1-4 accordingly. By specifying which attributes to read in (or not to read in), RStudio did not crash anymore. For example
lidR reads every attribute in by default. However, it it is interesting that my error.laz had attributes Amplitude and Pulse width, but I cannot use them. The error.laz Amplitude did have a different type than no_error.laz (4 (short) vs 3 (unsigned short)). However, Pulse width had the same data type and using "xyzia2" still causes RStudio to crash.
I have problem with reading in laz files from one of the flight years from my NMA. It causes RStudio to crash without any messages. All the other years work perfectly and I can easily apply functions to it. Using the erroneous laz files in LASTools has not produced any errors. I am using the latest lidR version.
It is probably related to https://stackoverflow.com/questions/60457539/lidr-readlas-function-crashes-r-when-reading-some-las-files .
I am attaching a Google Drive link with the error and no error laz files.
https://drive.google.com/drive/folders/1SVsfenH_petxogLg7-QvBaeQ98aHrDvj?usp=sharing
The text was updated successfully, but these errors were encountered: