<P>
Hello,<BR>
You can try<BR>
'set t 1'<BR>
'set x 1'<BR>
'set y 1'<BR>
'set z 1 17'<BR>
'd aave(var,x=1,x=xdim,y=1,y=ydim)'<BR>
here var is the variable name of which you want to take area average and xdim and ydim is values of length of variable in x and y direction.<BR>
<BR>
Shailendra. <BR>
<BR>
<BR>
On Mon, 19 Dec 2005 Roger Shi wrote :<BR>
>Hi,<BR>
><BR>
>I am trying to plot a line graph of horizontal mean with z varying from<BR>
>1000 to 100 mb.<BR>
>I did the following<BR>
><BR>
>ga-> set z 1 19 ! means from 1000 to 100mb<BR>
>ga-> set t 1<BR>
>ga-> d amean(qvapor,x=1,x=800,y=1,y=618)<BR>
><BR>
>and got the error message<BR>
><BR>
>Operation error: Invalid dimension environment<BR>
>Looping dimension does not vary<BR>
><BR>
>if I did the following<BR>
><BR>
>ga-> set z 11 ! means for just 500mb<BR>
>ga-> set t 1<BR>
>ga-> d amean(qvapor,x=1,x=800,y=1,y=618)<BR>
>Result value = 0.00281046<BR>
><BR>
>This means that I can gat a area mean value for a single layer but I<BR>
>can't get a line graph to show the vertical distribution. Is there any<BR>
>way I can get a line graph to show horizontal mean with z varying from<BR>
>1000 to 100 mb? I got the exact same error message with aave.<BR>
><BR>
>Thanks in advance,<BR>
>Roger<BR>
><BR>
>--<BR>
>=========================================================<BR>
>Dr. Jainn Jong Shi (aka Roger)<BR>
>Bldg 33 Rm C422<BR>
>Code 613.1<BR>
>NASA/Goddard Space Flight Center<BR>
>Greenbelt, MD 20771<BR>
>email: shi@agnes.gsfc.nasa.gov<BR>
</P>
*************************************************
<br>
Shailendra Rai
<br>
K. Banerjee Centre of Atmospheric and Ocean Studies
<br>
University of Allahabad
<br>
INDIA
<br>
Phone 09415649617
<br>
Telefax +915322460974
<br>
Mail ID r_shail1977@yahoo.co.in
<br>
*************************************************
<br>
<br>
<br><br>
<a href="http://adworks.rediff.com/cgi-bin/AdWorks/sigclick.cgi/www.rediff.com/signature-home.htm/1507191490@Middle5?PARTNER=3"><IMG SRC="http://adworks.rediff.com/cgi-bin/AdWorks/sigimpress.cgi/www.rediff.com/signature-home.htm/1963059423@Middle5?OAS_query=null&PARTNER=3" BORDER=0 VSPACE=0 HSPACE=0></a>