User:Jcreer/GMS:UGrid Interpolation 10.4: Difference between revisions

From XMS Wiki
Jump to navigationJump to search
Line 27: Line 27:
Clicking the '''Options''' button will open a dialog specific to the interpolation method being used.
Clicking the '''Options''' button will open a dialog specific to the interpolation method being used.
===Linear===
===Linear===
The Linear interpolation scheme uses data points that are first triangulated to form a network of triangles. [[GMS:UGrid Linear Interpoaltion|UGrid Linear Interplation]]. The network of triangles only covers the convex hull of the point data, making extrapolation beyond the convex hull not possible.
The Linear interpolation scheme uses data points that are first triangulated to form a network of triangles. [[GMS:UGrid Linear Interpoaltion|UGrid Linear Interpolation]]. The network of triangles only covers the convex hull of the point data, making extrapolation beyond the convex hull not possible.


If the linear interpolation scheme is selected, the data points are first triangulated to form a network of triangles. The equation of the plane defined by the three vertices of a triangle is as follows:
If the linear interpolation scheme is selected, the data points are first triangulated to form a network of triangles. The equation of the plane defined by the three vertices of a triangle is as follows:

Revision as of 16:56, 31 August 2018

UGrid Module
VoronoiUGrid.png
UGrid
Creating and Editing
Viewing Modes
Converting to Other Data Types
Exporting UGrids
UGrid Interpolation
More
Display Options
Tool Palette
Cell Properties
UGrid Commands

UGrid datasets can be interpolated to other UGrids similar to how scatter point datasets can be interpolated to other objects. The Interpolate To command is found in the right-click menu of the UGrid dataset to be interpolated to another UGrid. This command opens the Interpolate UGrid to UGrid dialog:

Interpolate UGrid to UGrid dialog

This dialog allows selecting the interpolation options to use, and the UGrid to interpolate to. See Interpolation for more information on interpolation. Options include:

  • Source UGrid – The drop-down menu here will display a list of all available UGrids. Select the UGrid containing the source dataset.
  • Source dataset – The drop-down menu will display a list of all available datasets under the source UGrid. Select the dataset to use for interpolation.
  • Times – If the source dataset is transient, time steps should be specified. Options include:
    • "Specified Time Step" – This option will use the select time step in the next field.
    • "All Times" – This option will use all time steps available in the source dataset.
  • Interpolation method – This section specifies which interpolation process will be used.
    • Linear – Uses data points that are first triangulated to form a network of triangles. The Options button for this method will bring up the Interpolate – Linear dialog where the interpolation values can be truncated or the Clough-Tocher method can be applied.
    • Inverse distance weighted – Creates an interpolated surface that is a weighted average of the point data; the weight assigned to each point diminishes as the distance to the interpolation location increases. The Options button next to this option will bring up either the 2D IDW Interpolation Options dialog or the 3D IDW Interpolation Options dialog.
    • Natural neighbor – Based on the Thiessen polygon network of the point data. The Options button next to this option will bring up the Natural Neighbor Options dialog.
    • Kriging – Based on the assumption that the parameter being interpolated can be treated as a regionalized variable. The Options button next to this option will bring up the Kriging Options dialog.
    • Dimension – Options in this drop-down determine whether the interpolation will be two-dimensional or three dimensional.
      • 2D – Designates the interpolation as two-dimensional data. This is the default interpolation method.
      • 3D – Specified the interpolation as three-dimensional data. Only the inverse distance weighted and Kriging options are available with this method.
  • Target UGrid – The drop-down menu will contain a list of available UGrids where the source dataset can be interpolated.
  • Target dataset name – Enter a name for the new dataset that will appear under the target UGrid.
  • Target dataset location – Specifies where the new dataset will be located: at the points or at the cells.
    • Points – Specifies the new dataset will be located at the points.
    • Cells – Specifies the new dataset will be located at the cells.

UGrid Interpolation Options

Clicking the Options button will open a dialog specific to the interpolation method being used.

Linear

The Linear interpolation scheme uses data points that are first triangulated to form a network of triangles. UGrid Linear Interpolation. The network of triangles only covers the convex hull of the point data, making extrapolation beyond the convex hull not possible.

If the linear interpolation scheme is selected, the data points are first triangulated to form a network of triangles. The equation of the plane defined by the three vertices of a triangle is as follows:

Linear eq1.jpg
where A, B, C, and D are computed from the coordinates of the three vertices (x1,y1,z1), (x2,y2,z2), and (x3,y3,z3):

The plane equation can also be written as:

which is the form of the plane equation used to compute the elevation at any point on the triangle.

Since the network of triangles only covers the convex hull of the point data, extrapolation beyond the convex hull is not possible with the linear interpolation scheme. Any points outside the convex hull of the point data are assigned the default extrapolation value entered at the bottom of the Interpolation Options dialog. The figure below shows a network of triangles created from point data.

Network of triangles
The Interpolate – Linear dialog

If the Linear interpolation method is selected in the Interpolate UGrid to UGrid dialog, options can be set in the Interpolate – Linear dialog. This dialog has the following options:

  • Truncate values – This section allows for limiting the interpolated values to lie between the minimum and maximum value.
    • Truncate to min/max of dataset – Limits the interpolated values to the minimum and maximum values in the original dataset.
    • Truncate to specified range – Allows setting a user specified minimum and maximum value range.
    • Min – Manually sets a minimum value.
    • Max – Manually sets a maximum value.
  • Clough-Tocher – When on, the Clough-Tocher interpolation technique will be used.

Inverse Distance Weighted

Inverse Distance Weighted (IDW) is one of the most commonly used techniques for interpolation of point data. Its methods are based on the assumption that the interpolating surface should be influenced most by the nearby points and less by the more distant points.

Natural Neighbor

Natural neighbor interpolation is based on the Thiessen polygon network of the point data. The Thiessen polygon network can be constructed from the Delaunay triangulation of a set of points. A Delaunay triangulation is a network of triangles that has been constructed so that the Delaunay criterion has been satisfied. As with IDW interpolation, the nodal functions can be either constants, gradient planes, or quadratics.

Kriging

Kriging is based on the assumption that the parameter being interpolated can be treated as a regionalized variable. A regionalized variable is intermediate between a truly random variable and a completely deterministic variable because it varies in a continuous manner from one location to the next. Therefore points that are near each other have a certain degree of spatial correlation, but points that are widely separated are statistically independent.[1] Kriging is a set of linear regression routines which minimize estimation variance from a predefined covariance model.

Advanced

The Interplate – Advanced dialog
  • Anisotropy – Options in this section allow taking into account for directional tendencies in the original dataset.
    • Horizontal anisotropy
    • Azimuth – Sets angle of degrees between the projected vector and a reference vector on the reference plane.
    • Vertical Anisotropy (1/z mag) – Available with the 3D option. Vertical anisotropy is 1 over the Z scale.
  • Extrapolation
    • Value
    • Assign extrapolation value to hidden objects — Assigns the default extrapolation value to all cells that are hidden using the Hide command in the Display | Visibility menu.

Points vs. Cells

UGrids can have datasets associated with both cells and points. Thus there is an option to specify where the new dataset will be located: at the points or at the cells.