SMS:Grid Nesting

From XMS Wiki
Jump to navigationJump to search

Grid nesting refers to the ability to take output at specified locations from one grid to use for boundary conditions on another. We refer to the source grid as the parent grid and the grid using the boundary conditions as the child grid. This approach is often used in order to cover a large area with a coarse grid with a more refined grid in a specific area of interest.

Within SMS you can setup nesting for STWAVE using a STWAVE parent grid or a WAM parent grid. The functionalities are quite similar with some minor changes specific to each type of setup.

Nesting STWAVE → STWAVE

You can do nesting with full or half plane grids but the parent and child grids must be consistent (you can't nest a half-plane STWAVE grid within a full-plane grid). You can specify the nesting options by clicking on the options button in the STWAVE Model Control dialog.

Options

  • Select Nesting Grid – This command indicates that the current grid should obtain input spectral values from a parent grid. By selecting this option the current grid is nested in the grid selected in the combo box below.
  • Type of Boundary Interpolation – Choose to use either linear boundary interpolation or morphic boundary interpolation. The morphic interpolation method was developed to preserve the shape of the directional distribution. It is appropriate for climatic wave transformation studies where a parametric spectral shape is applied based on wave parameters.

When doing STWAVE → STWAVE nesting, some of the parameters in the child grid must match those in the parent grid. These include whether or not the model is using time steps, whether the model is using a reference time, whether the model is full or half plane, and the identifiers for each of STWAVE snaps (time steps or cases). These options will be disabled in SMS once you have chosen to do nesting.

Nesting WAM → STWAVE

Even though the output spectra from WAM is always full-plane, a full or half plane STWAVE grid may be nested within a WAM grid. You can set the nesting options by clicking on the options button in the model control dialog. Since WAM models are always run at specific date/times, child STWAVE models always use time steps with reference times.

Options

  • WAM Simulation – The WAM simulation which will provide the input spectra.
  • WAM Grid – The WAM grid within the simulation to extract spectra.
  • Start time – The first time to run STWAVE. This time must be an output time specified in the WAM grid options.
  • End time – The last time to run STWAVE. This time must be an output time specified in the WAM grid options.
  • Interval – The snap interval must be set so each snap will hit a WAM output time. For example if WAM data was being output every hour, the interval may be 1 hour, 2 hours, or 3 hours but not 1.5 hours.
  • Type of Boundary Interpolation – Choose to use either linear boundary interpolation or morphic boundary interpolation. The morphic interpolation method was developed to preserve the shape of the directional distribution. It is appropriate for climatic wave transformation studies where a parametric spectral shape is applied based on wave parameters.

The start time, end time, and interval will determine the number of snaps used by STWAVE and the times associated with each.

Spectral Sites

Regardless of the type of nesting that is going to take place, spectra need to be provided to STWAVE along the boundaries with input spectra (see Boundary Conditions Dialog). Both WAM and STWAVE support the ability to output computed spectra at specified locations. These locations can be specified manually using cell attributes but preferably are automatically generated. To automatically generate these output locations, click on the spectral sites button in the model control dialog (the nesting options should have already be set). Be sure that if you are using a full-plane model, the sides which will have spectra input have already been identified. The dialog that comes up will allow you to choose between different options to control the number of nesting cells along the offshore boundary. The more nesting cells you have the better you can capture differences along the boundary. However, more nesting cells require more disk space and time to read and write the files.