problem with amean and aave

Madhusoodanan M.S. madhu at CAOS.IISC.ERNET.IN
Mon Dec 19 12:04:40 EST 2005


Hi,

try this out

'set t 1'
'set x 1'
'set y 1'
'set z 1 12'
'define var1=aave(var,x=1,x=100,y=1,y=400)'
'd var1'


cheers,
Madhu


On Mon, 19 Dec 2005, Roger Shi wrote:

> Hi,
>
> I am trying to plot a line graph of horizontal mean with z varying from
> 1000 to 100 mb.
> I did the following
>
> ga-> set z 1 19         ! means from 1000 to 100mb
> ga-> set t 1
> ga->  d  amean(qvapor,x=1,x=800,y=1,y=618)
>
> and  got the error message
>
> Operation error:  Invalid dimension environment
> Looping dimension does not vary
>
> if I did the following
>
> ga-> set z 11         ! means for just 500mb
> ga-> set t 1
> ga->  d  amean(qvapor,x=1,x=800,y=1,y=618)
> Result value = 0.00281046
>
> This means that I can gat a area mean value for a single layer but I
> can't get a line graph to show the vertical distribution. Is there any
> way I can get a line graph to show horizontal mean with z varying from
> 1000 to 100 mb? I got the exact same error message with aave.
>
> Thanks in advance,
> Roger
>
> --
> =========================================================
> Dr. Jainn Jong Shi (aka Roger)
> Bldg 33 Rm C422
> Code 613.1
> NASA/Goddard Space Flight Center
> Greenbelt, MD 20771
> email: shi at agnes.gsfc.nasa.gov
>

--

Madhusoodanan M.S.
Centre for Atmospheric and Oceanic Sciences
Indian Institute of Science
Bangalore, India - 560 012
Tel.    +91-80-23600450, +91-80-22932505 (Off) Extn.220
Mobile. +91-92421-67339
Fax.    +91-80-23600865



More information about the gradsusr mailing list