GTGRID User Guide > Error Messages > GTGRID Error Messages
  

GTGRID Error Messages
The following error messages are associated with GTGRID.
Error Message
%GTGRID: Argument XVEC must be a FLOAT or a DOUBLE array.
Commands that Produced Error
WAVE> X = 1
WAVE> Zz = GTGRID(X,Y,Z)
Response
A solution to this error is to make X a float array. For example:
WAVE> X = FLTARR(5)
WAVE> Zz = GTGRID(X,Y,Z)
Error Message
%GTGRID: Direct method is limited to vectors with less than 100000 points.
Commands that Produced Error
WAVE> X = FLTARR(110000)
WAVE> Y=X & Z=X
WAVE> Zz=GTGRID(X,Y,Z, Method='direct')
Response
The direct method can only be used on data that contains less than 100000 points. Either change methods or reduce the number of points.
Error Message
%GTGRID: Direct Method does NOT support fault OR crease processing.
Commands that Produced Error
WAVE> Zz=GTGRID(X, Y, Z, Method='direct', Xfaults=Xf)
Response
The direct method can not be used with fault or crease data. Use another method if faults or creases need to be considered. Remove the Xfaults keyword if you really want to use the direct method.
Error Message
%GTGRID: Invalid gridding method specified: BOGUS
Commands that Produced Error
WAVE> Zz = GTGRID(X, Y, Z, Method='bogus')
Response
Valid methods include: Direct, Scatter, Cluster, and Weighted. Any other string, including an empty string, will result in an error.
Error Message
%GTGRID: Both XFAULTS and YFAULTS keywords must be supplied for fault processing.
Commands that Produced Error
WAVE> Zz=GTGRID(X,Y,Z, Xfaults=Xf)
or:
WAVE> Zz=GTGRID(X,Y,Z, Yfaults=Yf)
Response
Both Xfaults and Yfaults keywords must be present for fault processing.
Error Message
%GTGRID: Maximum number of data points exceeded.
%GTGRID: Reduce the number of data points or size of output grid.
Commands that Produced Error
WAVE> X = FLTARR(1000000)
WAVE> Y = X & Z = X
WAVE> Zz=GTGRID(X, Y, Z)
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
%GTGRID: The X clipping maximum must be greater than the minimum.
Commands that Produced Error
WAVE> Zz=GTGRID(X,Y,Z, Xmin=1000, Xmax=100)
Response
The minimum value must be less than the maximum value or an error will occur. Change Xmin to less than 100 or increase Xmax to greater than 1000. This also applies to the Y clipping planes.
Error Message
%GTGRID: The X and Y FAULTS arrays must be the same length.
Commands that Produced Error
WAVE> Yf = FINDGEN(60)
WAVE> Xfbad = FINDGEN(59)
WAVE> ZZ = GTGRID(X, Y, Z, Xfault=Xfbad, Yfault=Yf)
Response
The number of X faults must be equal to the number of Y faults for fault processing.
Error Message
% GTGRID: ERROR - No input points found in [xmin, xmax]. 
Commands that Produced Error
WAVE> GT_GET_DATA, X, Y, Z
WAVE> ZZ = GTGRID(X, Y, Z, xmin=0.0, xmax=1000.0)
Response
Points in X between Xmin and Xmax, inclusive, must exist for a grid to be produced. Change Xmax so that the range includes a subset of X.
Error Message
% GTGRID: Interpolation distance (interp_dist) must be GT 0
Commands that Produced Error
WAVE> GT_GET_DATA, X, Y, Z
WAVE> ZZ = GTGRID(X, Y, Z, interp_dist = -10.0)
Response
The interpolation distance must be positive and nonzero. Change the value to 10.0 or use the default.
Error Message
% GTGRID: XSPACING and YSPACING must be GT 0: xspacing = -100.250 yspacing = 101.895
Commands that Produced Error
WAVE> GT_GET_DATA, X, Y, Z
WAVE> ZZ = GTGRID(X, Y, Z, Xspacing = –100.25)
Response
The spacing between grid nodes must be positive and nonzero. Change the value to 100.25 or use the default.
Error Message
% GTGRID: Neighbors must be GE 0, Default == 5
Commands that Produced Error
WAVE> GT_GET_DATA, X, Y, Z
WAVE> ZZ = GTGRID(X, Y, Z, Neighbors = –1)
Response
The number of octants required to have neighbors for node calculation must be positive. Change the value to 0 or use the default of 5.
Error Message
% GTGRID: Averaging distance (dist_avg) must be GT 0
Commands that Produced Error
WAVE> GT_GET_DATA, X, Y, Z
WAVE> ZZ = GTGRID(X, Y, Z, dist_avg = –5.0)
Response
The distance over which to average input points before using them to compute the grid nodes must be positive and nonzero. Set the Dist_avg to 5.0 or use the default.
Error Message
**** WARNING!  CREASES are no longer supported in GTGRID. ****
Commands that Produced Error
WAVE> GT_GET_DATA, X, Y, Z, XF, YF, XC, YC
WAVE> ZZ = GTGRID(X, Y, Z, Xcrease=XC, Ycrease=YC)
Response
Creases are not supported in PV‑WAVE GTGRID 2.x. GTGRID function calls that use creases will run without error; however, the creases are ignored. Avoid using Xcrease or Ycrease keywords in PV‑WAVE GTGRID 2.x calls.

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