<div dir="ltr"><div class="gmail_default" style="font-size:small">Dear Abdolhalim,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Welcome to ncl-talk. Always good to have new NCL users on board.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Since you want to plot this over a map, you should use gsn_csm_contour_map instead of gsn_contour.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">gsn_csm_contour_map will give you more "value added" graphics, as it will look at your "t" variable and try to set some graphical options for you, like titles, and labels on the X and Y axis. It will also automatically give you a labelbar if you set "cnFillOn" to True.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Please try the attached script. I took out a lot of your resource settings, because they are likely not needed if you use gsn_csm_contour_map. The one issue you will have is that your map won't be zoomed in, because the default is to give you a global map. </div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small"><div class="gmail_default">You may want to see this page for examples of zooming in on regional climate data:</div><div class="gmail_default"><br></div><div class="gmail_default"><a href="http://www.ncl.ucar.edu/Applications/rcm.shtml">http://www.ncl.ucar.edu/Applications/rcm.shtml</a><br></div><div><br></div></div><div class="gmail_default" style="font-size:small">If you get an error in your script, then please post back to ncl-talk, but put the following line in your script and let us know what it says:<br></div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">printVarSummary(t)</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Also include the error message.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">As a beginner to NCL, I suggest going here:</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style><a href="http://www.ncl.ucar.edu/get_started.shtml">http://www.ncl.ucar.edu/get_started.shtml</a><br></div><div class="gmail_default" style><br></div><div class="gmail_default" style>and in particular, look at the "Information on learning NCL section".</div><div class="gmail_default" style><br></div><div class="gmail_default" style>Most folks who need to write NCL scripts to look at their data use our "examples" page:</div><div class="gmail_default" style><br></div><div class="gmail_default" style><a href="http://www.ncl.ucar.edu/Applications/">http://www.ncl.ucar.edu/Applications/</a></div><div class="gmail_default" style><br></div><div class="gmail_default" style>Good luck,</div><div class="gmail_default" style><br></div><div class="gmail_default" style>-Mary</div><div class="gmail_default" style><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jun 11, 2015 at 3:47 AM, saeed bayat <span dir="ltr"><<a href="mailto:saeedbayat7276@gmail.com" target="_blank">saeedbayat7276@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div><div>Dear NCL Users<br></div>I am pretty new in NCL. I am using output of RegCM4 to plot topo in NCL. I want to add mask to the map and country borders and then change the numbers of X and Y axis to the real lat and lon.<br> I attached the plot I got using one template codes in NCL website (and the script). Also attached the header information of file I am using.<br></div>Please help me to solve the problem.<span class=""><font color="#888888"><br clear="all"><div><div><div><br>-- <br><div><div dir="ltr"><div><div dir="ltr">Abdolhalim Bayat<div>Ph.D Candidate of Synoptic Climatology</div><div>The Tehran University of Iran</div></div></div></div></div>
</div></div></div></font></span></div>
<br>_______________________________________________<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" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>
<br></blockquote></div><br></div></div>