<b>I have just now checked whether is it possible by using my uwind data. It is possible by first taking the area average of the whole region you specifies, and then substracting it with the region you want to exclude. I am here gives the codes which I used to do the same for your verification. You can go through this and make a gs file according to that and run.
<br><br>Simply <br>define a=aave(value,lon=60,lon=100,lat=5,lat=35)<br>define a2=aave(value,lon=80,lon=90,lat=15,lat=20)<br>define s=a-a2<br>d s, <br> <br>this will give what you are expecting, I think..... May I know where you are working..?
<br>with best wishes...<br></b><br><br><br><br><br>jkpr@jkpr-desktop:~$ gradsnc<br><br>Grid Analysis and Display System (GrADS) Version 1.9b4<br>Copyright (c) 1988-2005 by Brian Doty and IGES <br>Center for Ocean-Land-Atmosphere Studies (COLA)
<br>Institute for Global Environment and Society (IGES)<br>GrADS comes with ABSOLUTELY NO WARRANTY<br>See file COPYRIGHT for more information<br><br>Config: v1.9b4 32-bit little-endian readline sdf/xdf netcdf lats athena printim
<br><br>Issue 'q config' command for more information.<br><br>Landscape mode? (no for portrait): <br>GX Package Initialization: Size = 11 8.5 <br>ga-> open <a href="http://uwnd.2000.nc">uwnd.2000.nc</a> <br>Scanning description file:
<a href="http://uwnd.2000.nc">uwnd.2000.nc</a><br>Open Error: Unknown keyword in description file<br> --> The invalid description file record is: <br> --> CDF<br> The data file was not opened. <br>ga-> sdfopen
<a href="http://uwnd.2000.nc">uwnd.2000.nc</a> <br>Scanning self-describing file: <a href="http://uwnd.2000.nc">uwnd.2000.nc</a><br>SDF file <a href="http://uwnd.2000.nc">uwnd.2000.nc</a> is open as file 1<br>LON set to 0 360
<br>LAT set to -90 90 <br>LEV set to 1000 1000 <br>Time values set: 2000:1:1:0 2000:1:1:0 <br>ga-> q file<br>File 1 : mean daily NMC reanalysis (2000)<br> Descriptor: <a href="http://uwnd.2000.nc">uwnd.2000.nc</a><br>
Binary: <a href="http://uwnd.2000.nc">uwnd.2000.nc</a><br> Type = Gridded<br> Xsize = 144 Ysize = 73 Zsize = 17 Tsize = 366<br> Number of Variables = 1<br> uwnd 17 -999 mean Daily U-wind<br>ga-> set lat 5 35
<br>LAT set to 5 35 <br>ga-> set lon 60 100<br>LON set to 60 100 <br>ga-> d u<br>Syntax Error: Invalid Operand <br> 'u' not a variable or function name<br> Error ocurred at column 1<br>DISPLAY error: Invalid expression
<br> Expression = u<br>ga-> d uwnd<br>Contouring: -8 to 8 interval 2 <br>ga-> d uwnd<br>Contouring: -8 to 8 interval 2 <br>ga-> d uwnd<br>Contouring: -8 to 8 interval 2 <br>ga-> define a=aave(uwnd,lon=60,lon=100,lat=5,lat=35)
<br>Define memory allocation size = 4 bytes<br>ga-> c<br>ga-> d a<br>Result value = -2.72067 <br>ga-> define a2=aave(uwnd,lon=80,lon=90,lat=15,lat=20)<br>Define memory allocation size = 4 bytes<br>ga-> d a2<br>
Result value = -4.23691 <br>ga-> define s=a-a2<br>Define memory allocation size = 4 bytes<br>ga-> d s<br>Result value = 1.51624 <br>ga-> <br><br><br><br><div class="gmail_quote">On Dec 6, 2007 12:04 PM, Suru Polade <
<a href="mailto:gr.suru@gmail.com">gr.suru@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div>
<p style="margin: 0in 0in 0pt; background: white none repeat scroll 0% 50%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-family: Arial;">
Thank you </span></p>
<p style="margin: 0in 0in 0pt; background: white none repeat scroll 0% 50%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-family: Arial;">
very much for your help</span></p>
<p style="margin: 0in 0in 0pt; background: white none repeat scroll 0% 50%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-family: Arial;">
</span></p>
<p style="margin: 0in 0in 0pt; background: white none repeat scroll 0% 50%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-family: Arial;">
actually i want to take area average for region lat 5 35 and lon 60 100, by excluding region lat 15 20 and lon 80 90 , can you check this
</span></p>
<p style="margin: 0in 0in 0pt; background: white none repeat scroll 0% 50%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-family: Arial;">
<br>thank once more</span></p>
<p style="margin: 0in 0in 0pt; background: white none repeat scroll 0% 50%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-family: Arial;">
</span></p>
<p style="margin: 0in 0in 0pt;"><font face="Times New Roman"> </font></p>
<p style="margin: 0in 0in 0pt;"><font face="Times New Roman"> </font></p>Suraj</div><div><div></div><div class="Wj3C7c">
<div><br> </div>
<div><span class="gmail_quote">On 12/6/07, <b class="gmail_sendername">Jayakrishnan PR</b> <<a href="mailto:prjayakrishnan@gmail.com" target="_blank">prjayakrishnan@gmail.com</a>> wrote:</span>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0px 0px 0px 0.8ex; padding-left: 1ex;">May be you are looking for area averaging of the value in a paticular location. You can do this like the following.
<br> define a=aave(value,lon=60,lon=110,lat=-5,lat=35)<br> d a<br> This will take the area average of the region between lat -5 35 and lon 60 110. <br> Hope it helps.....
<div><span><br><br><br>
<div class="gmail_quote">On Dec 6, 2007 11:22 AM, Suru Polade <<a href="mailto:gr.suru@gmail.com" target="_blank">gr.suru@gmail.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>
<p style="margin: 0in 0in 0pt; background: white none repeat scroll 0% 50%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-family: Arial;">
Dear</span></p>
<p style="margin: 0in 0in 0pt; background: white none repeat scroll 0% 50%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-family: Arial;">
Grads user</span></p>
<p style="margin: 0in 0in 0pt; background: white none repeat scroll 0% 50%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-family: Arial;">
I have tropospheric ozone data over the Indian region and want to average it over the region by keeping central India, i know how to average but not getting how to keep some region, can some one help e regarding this, thank in advance
</span></p>
<p style="margin: 0in 0in 0pt; background: white none repeat scroll 0% 50%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-family: Arial;">
</span></p>
<p style="margin: 0in 0in 0pt; background: white none repeat scroll 0% 50%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-family: Arial;">
</span></p>
<p style="margin: 0in 0in 0pt; background: white none repeat scroll 0% 50%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-family: Arial;">
Suraj</span></p>
<p style="margin: 0in 0in 0pt;"><font face="Times New Roman"> </font></p>
<p style="margin: 0in 0in 0pt;"><font face="Times New Roman"> </font></p></div></blockquote></div><br><br clear="all"><br></span></div>-- <br>***********************************************<br>Jayakrishnan.P.R<br>Junior Research Fellow
<br>Department of Atmospheric Sciences<br>Cochin University of Science And Technology (CUSAT), Cochin-16 <br>Kerala, India.<br>Mob: 09895417565<br><br>*********************************************** </blockquote></div><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>***********************************************<br>Jayakrishnan.P.R<br>Junior Research Fellow<br>Department of Atmospheric Sciences<br>Cochin University of Science And Technology (CUSAT), Cochin-16
<br>Kerala, India.<br>Mob: 09895417565<br><br>***********************************************