Versions Compared

Key

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

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.

As described in the ..., Grid+ allows the creation of data points from the us to create a data point file from grid cells that already have the grid's elevation. SoAs a model setting step, we have to take data point values from cross-sections and then assign them to 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 Figure 1 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 Figure 2 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 Figure 3 2459402261. Right-mouse click and select Interpolate Grid Elevations as shown in Figure 3 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 Figure 42459402261.
  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 Figure 5 2459402261.
  6. Select entire of the grid by selecting the grid block option, then select Interpolation Elevation in I-Direction as shown in Figure 6 2459402261Figure 7 2459402261 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 Figure 8 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 Figure 9 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 Figure 10 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

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


Anchor
Figure 2
Figure 2

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


Anchor
Figure 3
Figure 3


Figure 3. Select the interpolate grid elevation option.


Anchor
Figure 4
Figure 4

Figure 4. A Show bottom elevation of cells.


Anchor
Figure 5
Figure 5

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


Anchor
Figure 6
Figure 6

Figure 6. Modify Selection form.


Anchor
Figure 7
Figure 7

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


Anchor
Figure 8
Figure 8

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


Anchor
Figure 9
Figure 9

Figure 9. Grid's elevation data points.

...

Anchor
Figure 10
Figure 10

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

...