<div dir="ltr"><span style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:12.727272033691406px">The following is the suggestion given by Dr. Wang when I need. Hope it is helpful to you....</span><div><span style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:12.727272033691406px"><br>
</span></div><div><span style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:12.727272033691406px">You can make GrADS maskout data easily using MeteoInfo software which is freely available at�</span><a href="http://www.meteothinker.com/" target="_blank" style="font-family:arial,sans-serif;font-size:12.727272033691406px">http://www.meteothinker.com/</a><span style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:12.727272033691406px">�.</span><div style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:12.727272033691406px">
<br></div><div style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:12.727272033691406px">1. Run MeteoInfo and load 'country1.shp' shape file as a polygon layer (step_1.png).</div><div style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:12.727272033691406px">
<br></div><div style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:12.727272033691406px">2. Zoom the map to Kenya. Press 'Select Features' tool and select Kenya. The selected feature will be viewed as yellow color (step_2.png).</div>
<div style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:12.727272033691406px"><br></div><div style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:12.727272033691406px">3. Press 'Tools -> Output Map Data' menu, and set 'Map Layer' as 'country1.shp' and 'Output Format' as 'GrADS Maskout File'. The selected feature of Kenya is setting in 'Output Shapes' area automaticly (step_3.png).</div>
<div style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:12.727272033691406px"><br></div><div style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:12.727272033691406px">4. Press 'Output' button and give the output GrADS maskout file name, and then set the output grid in appeared dialog. Click 'OK' button to finish the process (step_4.png). You should set the grid as same as your data.</div>
<div style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:12.727272033691406px"><br></div><div style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:12.727272033691406px">In the result maskout data, the values of the grid points inside Kenya were set as 1 and the others were set as -1 (result.png). You may also need to change the 'TDEF' �in maskout ctl file as same as your data. Of course, the maskout data of any region can be created with this method if the polygon shape file is available</div>
</div><div style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:12.727272033691406px"><br></div><div style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:12.727272033691406px">Please let me know if there are any issues with this..</div>
<div style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:12.727272033691406px"><br></div><div style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:12.727272033691406px"><br></div><div style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:12.727272033691406px">
Regards,</div><div style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:12.727272033691406px"><br></div><div style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:12.727272033691406px">Kishore</div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Apr 23, 2013 at 4:21 PM, Kishore Ragi <span dir="ltr"><<a href="mailto:kishoreragi@gmail.com" target="_blank">kishoreragi@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Dear Maity,<div><br></div><div>Irregular domain mean? Any kind of country average? This is so simple if you have a shape file of your interested area. Please let me know what kind of area average you want so that I may help you..</div>
<div><br></div><div>Best regards,</div><div><br></div><div>Kishore</div></div><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div class="h5">On Tue, Apr 23, 2013 at 11:15 AM, Suman Maity <span dir="ltr"><<a href="mailto:suman.buie@gmail.com" target="_blank">suman.buie@gmail.com</a>></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">Dear<br>All grads users<br>This is Suman Maity from IIT Kharagpur, India. I want to discuss a problem and i
am requesting you all that if you have any solution or suggestion then please
help me.<br>As we know in grads there is command for area average (aave)
to get area average for a rectangular domain. Now as per my knowledge
there is no choice for the irregular domain. how to find the area
average for a irregular domain? is there any software/command/method? I
can't get any idea to develop that. Please provide any idea in this
context.<br>
If you have any code for that purpose please provide that also.<br><br>Thanking you in advance,<br><br>Regards<br>'S Maity'<div><div><i><font style="background-color:rgb(255,153,0)"><span style="background-color:rgb(255,255,255)"><font face="comic sans ms,sans-serif"><b><font size="4">*******************************************************<span><font color="#888888"><br>
Suman Maity</font></span></font></b></font></span></font></i></div><span><font color="#888888"><div><font size="1"><font style="background-color:rgb(255,153,0)"><font size="4"><span style="background-color:rgb(255,255,255)"><font face="comic sans ms,sans-serif">Research Scholar<br>
</font></span></font></font></font></div><div><font size="1"><font style="background-color:rgb(255,153,0)"><font size="4"><span style="background-color:rgb(255,255,255)"><font face="comic sans ms,sans-serif">Center for Ocean, Rivers, Atmosphere and Land Sciences(CORAL)<br>
</font></span></font></font></font></div><div><font size="1"><font style="background-color:rgb(255,153,0)"><font size="4"><span style="background-color:rgb(255,255,255)"><font face="comic sans ms,sans-serif">Indian Institute Of Technology Kharagpur.<br>
</font></span></font></font></font></div><div><i><b><br><font style="font-family:comic sans ms,sans-serif" size="4">*******************************************************</font></b><b style="font-family:comic sans ms,sans-serif"><font size="4"> </font></b></i><br>
</div><div style="text-align:left"><i><font color="#3366ff" size="1"><span style="font-size:12pt;font-family:'Times New Roman','serif'">
</span>�</font></i></div><div style="display:inline"></div></font></span></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><br></div>
</blockquote></div><br></div>