Returns agridded, 2D array containing radii, given random longitude, latitude, and radius values.
grid_x
grid_y
Order
w = 1.0 / (dist ^ Order)
dist
is the distance to the point. (Default: 2)Radius
With a smaller radius, the data points are closer together and more smoothing occurs. A larger radius causes less smoothing.
XMax
If XMax is omitted, then a longitude of
XMin
If XMin is omitted, then a longitude of -
YMax
If YMax is omitted, then a latitude of
YMin
If YMin is omitted, then a latitude of -
The longitude values are assumed to be in the range -
To grid on a portion of a sphere rather than on an entire sphere, use the XMin, XMax, YMin, and YMax keywords.
PRO grid_demo5
sphere = FLTARR(3, 6) sphere(*, 0) = [ 33.0, -64.0, 0.2] sphere(*, 1) = [280.0, 5.0, 1.8] sphere(*, 2) = [350.0, 41.0, 1.9] sphere(*, 3) = [310.0, 83.0, 0.3] sphere(*, 4) = [ 67.0, -16.0, 1.6] sphere(*, 5) = [133.0, -75.0, 0.2] sphere(0, *) = sphere(0, *) - 180.0
sphere = GRID_SPHERE(sphere, 32, 32, $ /Degrees, Order=4.0, Radius=20.0)
POLY_SPHERE, sphere, 32, 32, vertex_list, polygon_list
WINDOW, 0, Colors=128, XSize=800, YSize=600 LOADCT, 3 CENTER_VIEW, Xr=[-2.0, 2.0], Yr=[-2.0, 2.0], $ Zr=[-2.0, 2.0], Ax=(-40.0), Az=0.0, $ Zoom=1.0, Winx=800, Winy=600
SET_SHADING, Light=[-0.5, 0.5, 1.0] TVSCL, POLYSHADE(vertex_list, polygon_list, /T3d)
END
sphere_demo3
demonstration program in:
wavedir
/demo/arl
wavedir
:[DEMO.ARL]
wavedir
\demo\arl
wavedir
is the main PV-WAVE directory.
UNIX and OpenVMS Users: For information on the optional software package for advanced gridding, PV-WAVE:GTGRID, contact your Visual Numerics account representative.