opengeos / whitebox-python

WhiteboxTools Python Frontend

Home Page:https://pypi.org/project/whitebox/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

whitebox clip function corrupting output file

arojas314 opened this issue · comments

  • whitebox version: 2.0.3
  • Python version: 3.9
  • Operating System: RedHat Enterprise

Description

After using the whitebox tools clip function, the output lidar file seems to be corrupted. Attached is a zip folder with the lidar.laz tile. Also, here is an example error message I get when viewing the output file in lastools.
'chunk table and XXXXXXXXXX bytes are missing' is the common error message from the output file.

image

What I Did

wbt.clip_lidar_to_polygon(
    i="NEON_D01_HARV_DP1_732000_4713000_classified_point_cloud_colorized.laz", 
    polygons="towerPoly.shp", 
    output="lidarAOI.laz"
)

Thanks!

This issue should be open at https://github.com/jblindsay/whitebox-tools/issues. The whitebox package is just a wrapper of the computing backend - WhiteboxTools. All output file writing issues should be reported on the WhiteboxTools repo.

Got it, thanks.