SMS:STWAVE Project Workflow: Difference between revisions

From XMS Wiki
Jump to navigationJump to search
No edit summary
No edit summary
 
Line 47: Line 47:
{|class="mw-collapsible mw-collapsed" style="width:80%; border:1px solid #D0E0FF; margin-bottom:0.4em;"
{|class="mw-collapsible mw-collapsed" style="width:80%; border:1px solid #D0E0FF; margin-bottom:0.4em;"
|-
|-
!style="text-align:left;"|5. Generate spectral energy distribution.
! style="text-align:left;"|5. Generate spectral energy distribution.
|-
|-
|
|
<blockquote>
{{Import Spectra}}
<blockquote>
|}
<!--
<blockquote>
<blockquote>
{{SMS Generate Spectral Distribution Workflow}}
{{SMS Generate Spectral Distribution Workflow}}
</blockquote>
</blockquote>
|}
-->
 
{|class="mw-collapsible mw-collapsed" style="width:80%; border:1px solid #D0E0FF; margin-bottom:0.4em;"
{|class="mw-collapsible mw-collapsed" style="width:80%; border:1px solid #D0E0FF; margin-bottom:0.4em;"
|-
|-

Latest revision as of 18:59, 6 June 2024

This is a top level workflow. This workflow includes all of the specific workflows needed in creating an STWAVE project. Newer and infrequent SMS users should start here.

To build a STWAVE model in SMS, use the following steps:

1. Start SMS.
1. Start SMS, or clear existing projects in SMS.
  1. If SMS is already running, select File | Delete All.
  2. A new project can also be started by using CTRL + N.
2. Set the display projection.
  1. Select the Display | Projection... command.
  2. Set the horizontal and vertical projection using the Display Projection dialog.
2. Import data.
1. Gather and open image files.

Images are imported into the GIS module in SMS.

1. Open local images.
  1. Load images from local computer files using the File | Open... command.
  2. Alternatively, drag and drop the file into the Graphics Window in SMS.
2. Import images from the web.
1. Import static images.
  1. Use the File | Import from Web command.
  2. Select a location in the Virtual Map Locator.
  3. Set a projection for the project using the Display Projections dialog.
  4. Use the Data Service Options dialog to select a web service or catalog.
    • Use the Advanced options if needing to access a unique or unavailable data source.
  5. Save the data file and import the data into SMS.
2. Import dynamic images.
  1. Use the File | Add Online Maps command.
  2. Select a location in the Virtual Map Locator.
  3. Set a projection for the project using the Display Projections dialog.
  4. Use the Data Service Options dialog to select a web service or catalog.
  5. Save the data file and import the data into SMS.
2. Gather and open geometric data files.
1. Import map data.
  1. Use the File | Open... command to import map data such as Map files, boundary ID files, or boundary XY files.
  2. Alternately, drag and drop the file into the Graphics Window in SMS.
2. Import GIS data.
  1. Use the File | Open... command to import GIS data files such as Shapefiles, MIF/MID files, Lidar files, or raster files.
  2. Alternatively, drag and drop the file into the Graphics Window in SMS.
3. Import scatter data.
  1. Use File | Open... to open files with scatter data such as scatter point files, ASCII dataset files, binary dataset files, tabular data files, or XYZ files.
  2. Alternatively, drag and drop the file into the Graphics Window in SMS.
  3. Use the File Import Wizard to specify how to import the data.
4. Import CAD data.
  1. Verify the CAD file type is readable by SMS before importing it. SMS can import DXF and DWG files.
  2. Use the File | Open... command to launch the Open dialog (or drag and drop) to import the CAD files.
The data should load in layers into the Project Explorer.
5. Review and set object projections.
  1. Right-click on an object in the Project Explorer and select the Projection command.
  2. Set the horizontal and vertical projection using the Object Projection dialog.
  3. To set a global projection, use the Horizontal Projection dialog.
3. Review and edit elevation data.
1. Review elevation data for errors.
1. Use the Dataset Info dialog.
  1. Find the "Z", "elevation" or "depth" datasets on the geometric object (mesh, TIN, grid, raster) that is being reviewed
  2. Right-click on elevation data and select Info.
  3. Review information in the Dataset Info dialog to see that the range of values are as expected.
2. Use contour display options.
  1. Turn off Points and Triangles, then turn on Contours in the Scatter tab of the Display Options dialog.
  2. Set contour options in the Contours tab. The "Color Fill" option is recommended for this.
  3. Look for inconsistent points (points with values much higher/lower than their neighbors or regions where no data points exist).
  4. Verify that the region being modeled is covered by the elevation/depth data and there are no holes.
3. Rotate the elevation data.
  1. Use the Rotate Rotate Tool.svg tool to examine the elevation data from different angles.
2. Remove erroneous points and triangles.
After reviewing the imported data, points or triangles covering regions where there are no data points should be deleted. This could include outlier points or thin triangles.
1. Use the Scatter Options dialog.
  1. Open the Scatter Options dialog.
  2. Select or delete duplicate points.
  3. Select or delete long triangles.
  4. Select thin triangles.
  5. Use a triangulation optimization option.
2. Manually remove points.
  1. Use Select Scatter Point Select Point Tool.svg tool to select erroneous points in the scatter set.
  2. Review and edit point data in the Edit Window.
  3. Delete erroneous points.
3. Add breaklines.
  1. Select the Create Breakline SMS Create Nodestring Tool.svg tool.
  2. Click along points of a common elevation, such as at a bank toe or levee crest, to connect these points in the surface.
  3. Use the Backspace key to back up if an erroneous selection is made.
  4. Double-click or press Enter key to complete the breakline.
4. Merge elevation datasets.
  1. Select the Scatter | Merge Sets command.
  2. Use the Merge Scatter Sets dialog to select elevation data to be merged.
4. Generate grid.
1. Create a Cartesian Grid Generator map coverage.
Create a new coverage with the "CGrid Generator" type.
1. Create new coverage from scratch.
  1. Select Map Data in the Project Explorer and use the New Coverage right-click command.
  2. Use the New Coverage dialog to create a new coverage by selecting the desired coverage type, and naming the coverage.
2. Create new coverage from an existing coverage.
  1. Use the Duplicate command on an existing coverage. This will copy any feature objects on the coverage.
  2. Use the Rename command to give the coverage a new name.
  3. Change the coverage type.
2. Create a Cartesian grid frame.
  1. Use the Create 2D Grid Frame SMS Create Grid Frame Tool.svg tool to click out a grid frame.
  2. Double-click on the grid frame with the Select 2D Grid Frame SMS Select Grid Frame Tool.svg tool to bring up the Grid Frame Properties dialog.
  3. Use the Grid Frame Properties dialog to refine the dimensions of the grid frame.
3. Generate grid from the CGrid Generator coverage.
  1. Select the CGrid Generator coverage and use the Map → 2D Grid right-click command.
  2. Set the grid parameters in the Map → 2D Grid dialog.
5. Generate spectral energy distribution.

To import spectral data into SMS, do the following:

1. Open spectral data files.
  1. Use File | Open... to open files with spectral data such as STWAVE ENG files (*.eng), STWAVE nesting files (*.nst), CMS-Wave ENG files (*.eng), CMS-Wave nesting files (*.nst), BOUSS-2D directional wave spectrum files (*.dws), and coastal data information program files (*.cdip).
  2. Alternatively, drag and drop the file into the Graphics Window in SMS.
2. Create a Spectral coverage.
All spectral data needs to be a spectral coverage. Opening a file with spectral data will cause the Spectral Coverage dialog to appear where a spectral coverage can be created. If this does not appear, create a coverage with the Spectral type using the steps below:
1. Create new coverage from scratch.
  1. Select Map Data in the Project Explorer and use the New Coverage right-click command.
  2. Use the New Coverage dialog to create a new coverage by selecting the desired coverage type, and naming the coverage.
2. Create new coverage from an existing coverage.
  1. Use the Duplicate command on an existing coverage. This will copy any feature objects on the coverage.
  2. Use the Rename command to give the coverage a new name.
  3. Change the coverage type.
3. View spectral data.
  1. Double-click on a point in the spectral coverage using the Select Feature Point SMS Select Node Tool.svg tool.
  2. View spectral data in the Spectral Energy dialog.


Alternatively, spectral data can be imported to a specific location in the project.

1. Create a Spectral coverage.
Create a new coverage with the "Spectral" type.
1. Create new coverage from scratch.
  1. Select Map Data in the Project Explorer and use the New Coverage right-click command.
  2. Use the New Coverage dialog to create a new coverage by selecting the desired coverage type, and naming the coverage.
2. Create new coverage from an existing coverage.
  1. Use the Duplicate command on an existing coverage. This will copy any feature objects on the coverage.
  2. Use the Rename command to give the coverage a new name.
  3. Change the coverage type.
2. Create a feature point.
  1. Use the Create Feature Point Create Points Tool.svg tool to add a point where the spectral data is to be imported on the spectral coverage.
3. Assign spectral data to location.
1. Access Spectral Energy dialog.
  1. Double-click on a point in the spectral coverage using the Select Feature Point SMS Select Node Tool.svg tool.
2. Create spectral grid.
  1. In the Spectral Energy dialog, click the Create Grid button.
  2. Enter the Grid angle in the Spectral Grid Attributes dialog.
  3. Enter the grid properties in the Create Spectral Energy Grid dialog.
3. Import spectral data.
  1. In the Spectral Energy dialog, click the Spectra button.
  2. In the Generate Spectra dialog, click the Import button.
  3. Import the spectral data file.


6. Select monitoring stations.
1. Create a Monitoring Cells coverage.
Create a new coverage with the STWAVE "Monitoring Cells" type.
  1. Select Map Data in the Project Explorer and use the New Coverage right-click command.
  2. Use the New Coverage dialog to create a new coverage by selecting the desired coverage type, and naming the coverage.
2. Create feature points in the coverage.
  1. Use the Create Feature Point Create Points Tool.svg tool to create points in the coverage.
7. Set up the STWAVE simulation.
1. Create a new STWAVE simulation.
After creating the components of a simulation, create a new STWAVE simulation.
  1. Right-click in the project explorer and select the New Simulations | STWAVE command.
2. Add STWAVE simulation components.
To link components to the simulation, do one of the following.
  1. Right-click on the component and select the simulation name from the Link To submenu.
  2. In the Project Explorer, click and drag items under the simulation object.
8. Define STWAVE model properties.
  1. Right-click on the simulation and select the Model Control command.
  2. Enter model properties in the STWAVE Model Control dialog. This includes:
9. Run STWAVE.
  1. Check the model simulation.
  2. Run STWAVE.
10. Review results.
1. Load solution files.
The solution file should load after running the model assuming the Load Solution option was checked in the model wrapper before exiting the model run. If loading the solution file separately from the model run, do the following:
  1. Open the output files generated from the model run.
2. Review results datasets and data visualization.
1. Manually review dataset solutions.
  1. In the Project Explorer, click on solution dataset created from the simulation run and view results in the Graphics Window.
  2. Click through the time steps for each dataset to see changes over time in the Graphics Window.
2. Adjust the display options.
1. Set display options.
  1. Open the Display Options Display Options Macro.svg dialog.
  2. Set the general display options.
  3. Set general lighting options.
  4. Set display options for each module that is being used.
  5. Set contour options.
  6. Set vector options.
2. View display.
  1. Use the Rotate Rotate Tool.svg, Pan Pan Tool.svg, and Zoom Zoom Tool Icon.svg tools.
  2. Use the View menu commands found in the Display menu.
  3. Use the Frame Frame Macro.svg command to center and resize the display as needed.
3. Adjust display.
Display may need to be adjusted during the remainder of the project.
  1. Use the Display Options dialog and viewing tools as needed.
  2. Use the Frame Frame Macro.svg command to center and resize the display as needed.
3. Create a film loop visualization.
  1. Select a solution dataset and use the Data | Film Loop menu command.
  2. Use the Film Loop Setup wizard to specify the animation parameters.
  3. Save and view the animation file.
4. Create a plot.
1. Load solution files if not already in the project.
  1. The solution should load automatically assuming the Load Solution option was checked in the model wrapper before exiting the model run.
  2. If loading the solution separately from the model run, open the solution file generated from model run.
2. Create an observation coverage.
Create a new coverage with the "Observation" type.
  1. Select Map Data in the Project Explorer and use the New Coverage right-click command.
  2. Use the New Coverage dialog to create a new coverage by selecting the desired coverage type, and naming the coverage.
3. Create observation points in the observation coverage.
1. Create feature arcs, nodes and vertices.
In the Map module, create feature objects in the active coverage.
  1. Use the Create Feature Arc SMS Create Arc Tool.svg tool to create arcs in the map coverage.
  2. Begin creating a new arc by clicking in the Graphics Window at either arc end. If clicking on an existing feature node, vertex or arc, the new arc will snap to that object.
  3. Double-click or press the Enter key to terminate the arc.
  4. Use the Create Feature Node Create Points Tool.svg tool to create additional nodes alone or to split arcs.
2. Modify arcs.
Feature arcs often need to be edited after initial creation.
1. Create additional vertices on arcs.
  1. Use the Create Feature Vertex SMS Create Vertex Tool.svg tool to add vertices along arcs.
2. Refine the arc shape.
  1. Use the Select Feature Vertex SMS Select Vertex Tool.svg tool and the Select Feature Node SMS Select Node Tool.svg tool to move/edit existing arcs and refine the shape by dragging the nodes/vertices.
  2. Use the Select Feature Arc SMS Select Arc Tool.svg tool to move entire arcs .
3. Split arcs.
An existing arc can be split by:
1. Converting a vertex to a node.
  1. Use the Select Feature Vertex SMS Select Vertex Tool.svg tool and right-click on a vertex along an arc.
  2. Select the Convert to Node command to split the arc into two arcs.
2. Add a node the arc.
  1. Use the Create Feature Node Create Points Tool.svg tool to add a node on an arc in order to split it into two arcs.
3. Add a new connecting arc.
  1. Use the Create Feature Arc SMS Create Arc Tool.svg tool to start or end a new arc on an existing arc to split the existing arc into two arcs.
4. Use the Split Arcs Tool.
  1. Right-click on an arc using the Select Feature Arc SMS Select Arc Tool.svg tool and select the Split Arc(s)... command.
  2. Use the Split Arcs Tool to divide arcs.
5. Split overlapping arcs using the Clean Options dialog.
  1. Select overlapping arcs using the Select Feature Arc SMS Select Arc Tool.svg tool.
  2. Use the Feature Objects | Clean command to bring up the Clean Options dialog.
  3. Select the Intersect selected arcs option (for selected arcs) or Intersect arcs option (for all overlapping arcs) to split the arcs.
4. Merge arcs.
Two arcs that share an end node can be merged together.
  1. Select the shared node using the Select Feature Node SMS Select Node Tool.svg tool.
  2. Right-click on the node and select the Convert to Vertex command to merge the arcs.
  3. If desired, the Select Feature Vertex SMS Select Vertex Tool.svg tool can be used to select and delete the new vertex.
5. Smooth arcs.
The variability or roughness of an arc can be reduced.
  1. Right-click on an arc using the Select Feature Arc SMS Select Arc Tool.svg tool and select the Smooth Arc(s)... command.
  2. Use the Smooth Arcs Tool to reduce the variability of the arc.
6. Prune arcs.
Concave sections of the arc can be removed.
  1. Right-click on an arc using the Select Feature Arc SMS Select Arc Tool.svg tool and select the Prune Arc(s)... command.
  2. Use the Prune Arcs dialog to remove concave sections.
7. Extend/trim arcs.
Extend or shorten an arc to match an existing arc's length.
  1. Using the Select Feature Arc SMS Select Arc Tool.svg tool, select two intersecting arcs.
  2. Right-click on an arc using the Select Feature Arc SMS Select Arc Tool.svg tool and select the Extend/Trim Arc... command.
  3. Use the Trim/Extend Arc dialog to select the target arc and source arc.
4. Add observation point attributes.
  1. With the Select Feature Point SMS Select Node Tool.svg tool, right-click on the observation point and select the Node Attributes command.
  2. Set the observation attributes in the Observation Coverage dialog.
5. Use the Plot Wizard to generate plot type.
The Plot Wizard can generate any of the following plot types:
1. Computed vs. Observed Data plot.
  1. Select Display | Plot Wizard to start the Plot Wizard.
  2. Select the "Computed vs. Observed Data" option on the left and click Next.
  3. Review measurements to be plotted in step 2 of the Plot Wizard then click Finish.
  4. Review plot window.
2. Residual vs. Observed Data plot.
  1. Select Display | Plot Wizard to start the Plot Wizard.
  2. Select the "Residual vs. Observed Data" option on the left and click Next.
  3. Review measurements to be plotted in step 2 of the Plot Wizard then click Finish.
  4. Review plot window.
3. Error vs. Simulation plot.
  1. Select Display | Plot Wizard to start the Plot Wizard.
  2. Select the "Error vs. Simulation" option on the left and click Next.
  3. Specify plot options in step 2 of the Plot Wizard then click Finish.
  4. Review plot window.
4. Error vs. Time Step plot.
  1. Select Display | Plot Wizard to start the Plot Wizard.
  2. Select the "Error vs. Time Step" option on the left and click Next.
  3. Specify plot options in step 2 of the Plot Wizard then click Finish.
  4. Review plot window.
5. Error Summary plot.
  1. Select Display | Plot Wizard to start the Plot Wizard.
  2. Select the "Error Summary" option on the left and click Next.
  3. Specify measurements to be plotted in step 2 of the Plot Wizard then click Finish.
  4. Review plot window.
6. Time Series plot.
  1. Select Display | Plot Wizard to start the Plot Wizard.
  2. Select the "Time Series" option on the left and click Next.
  3. Specify plot options in step 2 of the Plot Wizard then click Finish.
  4. Review plot window.
3. Use an observation profile plot.
1. Create an observation coverage.
Create a new coverage with the "Observation" type.
  1. Select Map Data in the Project Explorer and use the New Coverage right-click command.
  2. Use the New Coverage dialog to create a new coverage by selecting the desired coverage type, and naming the coverage.
2. Create observation arcs in the observation coverage.
1. Create feature arcs, nodes and vertices.
In the Map module, create feature objects in the active coverage.
  1. Use the Create Feature Arc SMS Create Arc Tool.svg tool to create arcs in the map coverage.
  2. Begin creating a new arc by clicking in the Graphics Window at either arc end. If clicking on an existing feature node, vertex or arc, the new arc will snap to that object.
  3. Double-click or press the Enter key to terminate the arc.
  4. Use the Create Feature Node Create Points Tool.svg tool to create additional nodes alone or to split arcs.
2. Modify arcs.
Feature arcs often need to be edited after initial creation.
1. Create additional vertices on arcs.
  1. Use the Create Feature Vertex SMS Create Vertex Tool.svg tool to add vertices along arcs.
2. Refine the arc shape.
  1. Use the Select Feature Vertex SMS Select Vertex Tool.svg tool and the Select Feature Node SMS Select Node Tool.svg tool to move/edit existing arcs and refine the shape by dragging the nodes/vertices.
  2. Use the Select Feature Arc SMS Select Arc Tool.svg tool to move entire arcs .
3. Split arcs.
An existing arc can be split by:
1. Converting a vertex to a node.
  1. Use the Select Feature Vertex SMS Select Vertex Tool.svg tool and right-click on a vertex along an arc.
  2. Select the Convert to Node command to split the arc into two arcs.
2. Add a node the arc.
  1. Use the Create Feature Node Create Points Tool.svg tool to add a node on an arc in order to split it into two arcs.
3. Add a new connecting arc.
  1. Use the Create Feature Arc SMS Create Arc Tool.svg tool to start or end a new arc on an existing arc to split the existing arc into two arcs.
4. Use the Split Arcs Tool.
  1. Right-click on an arc using the Select Feature Arc SMS Select Arc Tool.svg tool and select the Split Arc(s)... command.
  2. Use the Split Arcs Tool to divide arcs.
5. Split overlapping arcs using the Clean Options dialog.
  1. Select overlapping arcs using the Select Feature Arc SMS Select Arc Tool.svg tool.
  2. Use the Feature Objects | Clean command to bring up the Clean Options dialog.
  3. Select the Intersect selected arcs option (for selected arcs) or Intersect arcs option (for all overlapping arcs) to split the arcs.
4. Merge arcs.
Two arcs that share an end node can be merged together.
  1. Select the shared node using the Select Feature Node SMS Select Node Tool.svg tool.
  2. Right-click on the node and select the Convert to Vertex command to merge the arcs.
  3. If desired, the Select Feature Vertex SMS Select Vertex Tool.svg tool can be used to select and delete the new vertex.
5. Smooth arcs.
The variability or roughness of an arc can be reduced.
  1. Right-click on an arc using the Select Feature Arc SMS Select Arc Tool.svg tool and select the Smooth Arc(s)... command.
  2. Use the Smooth Arcs Tool to reduce the variability of the arc.
6. Prune arcs.
Concave sections of the arc can be removed.
  1. Right-click on an arc using the Select Feature Arc SMS Select Arc Tool.svg tool and select the Prune Arc(s)... command.
  2. Use the Prune Arcs dialog to remove concave sections.
7. Extend/trim arcs.
Extend or shorten an arc to match an existing arc's length.
  1. Using the Select Feature Arc SMS Select Arc Tool.svg tool, select two intersecting arcs.
  2. Right-click on an arc using the Select Feature Arc SMS Select Arc Tool.svg tool and select the Extend/Trim Arc... command.
  3. Use the Trim/Extend Arc dialog to select the target arc and source arc.
3. Create an observation plot.
  1. Select Display | Plot Wizard to start the Plot Wizard.
  2. Select the "Observation Profile" option on the left and click Next.
  3. Select arcs, datasets, and time steps to be plotted.
  4. Review plot window.
4. Create and compare datasets.
  1. Select the Data | Dataset Toolbox menu command.
  2. In the Dataset Toolbox, compare datasets by subtracting the alternate dataset from the base dataset.
  3. New dataset can be generated in the Dataset Toolbox using the Data Calculator.