whitebox-tools: whitebox_tools 'Unrecognized tool name NormalizeLidar'

I am using whitebox_tools v2.3.0 and I would like to use the normalize_lidar function. However, when calling the function, I get this error:

thread 'main' panicked at 'Unrecognized tool name NormalizeLidar.', whitebox-tools-app/src/main.rs:72:21 note: run with RUST_BACKTRACE=1 environment variable to display a backtrace

The help function ?wbt.normalize_lidar does indeed show the documentation, but print(wbt.tool_help("normalize_lidar")) shows the same thread main panicked at etc. error as listed above with calling the function itself. Additionally, normalize_lidar does not appear when listing the wbt tools with the “normalize” keyword: print(wbt.list_tools(['normalize']).keys())

I have confirmed I am setting the whitebox directory to the location of the binary file and the working directory to where my data is.

About this issue

  • Original URL
  • State: open
  • Created 4 months ago
  • Comments: 16 (1 by maintainers)

Most upvoted comments

I would like to add I am experiencing the same issue running Conditional Evaluation through a python script. Let me know if I can provide more information or if I should start a new thread.

whitebox 2.3.1 from conda-forge.

Error

thread 'main' panicked at 'Unrecognized tool name ConditionalEvaluation.', whitebox-tools-app\src\main.rs:72:21
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Code snip

from whitebox import WhiteboxTools
wbt = WhiteboxTools()

wbt.conditional_evaluation(
                i=input_raster,
                output=output_raster,
                statement="value == 0",
                true=1,
                false=None,
            )