problem with query

Aviva Braun braun at METEO.PSU.EDU
Thu Dec 10 15:22:58 EST 2009


Hi group,
I'm having issues getting my grads code to plot temperature advection  
properly.
Below is the code I'm using and below that is all of the errors I'm getting.
Any help would be much appreciated, so thanks!
Thanks,
Aviva


*WAA: T adv
"query w2xy "lon" "lat
"define dtx = cdiff(no2Tsfc.2,x)"
"define dty = cdiff(no2Tsfc.2,y)"
"define WAAy=-(vprs*dty)/(2.25*111000)"
"define WAAx=-(uprs*dtx)/(2.25*111000)"
"set gxout contour"
"d WAAy"
"d WAAx"

Query Error: Syntax is QUERY W2XY Lon Lat
Operation error:  Incompatable grids
   Dimension ranges aren't equivalent
   Error ocurred at column 11
DEFINE error:  Invalid expression.
Operation error:  Incompatable grids
   Dimension ranges aren't equivalent
   Error ocurred at column 11
DEFINE error:  Invalid expression.
Syntax Error:  Invalid Operand
   'waay' not a variable or function name
   Error ocurred at column 1
DISPLAY error:  Invalid expression
   Expression = waay
Syntax Error:  Invalid Operand
   'waax' not a variable or function name
   Error ocurred at column 1
DISPLAY error:  Invalid expression
   Expression = waax
No hardcopy metafile open
GX package terminated


----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.



More information about the gradsusr mailing list