SMS:Cartesian Grid Data Menu

From XMS Wiki
Revision as of 18:09, 30 July 2014 by Jcreer (talk | contribs)
Jump to navigationJump to search

Template:TOCRight Most of the SMS modules have a Data Menu, but the items in this menu are different for each module. The Cartesian Grid Module Data Menu commands include:

Model Specific Menus

Model Commands

Dataset Commands

  • Data Calculator – Can be used to perform mathematical operations with datasets.
  • Dataset Toolbox – Contains tools for working with datasets.
  • Create Datasets – Opens a dialog that can be used to create functions for the entire mesh or active scatter set.
  • Map Elevation – Allows use of another functional dataset as the mapped elevation function.
  • Zonal Classification – Tool to identify areas that meet as set of criteria.

Visualization Commands / Options

  • Contour Options – opens a dialog where dataset specific contour options can be defined.
  • Vector Options – opens a dialog where options to generate vectors can be edited.
  • Film loop – opens the Film Loop Setup wizard.

Data Conversion Commands

Grid to Scatterpoint

The Grid → Scatter command in the Data menu (Cartesian grid module) is equivalent to the 2D Grid → 2D Scatter command in the right-click menu on a grid object in the project explorer. It is used to convert the grid cell corners into a scattered dataset (scatter module).

Each cell corner in the grid is converted to a scatter vertex. SMS computes one dataset from the elevation dataset of the grid and one dataset for each functional dataset on the grid. If the Cartesian grid is cell centered (data at the center of the cell), SMS averages the values of the four surrounding cells to compute a value for the scatter set vertex. If the Cartesian grid is a mesh centered grid (BOUSS2D), SMS assigns the value from the cell corner to the scattered vertex.

Each cell in the grid is converted to two triangles in a TIN.

This command allows the visualization of the data on a matching geometric object.

Grid to Map

The Grid → Map command in the Data menu (Cartesian grid module) is equivalent to the 2D Grid → Map command in the right-click menu on a grid object in the project explorer. It is used to convert attributes of the Cartesian grid into feature objects on a coverage (map module). All generated features are added to the current or active coverage. If a new coverage is desired, it should be created prior to issuing this command.

The command includes the following options:

Land/Water Boundary → Arcs

This option only applies to Cartesian grids which support cell attributes supporting land and water cells (CMS-Flow). When this option is selected, the cell faces between cells of these opposing types are converted to feature arcs. For grid cells that do not support cell attributes, this options functions identically to the Grid Boundary → Arcs option.

Grid Boundary → Arcs

This option generates a feature arc along all cell edges of the boundary of the Cartesian grid.

Observation Cells → Points

This option can be applied to either arc generation option above. It only applies to Cartesian grids that support the cell attribute of observation cells. If this toggle is selected, a feature point is created at the centroid of each cell with the observation point attribute.

This command has minimal usefulness since the feature objects generated are step functions. It is recommended that other data sources, such as a scatter set or a shapefile be used to define these features, but if only the numerical model exists, this command can be used to help construct a conceptual model.

Grid to Mesh

The Grid → Mesh command in the Data menu (Cartesian grid module) is equivalent to the 2D Grid → 2D Mesh command in the right-click menu on a grid object in the project explorer. It is used to convert the grid cell corners into a mesh or unstructured grid object (mesh module).

Each cell corner in the grid is converted to a mesh node. SMS computes an elevation for the mesh node as the average of the four surrounding cells in the grid for cell centered grids, or the elevation of the corner for mesh centered grids.

Each cell in the grid is converted to two triangular elements.

This command allows the visualization of the data on a matching geometric object.

Grid Commands

Find Cell

The Find Cell command from the Data menu is used to locate a cell either with a specific i,j location, or near a specific location. When this command is executed the Find Cell dialog opens.

When the Find by option is selected, the cell with the specified is highlighted in red. If there is no cell with the specified , an error message is given. Conversely, when the Find by nearest coordinates option is selected, the cell containing the specified coordinate is highlighted with red. If no cell contains the location, an error message is given. With either of these methods, the found cell becomes selected in addition to being highlighted.

Related Topics