[gradsusr] area average method

Satyaban BishoyiRatna satya_atmos at rediffmail.com
Mon Aug 16 17:57:26 EDT 2010


Dear User,
I saw some script, where people follow  two method to calculate the area average value of a specific parameter.

First method is:
'tmp1=ave(tmp*cos(lat*(3.14/180.)),lat=5,lat=50)'
'tmp2=ave(tmp1,lon=40,lon=120)'
'd tmp2'

Second method is:
'tmp1=ave(tmp,lon=60,lon=100,lat=7,lat=40)'
'd tmp1'

Which method one should follow and what the difference one should get.

Thanks.
Regards
Satyaban

########################################################
Dr. Satyaban Bishoyi Ratna
CDAC, Pune, India

########################################################
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20100816/fb0d3c73/attachment-0003.html 


More information about the gradsusr mailing list