![]() The two critical setup tools to make Slack ready and integrated are the smain and sbot tools where you will enter the OAuth for the application and OAuth for the bot that you generated earlier. The tools consists of a bunch of slack tools as well including capability to just use this tool to send slack messages, attachments and clean up channel as needed. Once the requirements have been satisfied the first thing we would setup would be to OAuth Keys we created. This will only work if you have python in the system path which you can test for opening up terminal or command prompt and typing python. Now call the tool for the first time, by typing in pbatch -h. Python setup.py install pip install -r requirements.txt for windows download the zip and after extraction go to the folder containing “setup.py” and open command prompt at that location and type.Git clone cd Planet-Batch-Slack-Pipeline-CLI & sudo python setup.py install pip install -r requirements.txt As always two of my favorite operating systems are Windows and Linux, and to install on Linux To install the tool you can go to the GitHub page at Planet-Batch-Slack-Pipeline-CLI.To setup the prerequisites you need to install the Planet Python API Client and Slack Python API Clients. The next step we will setup the Planet-Batch-Slack-Pipeline-CLI and integrate our previously built slack app for notifications. Setting up the Command Line Interface Tool And you will get to create a unique channel Go to slack’s main page and click on the sign in page. The first half of this tutorial will thus deal with quickly making a slack channel for your team and then managing components within that. ![]() This tool is an extension of the Planet-GEE-Pipeline-CLI extending only to the Planet side of things and integrating additional tool more streamlined towards downloading and bulk handling of assets. This requires you to first create a slack channel within which we will create a slack application allowing a bot to send task notifications. This will allow you to create production commands, custom jobs and update the csv file as needed to included additional assets and AOI(s). Not only can the tool process all geojson or json(s) in a folder but it can also do the same using a csv list of file path, the asset type you are interested to download and the download location which may vary. The best part, once integrated with Slack’s Messaging API, this sends you a slack message every time a process is completed. The keyword throughout this article will be batching and something that is scalable atleast to a large extent within an institutional environment. This tool is capable of processing multiple points of interest, while automatically waiting for activation and asset downloading. This is part of a tool called the Planet-Batch-Slack-Pipeline-CLI that I am releasing today which acts as a load balancer for batch processing Area of Interests AOI(s) using the Planet API. Workspace Owners and Workspace Admins can remove default channels from their workspace.Planet by the numbers from Will Marshall’s post © Planet Labsĭuring the course of this article we will learn a couple of things including setting up a messaging bot for a channel and then using the messaging API to notify of task status and completion. Click Edit channel settings and make the adjustments you'd like.Under Default org-wide channels, hover over a channel, then click the three dots icon to the right.Org Owners and Org Admins can edit or remove default channels for their org. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |