Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Delete Bottom Elevation

The Delete Bottom Elevation tool is used to clear the bottom elevation of the nodes within a defined area or in the gridline.

To view the bottom elevation of grid nodes, select the grid layer in the Layer Control, then RMC to display options, and select Show Labels / Bottom Elevation as shown in 2459467777. The bottom elevation values of nodes is then displayed. The following steps describe how to remove the bottom elevation of selected grid nodes.

  1. Select the grid layer in the Layer Control by LMC on that grid layer
  2. Set the mouse in the selection mode, hold the Shift key and LMC on two grid nodes either on the same grid line segment or different gridline segments. The grid block will be highlighted.  Next, release Shift, then RMC to show options, and select the Delete Bottom Elevation, as shown in 2459467777. As a result, the bottom elevation of nodes will be removed.
  3. To update the view of the bottom elevation of grid nodes after using the Delete Bottom Elevation, select show labels for bottom elevation as mentioned in 2459467777, the grid nodes whose bottom elevation has been removed will display as NaN labels as shown in 2459467777.
AnchorFigure 1Figure 1

Image Removed

Figure 1  Show bottom elevation labels of grid nodes.

AnchorFigure 2Figure 2

Image Removed

Figure 2  Delete Bottom Elevation option.

AnchorFigure 3Figure 3

Image Removed

Figure 3  Bottom Elevation labels of grid nodes after using the Delete Bottom Elevation option.

Modify Bottom Elevation

The Modify Bottom Elevation option is used to change the bottom elevation values of nodes in the defined area. The steps to define the selected gridline or grid bock are similar to the Delete Bottom Elevation option described above. After defining the impacted area, RMC to display options, and select the Modify Bottom Elevation as shown in 2459467777. The Modify Selection form will display as shown in 2459467777. The radial options of this form are described below.

Assign a Constant Value: Select this option, enter a constant value in the Value field then click the Apply button will assign that value to all nodes within the grid bock. The value displayed in the Average field is the initial averaged value calculated from the nodes within the grid bock.

Add a Value To: Select this option, enter a constant value in the Value field then click the Apply button will add a value to each existing value of nodes within the grid bock.

Subtract a Value From: This option is the opposite to the Add a Value To option.

Multiply with a Value: Select this option, enter a constant value in the Value field then clicking the Apply button will multiply the bottom elevation value of each node within the grid bock with a value.

Divide by a Value: This option is the opposite to the Multiply with a Value option.

Delete Selected Values: This option will remove the bottom elevation values from the selected nodes. It works like the Delete Bottom Elevation option that is described above.

Apply: Click this button to proceed with the radial option.

Close: Click this button to close the form.

Cancel: Click this button to cancel option selection, even clicking the Apply button previously

When building an EFDC model, we need a bottom elevation (or bathymetric data file) assigned to the model grid. However, we just have cross-section files in the model domain. So, how do we create a bottom elevation file for the model grid by using this cross-section?

This page will provide steps to do this.

Grid+ allows us to create a data point file from grid cells that already have the grid's elevation. As a model setting step, we use that file to assign the initial condition to the model grid cells.

Info

The grid used for generating the bottom elevation file does not have to be the same as your model grid. The density of points in the bottom elevation file will be based on the grid's resolution.


  1. Load the cross-sections file, and after that, generate a grid to cover the cross-section, as shown in 2459402261. To show the color ramp of the cross-section, press Alt+C, then set Min. and Max. values.
  2. Draw a polyline to cover grid cells with cross-section by selecting Add a new polyline button from the toolbar, as shown in 2459402261.
  3. Press the S key from the keyboard (selection mode), select the overlay layer in Layer Control panel, then click on the polyline, then it will be highlighted, as shown in 2459402261. Right-mouse click and select Interpolate Grid Elevations as shown in 2459402261.
  4. Next, select the grid layer in the control panel, Right-mouse click on that layer, then select Show Properties/Bottom Elevation, as shown in 2459402261.
  5. Apply step 3 for grid cells in other cross-sections. We will have cells in two heads of the grid, which have elevation as shown in 2459402261.
  6. Select entire of the grid by selecting the grid block option, then select Interpolation Elevation in I-Direction as shown in 24594022612459402261 shows the entire grid' elevation color ramp after interpolation.
  7. Select the Grid layer and Right-mouse click, then choose Create Scatter Data from Elevation as shown in 2459402261. As a result, a new layer, "XYZ from Grid" will be created in the layer control. We can turn off the grid layer and see the data points as shown in 2459402261
  8. Now we can export the grid's elevation to a data point by selecting "XYZ from Grid" layer and right-mouse click to select Export Data Points as shown in 2459402261. As a default setting, Grid+ will export to a data file with three columns: the first column is longitude, the second column is latitude, and the last column is elevation value. Note that the unit of the elevation value is the same as the unit of the values in the cross-sections. In case we want to export to a data file in the UTM zone coordinates, we can use the feature Convert in Grid+ before exporting.


Anchor
Figure 1
Figure 1

Image Added

Figure 1. Load cross-sections with a generated grid.


Anchor
Figure 2
Figure 2

Image Added

Figure 2. Draw polyline to select grid cells with cross-section.


Anchor
Figure 3
Figure 3

Image Added

Figure 3. Select the interpolate grid elevation option.


Anchor
Figure 4
Figure 4
Image Removed

Image Added

Figure 4 A Modify Bottom Elevation option. A Show bottom elevation of cells.


Anchor
Figure 5
Figure 5

Image RemovedImage Added

Figure 5  Modify Selection form.

Interpolate Bottom Elevation in I- or J-Direction

Sometimes a grid will have nodes that have different values for bottom elevation, and are some nodes are without bottom elevation values (NaN represents missing values) as shown in 2459467777. This option is used to interpolate and fill the bottom elevation in the I direction of the selected nodes. Displaying the I,J indices in advance helps to define which one is I or J direction. 

5. Bottom elevation of grid cells overlay cross-sections.


Anchor
Figure 6
Figure 6

Image RemovedImage Added

Figure 6  Show bottom elevation labels of a grid6. Modify Selection form.


Anchor
Figure 7
Figure 7

Image Removed

Image Added

Figure

7  Bottom elevation labels of a grid after using Interpolate Elevation

7. Grid's elevation after interpolating in I-

Direction option

direction.

Extent Bottom Elevation in I- or J-Direction

This option extents the first or last data points to fill the missing data. For filling missing data between grid points, please use the Interpolation Elevation in I-Direction or in J-Direction.

Create XYZ Data from Block

After defining a grid block, then RMC display options as shown in 2459467777, select Create XYZ Data from block option to create an XYZ layer in the Layer Control. This contains the coordinates and elevation of nodes and displays as points, as shown in 2459467777. To export this layer to an external file, RMC on the layer then select Export Data Points option.

AnchorFigure 8Figure 8

Image Removed

Figure 8  Create XYZ Data from Block option.

AnchorFigure 9Figure 9

Image Removed

Figure 9  Generated XYZ layer


Anchor
Figure 8
Figure 8

Image Added

Figure 8. Grid's elevation after interpolating in I-direction.


Anchor
Figure 9
Figure 9

Image Added

Figure 9. Grid's elevation data points.


Anchor
Figure 10
Figure 10

Image Added

Figure 10. Export Grid's elevation to data file.