RUVIDEO
Поделитесь видео 🙏

How to use the WhiteboxTools Python API: WhiteboxTools Tutorial смотреть онлайн

📁 Лайфстайл 👁️ 19 📅 02.12.2023

In this video, I show you how to use and interact with the WhiteboxTools Python API. By combining the WhiteboxTools library with a high-level scripting language, such as Python, users are capable of creating powerful stand-alone geospatial applications and workflow automation scripts. In this tutorial, I go over line-by-line how to set up an example python script to call various tools from WhiteboxTools. Although this is one way to call tools from the WhiteboxTools API, many other methods are possible.

Depending on the relative location of the WhiteboxTools directory and the script file that you are importing to, the import statement may need to be altered slightly. In the above script, it is assumed that the folder containing the WhiteboxTools files (including the whitebox_tools Python script) is named "WBT" and that the calling script that is importing WhiteboxTools is located in the parent directory of WBT. See An Example WhiteboxTools Python Project for more details on project set-up (https://www.whiteboxgeo.com/manual/wbt_book/python_scripting/example.html).
The WhiteboxTools class expects to find the WhiteboxTools executable file (whitebox_tools.exe on Windows and whitebox_tools on other platforms) within the same directory (WBT) as the whitebox_tools.py script.

Each tool has a corresponding convenience method. The listing of tools in this manual includes information about each tool's Python convenience method, including default parameter values. Parameters with default values may be optionally left off of function calls. In addition to the convenience methods, tools can be called using the run_tool() method, specifying the tool name and a list of tool arguments.

For more information on the WhiteboxTools API, see the WhiteboxTools User Manual (https://www.whiteboxgeo.com/manual/wbt_book/python_scripting/scripting.html). Please put any questions you have down below or visit our Google Group (https://groups.google.com/u/1/g/whiteboxtools?pli=1). Please like this video and subscribe to our YouTube channel for all news and updates. Check out this video and more tutorials on our website (https://www.whiteboxgeo.com/learning-resources/).

Что делает видео по-настоящему запоминающимся? Наверное, та самая атмосфера, которая заставляет забыть о времени. Когда вы заходите на RUVIDEO, чтобы посмотреть онлайн «How to use the WhiteboxTools Python API: WhiteboxTools Tutorial» бесплатно и без регистрации, вы рассчитываете на нечто большее, чем просто загрузку плеера. И мы это понимаем. Контент такого уровня заслуживает того, чтобы его смотрели в HD 1080, без дрожания картинки и бесконечного буферизации.

Честно говоря, Rutube сегодня — это кладезь уникальных находок, которые часто теряются в общем шуме. Мы же вытаскиваем на поверхность самое интересное. Будь то динамичный экшн, глубокий разбор темы от любимого автора или просто уютное видео для настроения — всё это доступно здесь бесплатно и без лишних формальностей. Никаких «заполните анкету, чтобы продолжить». Только вы, ваш экран и качественный поток.

Если вас зацепило это видео, не забудьте взглянуть на похожие материалы в блоке справа. Мы откалибровали наши алгоритмы так, чтобы они подбирали контент не просто «по тегам», а по настроению и смыслу. Ведь в конечном итоге, онлайн-кинотеатр — это не склад файлов, а место, где каждый вечер можно найти свою историю. Приятного вам отдыха на RUVIDEO!

Видео взято из открытых источников Rutube. Если вы правообладатель, обратитесь к первоисточнику.