<div dir="ltr"><div class="gmail_default" style="font-size:small">Dear Mark,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">I don&#39;t think your &quot;rot1_plot_good.ncl&quot; is plotting the data in the correct location.  I say this because it looks like your contours have a rough outline of what&#39;s supposed to be the Tibetan Plateau, but it doesn&#39;t look like that&#39;s where it is on the map.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Also, If I modify your code so that it actually uses the lat/lon arrays you read off the file to do the plotting, then the plot looks different.  It does take longer to draw, because now you have to do the map transformation calculation behind the scenes, but the plot looks more correct to me. I just plotted it in a standard lat/lon projection, because when I use the parameters you provided, part of the contours go outside of the plot boundary.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Please compare the attached &quot;rotated.png&quot; image, which is from your original rot1_plot.ncl script, and the &quot;non_rotated.png&quot; image, which is the non-native image plotted using lat/lon arrays. I&#39;ve called the script that generates the non-native plot &quot;rot1_plot_good_mod.ncl&quot; and attached it here as well.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Are you certain that you have the rotated parameters correct? This is usually the cause of why native data doesn&#39;t appear in the correct location.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">--Mary</div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Aug 5, 2015 at 4:16 AM, Mark Chan <span dir="ltr">&lt;<a href="mailto:cym263@yahoo.com" target="_blank">cym263@yahoo.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><div style="color:#000;background-color:#fff;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:16px"><div>Dear Mary,</div><div><br></div><div>Thanks so much for your response to my question!</div><div>The attached files are my ncl scripts and input data, and the script &#39;rot1_plot_good.ncl&#39; works but &#39;rot2_plot_failed.ncl&#39; always failed. Can you help to make the second script work?</div><div><br></div><div dir="ltr">Actually I am trying to plot the rotated projection from WRF simulation ( see the attached namelist.wps), and wondering how to use the rotated message (such as: pole_lat = 77.61, pole_lon = -64.78) in my plot, so the plot could be exactly same as the model simulation (same as the ncview shows).</div><div dir="ltr"><br></div><div dir="ltr">In addition, using the rotated message (77.61, -64.78), how is it possible to plot a global map, which shows the &#39;rotated map&#39; looks like globally?</div><div dir="ltr"><br></div><div dir="ltr">Thanks very much!</div><span class="HOEnZb"><font color="#888888"><div dir="ltr">Mark<br></div></font></span></div></div></blockquote></div><br></div></div>