<div dir="ltr"><div class="gmail_default" style="font-size:small">Muhammad,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">The best way to do masking of your data is to use a shapefile.  There are tons of shapefiles you can download for free from the web, and they contain geographical areas that are useful for masking.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">We have an example of masking WRF data based on a USA shapefile, and a list of state names you want to mask. See shapefile_21.ncl at:</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default"><a href="http://www.ncl.ucar.edu/Applications/shapefiles.shtml">http://www.ncl.ucar.edu/Applications/shapefiles.shtml</a><br></div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">In your case, depending on your area of interest, you will likely want to download one or more shapefiles from <a href="http://gadm.org/country">gadm.org/country</a>, and then use these to mask your data.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">See the shapefiles examples page:</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default"><a href="http://www.ncl.ucar.edu/Applications/shapefiles.shtml">http://www.ncl.ucar.edu/Applications/shapefiles.shtml</a><br></div><div class="gmail_default"><br></div><div class="gmail_default">and in particular, search on &quot;shapefile_mask_data&quot; which is the function you&#39;ll need to use. There are many examples that use this function.</div><div class="gmail_default"><br></div><div class="gmail_default">--Mary</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Dec 10, 2016 at 10:51 PM, Muhammad Omer Mughal <span dir="ltr">&lt;<a href="mailto:m.mughal1@postgrad.curtin.edu.au" target="_blank">m.mughal1@postgrad.curtin.edu.au</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">
<div id="m_5530215530729672522divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif" dir="ltr">
Hi 
<div><br>
Attached herewith is a script where I am trying to compare lat long of a WRF output file and  meteorological station files at different locations in Western Australia. Further after comparison, it is intended to extract and compare wind speed at locations which
 are on land and are not in the ocean. I would be really grateful if someone can help me out with this script.<br>
<br>
<br>
Muhammad Omer Mughal<br>
MSc BSc Mechanical Engineering<br>
PhD  Research Scholar<br>
Remote Sensing and Satellite Research Group<br>
Department of Imaging and Applied Physics<br>
Curtin University<br>
<br>
Curtin University<br>
Tel | <a href="tel:%2B61%208%209266%207962" value="+61892667962" target="_blank">+61 8 9266 7962</a><br>
Fax | <a href="tel:%2B61%208%209266%202377" value="+61892662377" target="_blank">+61 8 9266 2377</a><br>
Mobile | 0470 237 525<br>
<br>
Email | <a href="mailto:m.mughal1@postgrad.curtin.edu.au" target="_blank">m.mughal1@postgrad.curtin.edu.<wbr>au</a><br>
Web | <a href="http://curtin.edu.au" target="_blank">http://curtin.edu.au</a><br>
<br>
Curtin University is a trademark of Curtin University of Technology.<br>
CRICOS Provider Code 00301J (WA), 02637B (NSW)<br>
<br>
<br>
</div>
</div>
</div>

<br>______________________________<wbr>_________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">http://mailman.ucar.edu/<wbr>mailman/listinfo/ncl-talk</a><br>
<br></blockquote></div><br></div>