Dear Satyaban:<br>An old printable manual for GrADS (V1.5.1.12) that can be found here:<br><br><a href="ftp://grads.iges.org/grads/beta/doc/gadoc151.pdf">ftp://grads.iges.org/grads/beta/doc/gadoc151.pdf</a><br><br>says in pages 71-72:<br>
<br><i>3) The aave function assumes that the world coordinates are longitude in the X dimension and latitude in the Y dimension, and does weighting in the latitude dimension by the delta of the sin of the latitudes. Weighting is also performed appropriately for unequally spaced grids.<br>
<br></i>I hope this can solve your question.<br>Regards<br><br>Hernán<br><br><br><br><div class="gmail_quote">2010/8/16 Satyaban BishoyiRatna <span dir="ltr"><<a href="mailto:satya_atmos@rediffmail.com">satya_atmos@rediffmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><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<div class="im"><br>
>Dear Satyaban:<br>
I suggest you to see the function aave. You will find more information in:<br>
<a href="http://www.iges.org/grads/gadoc/gadocindex" target="_blank">http://www.iges.org/grads/gadoc/gadocindex</a><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 <br>
<br>
<br>
<br></div><div><div></div><div class="h5">
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>
<a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a><br>
<br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
<br>
gradsusr mailing list<br>
<br>
<a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a><br>
<br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br>
<br><br>########################################################<br>
Dr. Satyaban Bishoyi Ratna<br>
CDAC, Pune, India<br>
<br>
########################################################<br><table style="font-family: Verdana; font-size: 11px; line-height: 15px;" border="0" cellpadding="0" cellspacing="0" width="644" height="57"><tbody><tr><td><a href="http://sigads.rediff.com/RealMedia/ads/click_nx.ads/www.rediffmail.com/signatureline.htm@Middle?" target="_blank"><img src=""></a></td>
</tr></tbody></table></div></div><br>_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br></blockquote></div><br>