GTGRID User Guide > Error Messages > GTINSTALLSURF Error Messages
  

GTINSTALLSURF Error Messages
Error Message
% GTINSTALLSURF: Must provide a 2D grid as input.
Commands that Produced Error
WAVE> badZz = 1
WAVE> mysurf=GTINSTALLSURF(badZz)
Response
The installed grid must be two-dimensional.
Error Message
% GTINSTALLSURF: Maximum number of data points exceeded.
Commands that Produced Error
WAVE> mysurf=GTINSTALLSURF(Zz, numpts=3000000L)
Response
Two million (2,000,000) is the maximum number of data points and grid nodes. GTGRID uses the following equation to determine whether the number of maximum points has been exceeded:
N_Elements(XVEC) + N_Elements(YVEC) + $
N_Elements(ZVEC)) + (NX * NY) < 2000000
Error Message
% GTINSTALLSURF: numpts must be GE 0.
Commands that Produced Error
WAVE> mysurf=GTINSTALLSURF(Zz, numpts=0L)
Response
A grid must be associated with a nonzero number of points. As a solution you can specify the largest grid dimension as the number of points.
Error Message
% GTINSTALLSURF: nx must be GE 0.
Commands that Produced Error
WAVE> mysurf=GTINSTALLSURF(Zz, nx=-1, numpts=26)
Response
The dimensions of the installed grid must be nonzero and positive. nx and ny will default to the dimensions of the grid, Zz.
Error Message
% GTINSTALLSURF: Must supply xvec, xmin and xmax, or xspacing.
Commands that Produced Error
WAVE> mysurf=GTINSTALLSURF(Zz, yvec=yvec)
Response
GTINTALLSURF must be able to determine the appropriate x, y origin and node spacing for the given grid. That information can only be computed from an x vector (Xvec), the minimum and maximum x values. Otherwise, the x-spacing must be explicitly defined. The y-spacing must also be determined.
Error Message
% GTINSTALLSURF: Both XFAULTS and YFAULTS keywords must be supplied for fault processing.
Commands that Produced Error
WAVE>mysurf=GTINSTALLSURF(Zz, xfaults=Xf, numpts=26, xvec=X, $
yvec=Y)
Response
Both x and y faults must be provided for fault installation.
Error Message
% GTINSTALLSURF: The X and Y FAULTS arrays must be the same length.
Commands that Produced Error
WAVE> GT_GET_DATA, X, Y, Z, XF, YF
WAVE> XFbad = 1
WAVE> mysurf=GTINSTALLSURF(Zz, xfaults=XFbad, yfaults=YF, $
numpts=26)
Response
The number of x faults must be equal to the number of y faults for fault installation.
Error Message
% GTINSTALLSURF: xspacing must be GE 0.
Commands that Produced Error
WAVE>GT_GET_DATA,X,Y,Z
WAVE>mysurf=GTINSTALLSURF(Zz, xspacing=-100.0, yspacing=120.0, $
numpts=26, xvec=X, yvec=Y, zvec=Z)
Response
The defined spacing between nodes in the installed grid must be positive and nonzero.
Error Message
% GTINSTALLSURF: yspacing must be GE 0.
Commands that Produced Error
WAVE> GT_GET_DATA, X, Y, Z
WAVE> ymin=MIN(Y, max=ymax) & xmin=MIN(X, max=xmax) & zmin=MIN(Z)
WAVE> mysurf=GTINSTALLSURF(Zz, xspacing=100.0, ymin=ymax, $
ymax=ymin, xorg=xmin, yorg=ymin, zmin=zmin, numpts=26)
Response
Unless explicitly defined, the defined spacing between nodes in the installed grid is determined by the formula:
xspacing = FLOAT((xmax-xmin)/((FLOAT(nx)–1.)))
yspacing = FLOAT((ymax-ymin)/((FLOAT(ny)–1.)))
Make sure that ymin < ymax and xmin < xmax.
Error Message
% GTINSTALLSURF: Must supply xvec, xmin, or xorg.
Commands that Produced Error
WAVE> mysurf=GTINSTALLSURF(Zz, xspacing=100.0, yspacing=120.0, $
numpts=26)
Response
GTINSTALLSURF must determine the origin of the grid in order to install it. This can only be determined from the original x vector from which the grid was formed or the minimum x value. Otherwise, the origin must be explicitly defined. The keywords Yvec, Ymin, or Yorg must also be defined.
Error Message
% GTINSTALLSURF: Must supply zvec, zmin and zmax, or nulval.
Commands that Produced Error
WAVE> mysurf=GTINSTALLSURF(Zz, xspacing=100.0, yspacing=120.0, $
xorg=xmin, yorg=ymin, zmin=zmin, numpts=26)
Response
GTINSTALLSURF must determine the Nulval, the value meaning an undefined point, for the installed grid. Unless explicitly defined, the Nulval is determined as follows:
nulval = FLOAT(zmin)–(FLOAT(zmax)–FLOAT(zmin))
If the z vector is given by the user, it is used to determine Zmin and Zmax. Otherwise, Zmin and Zmax must both be defined.

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