<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-2022-jp">
<style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">I still can't seem to get this aave(maskout command to run properly.
<br>
<br>
I've attached my script and the associated MeteoInfo-generated ctl file to this email to see if anyone could take a look at it for me.<br>
<div><br>
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px"><font size="3"><font face="Arial"><font size="2" face="Tahoma"><font size="2"><br>
Onward and Upward,<br>
<br>
</font>Aaron D. Perry<br>
</font><font size="3"><font size="3"><font size="2" face="Tahoma">Boston, MA<br>
Lyndon State College '15<br>
Twitter: <a href="https://twitter.com/AaronPerryLSC">@AaronPerryLSC</a><br>
</font></font></font></font></font><font size="3"><font face="Arial"><font size="3"><font size="3"><font size="2" face="Tahoma">Mobile: 617-780-4312</font></font></font></font></font></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div style="direction: ltr;" id="divRpF491617"><font size="2" color="#000000" face="Tahoma"><b>From:</b> gradsusr-bounces@gradsusr.org [gradsusr-bounces@gradsusr.org] on behalf of Kishore Ragi [kishoreragi@gmail.com]<br>
<b>Sent:</b> Tuesday, January 07, 2014 11:44 PM<br>
<b>To:</b> GrADS Users Forum<br>
<b>Subject:</b> Re: [gradsusr] Using Maskout Function To Compute Areal Average<br>
</font><br>
</div>
<div></div>
<div>
<div dir="ltr"><span style="font-family:Tahoma">Perry,</span>
<div><br>
</div>
<div>you just open your data ctl file and then your maskout ctl file as 2.
<div><br>
</div>
<div style="">for your area average:&nbsp;<font color="#ff0000">d aave(maskout(your_var,mask.2(t=1)),lon=X1,lon=X2,lat=Y1,lat=Y2)</font></div>
<div style=""><br>
</div>
<div style="">mask.2 shows that variable mask is second file and use always (t=1) for mask as the t step is only.</div>
<div style=""><br>
</div>
<div style="">Hope it solves your purpose!!!</div>
<div style=""><br>
</div>
<div style="">Cheers,</div>
<div style=""><br>
</div>
<div style="">Kishore&nbsp;</div>
</div>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Wed, Jan 8, 2014 at 9:24 AM, Yaqiang Wang <span dir="ltr">
&lt;<a href="mailto:yaqiang.wang@gmail.com" target="_blank">yaqiang.wang@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex">
<div dir="ltr">Look at GrADS online document:&nbsp;<a href="http://www.iges.org/grads/gadoc/gradfuncmaskout.html" target="_blank">http://www.iges.org/grads/gadoc/gradfuncmaskout.html</a>
<div><br>
</div>
<div><span style="font-size:medium; background-color:rgb(224,240,255); font-family:宋体">You can open more than one data-descriptor file. Each file is numbered according to the order in which it was opened.&nbsp;</span><br>
</div>
<div><a href="http://www.iges.org/grads/gadoc/gradcomdopen.html" target="_blank">http://www.iges.org/grads/gadoc/gradcomdopen.html</a><span style="font-size:medium; background-color:rgb(224,240,255); font-family:宋体"><br>
</span></div>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">
<div>
<div class="h5">On Wed, Jan 8, 2014 at 11:41 AM, Perry, Aaron @ LSC <span dir="ltr">
&lt;<a href="mailto:Aaron.Perry@lsc.vsc.edu" target="_blank">Aaron.Perry@lsc.vsc.edu</a>&gt;</span> wrote:<br>
</div>
</div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex">
<div>
<div class="h5">
<div>
<div style="direction:ltr; font-size:10pt; font-family:Tahoma">Good Evening All,<br>
<br>
I'm currently trying to compute an areal average and I have created a masked out control file with MeteoInfo for the area that I'd like to compute an average of.
<br>
<br>
What do I do with the MeteoInfo-created .ctl file now?<br>
<br>
The reason why I ask is because there's already a .ctl file for the displayed data and now there's one for just the area and I don't think that I want to be using them both at the same time...<br>
<br>
Any guidance would be greatly appreciated.<br>
<div><br>
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px"><font size="3"><font face="Arial"><font face="Tahoma"><font><br>
Onward and Upward,<br>
<br>
</font>Aaron D. Perry<br>
</font><font size="3"><font size="3"><font face="Tahoma">Boston, MA<br>
Lyndon State College '15<br>
Twitter: <a href="https://twitter.com/AaronPerryLSC" target="_blank">@AaronPerryLSC</a><br>
</font></font></font></font></font><font size="3"><font face="Arial"><font size="3"><font size="3"><font face="Tahoma">Mobile:
<a href="tel:617-780-4312" value="&#43;16177804312" target="_blank">617-780-4312</a></font></font></font></font></font></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
</div>
</div>
_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org" target="_blank">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>
<span class="HOEnZb"><font color="#888888"><br>
<br clear="all">
<div><br>
</div>
-- <br>
*************************************************<br>
Dr. Yaqiang Wang<br>
Chinese Academy of Meteorological Sciences (CAMS)<br>
46, Zhong-Guan-Cun South Avenue<br>
Beijing, 100081<br>
China<br>
             <br>
<a href="mailto:yaqiang.wang@gmail.com" target="_blank">yaqiang.wang@gmail.com</a><br>
<br>
<a href="http://www.meteothinker.com" target="_blank">http://www.meteothinker.com</a><br>
************************************************** </font></span></div>
<br>
_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org" target="_blank">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>
</div>
</div>
</div>
</div>
</body>
</html>