<br />
Dear Hernán Sala,<br />
I missed 'a' during typing for 'aave' in the second method.<br />
In both the methodology working for 'area average' but which method we should follow. I think the first method will use the map scale factor for calculate area average. Is it really required or 'aave' command will be enough ?<br />
I didn't find any document to use map scale factor for area average calculation.<br />
<br />
Thanks.<br />
Satyaban<br />
<br />
On Tue, 17 Aug 2010 05:36:19 +0530 wrote<br />
>Dear Satyaban:<br />
I suggest you to see the function aave. You will find more information in:<br />
http://www.iges.org/grads/gadoc/gadocindex<br />
I have used it, for instance, with temperatures from NCEP reanalysis model.<br />
<br />
<br />
Regards,<br />
Hernán Sala<br />
Instituto Antártico Argentino<br />
<br />
<br />
<br />
2010/8/16 Satyaban BishoyiRatna <satya_atmos@rediffmail.com><br />
<br />
<br />
<br />
Dear User,<br />
<br />
I saw some script, where people follow two method to calculate the area average value of a specific parameter.<br />
<br />
<br />
<br />
First method is:<br />
<br />
'tmp1=ave(tmp*cos(lat*(3.14/180.)),lat=5,lat=50)'<br />
<br />
'tmp2=ave(tmp1,lon=40,lon=120)'<br />
<br />
'd tmp2'<br />
<br />
<br />
<br />
Second method is:<br />
<br />
'tmp1=ave(tmp,lon=60,lon=100,lat=7,lat=40)'<br />
<br />
'd tmp1'<br />
<br />
<br />
<br />
Which method one should follow and what the difference one should get.<br />
<br />
<br />
<br />
Thanks.<br />
<br />
Regards<br />
<br />
Satyaban<br />
<br />
########################################################<br />
<br />
Dr. Satyaban Bishoyi Ratna<br />
<br />
CDAC, Pune, India<br />
<br />
<br />
<br />
########################################################<br />
<br />
<br />
_______________________________________________<br />
<br />
gradsusr mailing list<br />
<br />
gradsusr@gradsusr.org<br />
<br />
http://gradsusr.org/mailman/listinfo/gradsusr<br />
<br />
<br />
<br />
<br />
_______________________________________________<br />
<br />
gradsusr mailing list<br />
<br />
gradsusr@gradsusr.org<br />
<br />
http://gradsusr.org/mailman/listinfo/gradsusr<br />
<br />
<br><br>########################################################<br />
Dr. Satyaban Bishoyi Ratna<br />
CDAC, Pune, India<br />
<br />
########################################################<br><Table border=0 Width=644 Height=57 cellspacing=0 cellpadding=0 style="font-family:Verdana;font-size:11px;line-height:15px;"><TR><td><A HREF="http://sigads.rediff.com/RealMedia/ads/click_nx.ads/www.rediffmail.com/signatureline.htm@Middle?" target="_blank"><IMG SRC="http://sigads.rediff.com/RealMedia/ads/adstream_nx.ads/www.rediffmail.com/signatureline.htm@Middle"></A></td></TR></Table>