User:Cmadsen/GSSHA Workflow: Difference between revisions

From XMS Wiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 42: Line 42:
{|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. Clean feature objects
!style="text-align:left;"|5. Generate Mesh
|-
|
:#UGrid from Coverage Tool
|}
{|class="mw-collapsible mw-collapsed" style="width:80%; border:1px solid #D0E0FF; margin-bottom:0.4em;"
|-
!style="text-align:left;"|6. Clean feature objects
|-
|-
|
|
Line 53: Line 60:
{|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;"|6. Channel polygons
!style="text-align:left;"|7. Channel polygons
|-
|-
|
|
Line 62: Line 69:
{|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;"|7. Merge coverages
!style="text-align:left;"|8. Merge coverages
|-
|-
|
|
Line 68: Line 75:
{{SMS Merge Coverages Workflow}}
{{SMS Merge Coverages Workflow}}
</blockquote>
</blockquote>
:#Set polygon properties
|}
|}
{|class="mw-collapsible mw-collapsed" style="width:80%; border:1px solid #D0E0FF; margin-bottom:0.4em;"
|-
!style="text-align:left;"|8. Generate Mesh
|-
|
:#UGrid from Coverage Tool
|}
{|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;"
|-
|-

Revision as of 15:57, 13 June 2024


To set up a groundwater model in GSSHA with SMS, do the following:

1. Start a new SMS project.
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 the the background elevation (scatter) 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. Watershed Delineation
  1. Create feature point
  2. https://www.xmswiki.com/wiki/Coverages_Tools#Watershed_from_Raster tool
5. Generate Mesh
  1. UGrid from Coverage Tool
6. Clean feature objects
  1. Using the Select Feature Arc SMS Select Arc Tool.svg tool, select arc(s) and use the Redistribute right-click command.
  2. Use the Redistribute Vertices dialog to set the vertex distribution.
  1. Smooth Arcs
7. Channel polygons
  1. Create Polygon using Toolbox - Polygons from Arcs
  2. Clean polygon
8. Merge coverages
  1. Select multiple coverages that have feature objects which need to be on the same coverage.
  2. Use the Merge Coverages right-click command.
  3. Right-click on the new coverage and set the correct coverage type.
  4. Use the Clean Options dialog to resolve conflicting feature object data in the new coverage.
  1. Set polygon properties
9. Define Streams
  1. Interpolate Elevations to Coverage
1. Convert image data.
1. Convert raster data to feature contours.
  1. Right-click on the raster image and select the Convert To | Feature Contours command to create a new map coverage with elevation contours.
2. Convert raster data to feature contours at a specified elevation.
  1. Right-click on the raster image and select the Convert To | Feature Contours at Given Elevation command.
  2. In the Create Contour Arc dialog, specify an elevation and click OK to generate a map coverage with contours created along the specified elevation.
3. Convert raster data to scatter set.
  1. Right-click on the raster image and select the Convert To | 2D Scatter command.
  2. In the Raster → Scatter dialog, give the scatter set a name and click OK to generate the scatter set.
4. Convert image data to 2D grid.
  1. Right-click on the raster image and select the Convert To | 2D Grid command.
5. Convert raster data to flood depth raster.
A water surface elevation dataset must be available in the project for this process to function.
  1. Right-click on the raster image and select the Convert To | Flood Depths command.
  2. In the Select Geometry and Dataset dialog, select the geometry containing the water surface elevation dataset and then select the water surface elevation dataset.
  3. Save the new raster with the inundated depth data.
2. Interpolate image data.
1. Interpolate raster data to active coverage.
  1. Select and make active the map coverage where the raster data is to be interpolated.
  2. Right-click on the raster image and select the Interpolate | Active Coverage command.
2. Interpolate raster data to 2D Mesh.
  1. Select and make active the mesh where the raster data is to be interpolated.
  2. Right-click on the raster image and select the Interpolate | 2D Mesh command.
3. Interpolate raster data to scatter set.
  1. Select and make active the scatter set where the raster data is to be interpolated.
  2. Right-click on the raster image and select the Interpolate | 2D Scatter command.
4. Interpolate image data to 2D grid.
  1. Select and make active the 2D grid where the raster data is to be interpolated.
  2. Right-click on the raster image and select the Interpolate To | 2D Grid command.
  1. Define Channel Geometry
  1. Type Models GSSHA Boundary Conditions
  2. Assign Arc Properties
  3. Set the Most Downstream Arc
  4. Set the Arc Direction
10. Smooth Streams
  1. Redistribute Vertices
  2. Toolbox GSSHA Remove Adverse Slopes
11. Create 2D Grid
  1. Run GSSHA 2D UGrid tool from Toolbox
12. Define Land Use and Soil Data
  1. Import SSURGO shapefile data
  2. Merge SSURGO files using the Join NRCS Soil Data option
13. Clean Digital Dams
  1. Run Clean Dams tool from Toolbox
14. Create a new GSSHA simulation.
After creating the components of a simulation, create a new SRH-2D simulation.
  1. Right-click in the Project Explorer and select the New Simulations | GSSHA command.
15. Add GSSHA 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 Apply To submenu.
  2. In the Project Explorer, click and drag items under the simulation object.
16. Set GSSHA model parameters.
  1. Right-click on the simulation and select the Model Control command.
  2. Set the model parameters in the GSSHA Model Control dialog.
17. Run the GSSHA simulation.
18. 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.