Reference Guide > G Routines > GRID Function
  

GRID Function
Standard Library function that generates a uniform grid from irregularly-spaced data.
Usage
result = GRID(xtmp, ytmp, ztmp)
Input Parameters
xtmp—The vector containing the x-coordinates of the irregularly-spaced input data.
ytmp—The vector containing the y-coordinates of the irregularly-spaced input data.
ztmp—The vector containing the z-coordinates of the irregularly-spaced input data.
Returned Value
result—Array containing gridded z values applied to a uniform XY grid.
Keywords
Nghbr—The number of neighboring data points to be used in the gridding algorithm. Must be in the range of {3 ... 25}. (Default: 3)
Nx—The number of columns in the resulting array. Must be200.
Ny—The number of rows in the resulting array. Must be200.
Discussion
As of PV‑WAVE version 6.0, the previously used GRID procedure algorithm has been discontinued. GRID now calls the FAST_GRID3 procedure directly. If you prefer to use the previously supported GRID algorithm, please contact Rogue Wave’s Technical Support.
 
note
PV‑WAVE GTGRID is an optional software package for advanced gridding. It gives you additional interpolation and extrapolation power by providing access to a library of gridding routines provided by Geophysical Techniques, Inc. For information on PV‑WAVE GTGRID, contact your Rogue Wave account representative.
See Also
FAST_GRID3,   GRID_3D

Version 2017.0
Copyright © 2017, Rogue Wave Software, Inc. All Rights Reserved.