User:Jcreer/SMS:Toolbox: Difference between revisions

From XMS Wiki
Jump to navigationJump to search
Line 47: Line 47:


===Map Activity===
===Map Activity===
This tool builds a dataset with values from one dataset and activity from another.
===Scalar to Vector===
===Scalar to Vector===
===Smooth Datasets===
===Smooth Datasets===

Revision as of 22:28, 11 June 2021

Starting with version 13.2 , SMS includes a general purpose toolbox that allows the SMS process to interact with external python scripts. In SMS 13.2 this is a beta feature. For this version, the user accesses the toolbox by right clicking on the "Project" item at the top of the tree in the "Project Explorer" and selecting "Toolbox". This bring up the SMS toolbox dialog.

SMS Toolbox

Tools in the toolbox allow the user to operate on data in an SMS interactive session as well as data in external files. Each tool in the toolbox links to a python script that produces a specific output. Example output from a tool could include, but are not limited to:

  • a graphic or plot.
  • a report (document or spreadsheet) for a specified analytical process.
  • a new geometry item in SMS.
  • a new dataset in SMS.
  • a new data file.

Tools Tab

Available tools in the SMS Tool dialog are divided into categories, typically based on the type of output or the type of arguments used in the tool. Currently these categories include:

  • Datasets (Will replace the dataset toolbox. Currently has 10 tools)
  • Rasters (Will replace right click commands on rasters. Currently has 5 tools)
  • UGrids (Applies to meshes, scatter sets and Ugrids. Currently has 3 tools)
(Jeff - eventually we want a wiki article for each tool in the toolbox that is created or managed by Aquaveo.  These tools should be listed in an expandable list for each category and include a link to the tool's wiki article.)

Tools are discovered by SMS at run time from an installation area on the host machine. This allows users to develop and share custom python scripts that can operate on data in an SMS project.

(Jeff- we are working on a document that describes how a user would add a custom script.  We should have a link to that document here.)

History Tab

The toolbox maintains a history of all tools invoked for a session of SMS. Eventually this history will be recorded so that it includes all tools invoked for this project.

The history section includes the tool and the date/time the tool was invoked. By double clicking on an entry in the history tab, the tool is launched. The input fields are populated with the arguments that were used in the previous invocation of the tool. These inputs can be changed for the new invocation of the tool.

Dataset Tools

Angle Convention

This tool converts between angle conventions.

Canopy Coefficient

This tool computes a canopy coefficient from a landuse raster.

Compare Datasets

This tool compares two datasets.

Directional Roughness

This tool converts a landuse raster (NLCD, C-CAP, etc.) to a directional roughness dataset.

Geometry Gradient

This tool computes geometry gradient datasets.

Landuse Raster to Mannings N

This tool converts a landuse raster (NLCD, C-CAP, etc.) to a Mannings N dataset.

Map Activity

This tool builds a dataset with values from one dataset and activity from another.

Scalar to Vector

Smooth Datasets

Smooth Datasets by Neighbor

Vector to Scalar

Raster Tools

Blend Raster to Edges

This tool blends the secondary raster into the edges of the primary raster.

Clip Raster from Elevations

Interpolate Priority Rasters

Merge Elevation Rasters

UGrid to Raster

UGrid Tools

Convert to Voronoi UGrid

Merge Ugrids

Smooth UGrid