<div dir="ltr">Dear <span style="font-size:13px;font-weight:bold;white-space:nowrap">Muhammadhn,</span><div><span style="font-size:13px;font-weight:bold;white-space:nowrap"><br></span></div><div style=""><span style="white-space:nowrap">One solution to your problem is to use shape files. I downloaded the shapefile of sri lanka from this site (administrative boundaries).</span></div><div style=""><a href="http://www.diva-gis.org/datadown">http://www.diva-gis.org/datadown</a><br></div><div style=""><br></div><div style="">Use the <b>LKA_adm2.shp</b></div><div style=""><br></div><div style="">So your commands would be </div><div style=""><br></div><div style="">sdfopen <a href="http://test_001_SRF.2005050100.nc">test_001_SRF.2005050100.nc</a><br>set lat 7.28 7.8</div><div style="">set lon 80 81 </div><div style="">set mpdraw off</div><div style="">d ts</div><div style="">draw shp LKA_adm2.shp</div><div><br></div><div style="">One problem is that you only want the outline of a specific area. So I suggest that you edit the shapefiles.</div><div style="">Crop the area that you want!. I am using QGIS to do this. See the following tutorial:</div><div style=""><br></div><div style=""><a href="http://gis.stackexchange.com/questions/37226/how-to-crop-shapefiles-in-qgis">http://gis.stackexchange.com/questions/37226/how-to-crop-shapefiles-in-qgis</a><br></div><div style=""><br></div><div style="">Once you cropped the shapefile, you can use the same commands above to upload the shape file.</div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><font face="comic sans ms, sans-serif"><b><u>Lyndon Mark P. Olaguera</u></b></font><div>Department of Physics</div><div><span></span><span></span>Ateneo de Manila University</div><div><br></div><div>Regional Climate Systems Group </div><div>Manila Observatory</div></div></div></div></div></div></div></div>
<br><div class="gmail_quote">On Mon, Aug 22, 2016 at 6:14 PM, Muhammadhn Muhammadh Khalid <span dir="ltr"><<a href="mailto:kmmuhammadh@gmail.com" target="_blank">kmmuhammadh@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">I'm using netcdf file. I have attached it.<div>I want to draw the area shown in red color, in the attached picture, named Domain area, in the following image, similar to the the area drawn in the picture named example. I mean only the out line of that area.</div><div><br><div class="gmail_chip gmail_drive_chip" style="width:396px;min-height:18px;max-height:18px;background-color:#f5f5f5;padding:5px;color:#222;font-family:arial;font-style:normal;font-weight:bold;font-size:13px;border:1px solid #ddd;line-height:1"><a href="https://drive.google.com/file/d/0B5uOgEO-8RyyeFYyZWZqRFk0cDZFLVI2M0ktVDN2cjZta3FJ/view?usp=drive_web" style="display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-decoration:none;padding:1px 0px;border:none;width:100%" target="_blank"><img style="vertical-align:bottom;border:none" src="https://ssl.gstatic.com/docs/doclist/images/icon_11_image_list.png"> <span dir="ltr" style="color:#15c;text-decoration:none;vertical-align:bottom">image.png</span></a></div><br></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On 22 August 2016 at 14:49, Lyndon Mark Olaguera <span dir="ltr"><<a href="mailto:olagueralyndonmark429@gmail.com" target="_blank">olagueralyndonmark429@gmail.<wbr>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"><div>Hi <span style="font-size:13px;font-weight:bold;white-space:nowrap">Muhammadhn,</span></div><div><br></div><div>What type of file are you plotting? Is it a netcdf file or a ctl file?</div><div>Can you attach it here?</div><div><br></div><div>Can you also resend the image?I cant see it in the email.</div></div><div class="gmail_extra"><br clear="all"><div><div data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><font face="comic sans ms, sans-serif"><b><u>Lyndon Mark P. Olaguera</u></b></font><div>Department of Physics</div><div><span></span><span></span>Ateneo de Manila University</div><div><br></div><div>Regional Climate Systems Group </div><div>Manila Observatory</div></div></div></div></div></div></div></div><div><div>
<br><div class="gmail_quote">On Mon, Aug 22, 2016 at 5:14 PM, Muhammadhn Muhammadh Khalid <span dir="ltr"><<a href="mailto:kmmuhammadh@gmail.com" target="_blank">kmmuhammadh@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">Hi <div><br></div><div>What I need exactly is using the command draw map. I want to draw my map on the plot. Can I get any help on how to do it.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 20 August 2016 at 20:03, Jennifer M Adams <span dir="ltr"><<a href="mailto:jadams21@gmu.edu" target="_blank">jadams21@gmu.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word">
In the Users Guide (<a href="http://cola.gmu.edu/grads/gadoc/users.html" target="_blank">http://cola.gmu.edu/grads/gad<wbr>oc/users.html</a>), have a look at the section on Dimension Environment:
<div><a href="http://cola.gmu.edu/grads/gadoc/dimenv.html" target="_blank">http://cola.gmu.edu/grads/gado<wbr>c/dimenv.html</a></div>
<div>—Jennifer</div>
<div><div><div><br>
<div>
<div>On Aug 20, 2016, at 4:48 AM, Muhammadhn Muhammadh Khalid <<a href="mailto:kmmuhammadh@gmail.com" target="_blank">kmmuhammadh@gmail.com</a>> wrote:</div>
<br>
<blockquote type="cite">
<div dir="ltr">Hi Andrew
<div><br>
<div>First thing I need is drawing my domain area in that plot. Can you please say me how to do it. </div>
</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On 15 August 2016 at 23:32, Andrew Friedman <span dir="ltr">
<<a href="mailto:andfried@gmail.com" target="_blank">andfried@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Muhammadh,<br>
<br>
To plot only over land areas you can use the GrADS function ‘maskout’, along with a variable for the land-ocean mask:
<a href="http://cola.gmu.edu/grads/gadoc/gradfuncmaskout.html" rel="noreferrer" target="_blank">
http://cola.gmu.edu/grads/gado<wbr>c/gradfuncmaskout.html</a><br>
<br>
Andrew<br>
<span><br>
> On Aug 15, 2016, at 7:18 PM, Muhammadhn Muhammadh Khalid <<a href="mailto:kmmuhammadh@gmail.com" target="_blank">kmmuhammadh@gmail.com</a>> wrote:<br>
><br>
> Hi everyone,<br>
><br>
> I'm using GrADS Version 2.0.1.<br>
> I have plotted the precipitation in shaded plot over an area. Following diagram is my plot.<br>
><br>
</span>> <image.png><br>
<span>><br>
> Now I want my study area to be drawn and want my shaded plot to appear only inside that area as shown in the following diagram, which I found in a journal.<br>
</span>> <image.png><br>
<span>><br>
> Any help toward doing this task is highly appreciated and looking forward to hear from you soon.<br>
><br>
> --<br>
> Regards,<br>
> Muhammadh M Khalid<br>
><br>
</span>> ______________________________<wbr>_________________<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" rel="noreferrer" target="_blank">
http://gradsusr.org/mailman/li<wbr>stinfo/gradsusr</a><br>
<br>
<br>
______________________________<wbr>_________________<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" rel="noreferrer" target="_blank">http://gradsusr.org/mailman/li<wbr>stinfo/gradsusr</a><br>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
<div data-smartmail="gmail_signature">
<div dir="ltr">Regards,
<div>Muhammadh M Khalid</div>
<div><br>
</div>
</div>
</div>
</div>
______________________________<wbr>_________________<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/li<wbr>stinfo/gradsusr</a><br>
</blockquote>
</div>
<br>
</div></div><div>
<div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word">
<div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word">
<div style="font-size:12px">--</div>
<div style="font-size:12px">Jennifer Miletta Adams<br>
Center for Ocean-Land-Atmosphere Studies (COLA)<br>
George Mason University<br>
<br>
<br>
</div>
</div>
</div>
</div>
<br>
</div>
</div>
<br>______________________________<wbr>_________________<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" rel="noreferrer" target="_blank">http://gradsusr.org/mailman/li<wbr>stinfo/gradsusr</a><br>
<br></blockquote></div><span><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div data-smartmail="gmail_signature"><div dir="ltr">Regards, <div>Muhammadh M Khalid</div><div><br></div></div></div>
</font></span></div>
<br>______________________________<wbr>_________________<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" rel="noreferrer" target="_blank">http://gradsusr.org/mailman/li<wbr>stinfo/gradsusr</a><br>
<br></blockquote></div><br></div></div></div>
<br>______________________________<wbr>_________________<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" rel="noreferrer" target="_blank">http://gradsusr.org/mailman/li<wbr>stinfo/gradsusr</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div data-smartmail="gmail_signature"><div dir="ltr">Regards, <div>Muhammadh M Khalid</div><div><br></div></div></div>
</div>
</div></div><br>______________________________<wbr>_________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" rel="noreferrer" target="_blank">http://gradsusr.org/mailman/<wbr>listinfo/gradsusr</a><br>
<br></blockquote></div><br></div>