Hello Eduardo,
Welcome to Whitebox Workflows for Python (WbW)! Okay, so it looks to me like you are using the WhiteboxTools signature for this particular tool but WbW uses different function signatures than WhiteboxTools. This is because unlike WhiteboxTools, with WbW you directly pass each function a data object (raster, vector, lidar) and the function similarly outputs a data object. There is also no need for the callback function in WbW.
Here is a listing of tool function signatures for WbW and you should find the equivalent fill_depressions function:
https://www.whiteboxgeo.com/manual/wbw-user-manual/book/list-of-tool-signatures.html
In fact, if you are using a typical IDE for developing your script (e.g. VS Code), then you should see autocomplete as soon as you type the function:
For more information on using WbW, please take a look at the user manual, available here:
https://www.whiteboxgeo.com/manual/wbw-user-manual/book/preface.html
All the best,
John
--
You received this message because you are subscribed to the Google Groups "WhiteboxTools" group.
To unsubscribe from this group and stop receiving emails from it, send an email to whiteboxtool...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/whiteboxtools/9b9da689-2666-4f08-b174-7ea0554c4328n%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.