Download PDF
Download page Viewing Spatial Results.
Viewing Spatial Results
The Spatial Results Toolbar provides options to visualize results for Basin Models that have been created using GIS Features (Georeferenced Elements). Spatial results must be turned on within the Simulation Run's Component Editor. Spatial results should be turned on after preliminary calibration has been completed. Use of spatial results can assist in the calibration process and provide additional information about the simulation. If you make edits to the basin geometry, edit model parameters, or change the simulation configuration, the spatial results will be automatically re-computed during the simulation.
The following figure shows the Spatial Results Toolbar along with Snow Water Equivalent (SWE) results displayed on top of the Basin Model. The Spatial Results toolbar includes options for Selecting Output Results, an Animation Toolbar, Buttons for Controlling the Animation, Max and Min buttons, a display settings button that opens an editor with options for animation, symbology, and display settings, and buttons to export an animation and/or snapshot file.
When a valid spatial result is selected, a tool tip containing the value and units for the specific time step and grid cell over which the mouse is hovered will be displayed, as shown in the following figure.
When a valid spatial result is selected, the Plot Spatial Results option is available from its context menu for tabulating the results for the specific grid cell which was clicked, as shown in the following figure.
Requirements for Spatial Results
A Georeferenced Basin Model (Subbasin Elements must be georeferenced) is required to utilize spatial results. A Georeferenced Basin Model can be created using the GIS Tools to delineate elements from a Terrain Model. Another option to georeference a Basin Model is to use the Georeference Existing Elements or Import Georeferenced Elements tools from the GIS menu. These two tools use geographic information in shapefiles to georeference Subbasin Elements.
Spatial results can be visualized at the subbasin level, spatially averaged for the subbasin, or across the model domain using the Discretization Method chosen for the subbasin elements (Structured Discretization or Unstructured Discretization). Spatial results will be displayed at the Grid or Mesh Level when the Transform Method is either ModClark or 2D Diffusion Wave and the Structured, Unstructured, and File-Specified *.sqlite, *.HDF5, and *.HDF Discretization Methods are selected. Gridded spatial results cannot be visualized for Subbasin Elements using the ModClark file option (under the File-Specified Discretization Method). Instead, results will be displayed as a subbasin average value when the *.mod File option is used for the File-Specified Discretization Method. Spatial results will be displayed at the Subbasin Level when Transform Methods other than the ModClark or 2D Diffusion Wave Transform are used.
Activate Spatial Results
Spatial results can be displayed for both Simulation Runs and Forecast Alternatives. Spatial results must be activated in the Simulation Run's Component Editor, as shown below. You can also set the Time Interval for spatial results. The simulation time-step is used as the default interval. Spatial results are saved to an HDF5 file within the project's Results directory; results are saved to an *.H5 file. Turning on spatial results will add additional time to the simulation due to additional output being generated and saved to disk. The additional time can be up to 1/3 of the simulation time without spatial results activated.
The very first time an Output Result is selected in the Spatial Results Toolbar, the program will process the simulation HDF5 and build animation tiles for display. A message will pop up the very first time the output HDF file is processed indicating animation tiles are being created. The time it takes to build the animation tiles can be large for larger model domains; however, the processing is only required the very first time spatial results are displayed. The display time for subsequent simulations will be much quicker because animation information already exists.
Spatial Results Toolbar
As shown in the figure below, the Spatial Results Toolbar is configured to 1) Select an Output Result to Visualize, 2) Control the Animation, and 3) Edit the Display and Animation Properties. Results that can be animated include Meteorologic Results, Snow Modeling Results, and Precipitation Excess and Loss. Hydraulic Depth, Water Surface Elevation, and Cell Velocity can be displayed for subbasins that use the 2D Diffusion Wave Transform Method. Statistical metrics comparing observed and computed data, if specified, will be available as well. A full list of spatial variables is provided below (some results are only available when running the program in debug mode):
Variable | Process | Method |
---|---|---|
Incremental Precipitation | Precipitation | All Precipitation Methods |
Cumulative Precipitation | Precipitation | All Precipitation Methods |
Air Temperature | Snowmelt | All Snowmelt Methods |
SWE (Snow Water Equivalent) | Snowmelt | All Snowmelt Methods |
Albedo | Snowmelt | Energy Balance |
ATI (Antecedent Temperature Index) | Snowmelt | Temperature Index |
Cold Content | Snowmelt | Temperature Index |
Cold Content ATI | Snowmelt | Temperature Index |
Heat Deficit | Snowmelt | RTI/Hybrid |
Liquid Water Content | Snowmelt | All Snowmelt Methods |
Melt Rate ATI | Snowmelt | Temperature Index |
Pack Energy | Snowmelt | Energy Balance |
Pack Temperature | Snowmelt | Energy Balance |
Snow Depth | Snowmelt | RTI/Hybrid and Energy Balance |
Surface Temperature | Snowmelt | Energy Balance |
Incremental Loss | Loss | All Loss Methods |
Cumulative Loss | Loss | All Loss Methods |
Incremental Excess | Loss | All Loss Methods |
Cumulative Excess | Loss | All Loss Methods |
Water Surface Elevation | Transform | 2D Diffusion Wave |
Hydraulic Depth | Transform | 2D Diffusion Wave |
Cell Velocity | Transform | 2D Diffusion Wave |
Bed Change (Total) | Sediment Transport | 2D Sediment |
Bed Change - Clay | Sediment Transport | 2D Sediment |
Bed Change - Silt | Sediment Transport | 2D Sediment |
Bed Change - Sand | Sediment Transport | 2D Sediment |
Bed Change - Gravel | Sediment Transport | 2D Sediment |
Sediment Concentration (Total) | Sediment Transport | 2D Sediment |
Sediment Concentration - Clay | Sediment Transport | 2D Sediment |
Sediment Concentration - Silt | Sediment Transport | 2D Sediment |
Sediment Concentration - Sand | Sediment Transport | 2D Sediment |
Sediment Concentration - Gravel | Sediment Transport | 2D Sediment |
Snow - NSE | Snowmelt | All Snowmelt Methods w/ Observed Data |
Snow - PBIAS | Snowmelt | All Snowmelt Methods w/ Observed Data |
Snow - R2 | Snowmelt | All Snowmelt Methods w/ Observed Data |
Snow - RSR | Snowmelt | All Snowmelt Methods w/ Observed Data |
Flow - NSE | All | All Methods w/ Observed Data |
Flow - PBIAS | All | All Methods w/ Observed Data |
Flow - R2 | All | All Methods w/ Observed Data |
Flow - RSR | All | All Methods w/ Observed Data |
The animation can be controlled through the Animation Control Slider Bar and Buttons. The slider bar can be manually dragged right or left to advance or reverse results. The animation control buttons include a button to go to the beginning of the animation, move forward one time interval, pause the animation, reverse the animation one time interval, and go to the end of the animation.
Legend, Scale Bar, and North Arrow
A Legend, Scale Bar, and North Arrow can now be displayed within the Desktop when a valid spatial result is selected. These options can be enabled/disabled through the View menu, as shown in the following image.
Legend, Scale Bar, and/or North Arrow Properties can be edited by right clicking on the item of interest within the map and selecting Edit Properties. Placement, Fill, and Border options can be adjusted, as shown in the following image. Additionally, the North Arrow can be displayed relative to True North (default) or Magnetic North when editing the North Arrow Properties.
Max/Min Buttons
The Max and Min buttons allow for quick visualization of the minimum or maximum of any spatial result regardless of the time in which they were achieved. When selected, these buttons will be shown with a white background, as shown in the following image.
Export Animation and Snapshot Buttons
An Export Animation button and an Export Snapshot button can be used to export the current spatial result to be viewed within another application. The Export Snapshot button enables the user to export the currently selected spatial result at the current display time step as a GeoTIFF file. Upon clicking this button, a dialog will appear allowing the user to specify the location and name of the resultant GeoTIFF file. The output GeoTIFF will be georeferenced and can be read by common GIS software (e.g. QGIS, ArcGIS). The Export Animation button enables the user to export an animation of the currently selected spatial result. Upon clicking this button, a dialog will appear allowing the user to specify the location and name of the output. Only the MP4 file format is currently supported. The resultant animation will also include any currently displayed maps (e.g. subbasin outlines, reservoir icons, terrain, etc) and can be opened within common media players (e.g. Windows Media Player, Microsoft PowerPoint).
Display Settings
The Display Settings editor can be opened by clicking the Gear icon located on the right side of the Spatial Properties Toolbar. The figure below shows the Playback tab in the Display Settings editor. You can change the Frame Rate to control the speed of the animation. There is check box to control whether the animation is looped or not.
The figure below shows the Symbology tab. When the Stretch Symbology option is selected, you can edit the Max and Min values and the Color Scheme.
The figure below shows how the Symbology editor is configured when the Classify Symbology option is selected. There are three methods to choose from to subdivide classes, Natural Breaks (Jenks), Equal Interval, and Manual. You can overwrite the Max and Min values when the Equal Interval option is selected. You can edit the Upper values in the Classes table when the Manual method is selected. The Number of Classes can only be edited when the Natural Breaks (Jenks) or Equal Interval methods are chosen. You can edit the Color Scheme by choosing a palette from the drop down list, you can also edit individual colors by clicking on them in the Classes table. Finally, Labels can be manually edited if needed.
The figure below shows the Display tab. You can control the Transparency setting, and whether to apply hillshading or to invert the color ramp.
The Apply button must be pressed after edits are made to the display settings, then press the Close button to close the editor.