<br />
Dear Hernán,<br />
Thanks for your reply and sending me the document.<br />
Now, I fully understand about the 'aave' command and it is best to use to calculate area average of a variable.<br />
Also, there is no need to provide any separate weightage like map scale factor., etc either to lat or lon direction.<br />
<br />
Thanks.<br />
Regards<br />
Satyaban<br />
<br />
On Tue, 17 Aug 2010 19:20:50 +0530 wrote<br />
>Dear Satyaban:<br />
An old printable manual for GrADS (V1.5.1.12) that can be found here:<br />
<br />
ftp://grads.iges.org/grads/beta/doc/gadoc151.pdf<br />
<br />
says in pages 71-72:<br />
<br />
<br />
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 />
<br />
I hope this can solve your question.<br />
Regards<br />
<br />
Hernán<br />
<br />
<br />
<br />
2010/8/16 Satyaban BishoyiRatna <satya_atmos@rediffmail.com><br />
<br />
<br />
<br />
Dear Hernán Sala,<br />
<br />
I missed 'a' during typing for 'aave' in the second method.<br />
<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 />
<br />
<br />
I didn't find any document to use map scale factor for area average calculation.<br />
<br />
<br />
<br />
Thanks.<br />
<br />
Satyaban<br />
<br />
<br />
<br />
On Tue, 17 Aug 2010 05:36:19 +0530 wrote<br />
<br />
>Dear Satyaban:<br />
<br />
I suggest you to see the function aave. You will find more information in:<br />
<br />
http://www.iges.org/grads/gadoc/gadocindex<br />
<br />
I have used it, for instance, with temperatures from NCEP reanalysis model.<br />
<br />
<br />
<br />
<br />
<br />
Regards,<br />
<br />
Hernán Sala<br />
<br />
Instituto Antártico Argentino<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
2010/8/16 Satyaban BishoyiRatna <br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
Dear User,<br />
<br />
<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 />
<br />
<br />
<br />
<br />
First method is:<br />
<br />
<br />
<br />
'tmp1=ave(tmp*cos(lat*(3.14/180.)),lat=5,lat=50)'<br />
<br />
<br />
<br />
'tmp2=ave(tmp1,lon=40,lon=120)'<br />
<br />
<br />
<br />
'd tmp2'<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
Second method is:<br />
<br />
<br />
<br />
'tmp1=ave(tmp,lon=60,lon=100,lat=7,lat=40)'<br />
<br />
<br />
<br />
'd tmp1'<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
Which method one should follow and what the difference one should get.<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
Thanks.<br />
<br />
<br />
<br />
Regards<br />
<br />
<br />
<br />
Satyaban<br />
<br />
<br />
<br />
########################################################<br />
<br />
<br />
<br />
Dr. Satyaban Bishoyi Ratna<br />
<br />
<br />
<br />
CDAC, Pune, India<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
########################################################<br />
<br />
<br />
<br />
<br />
<br />
_______________________________________________<br />
<br />
<br />
<br />
gradsusr mailing list<br />
<br />
<br />
<br />
gradsusr@gradsusr.org<br />
<br />
<br />
<br />
http://gradsusr.org/mailman/listinfo/gradsusr<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
_______________________________________________<br />
<br />
<br />
<br />
gradsusr mailing list<br />
<br />
<br />
<br />
gradsusr@gradsusr.org<br />
<br />
<br />
<br />
http://gradsusr.org/mailman/listinfo/gradsusr<br />
<br />
<br />
<br />
<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>