<div dir="ltr"><div class="gmail_default" style="font-size:small">Ronald,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">As Barry mentioned, it would help if we could see your script and a sample image. When you say north is "up and right" this sounds like you might have some kind of rotated lat/lon projection.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Also, are you using the wrf_contour, wrf_vector, and/or wrf_map_overlays to plot your data? If so, then be aware that these functions use whatever native map projection is defined on your WRF file, and you will not be able to change this.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">If you want to change the map projection, then you need to use either the gsn_csm_contour_map or gsn_csm_vector_map function, depending on whether you are drawing contours or vectors, *and* you will need to provide the lat / lon coordinates to these functions via the special lat2d / lon2d attributes.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">You can see some examples of using the wrf_xxxx functions versus the gsn_csm_xxxx_map functions at:</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default"><a href="http://www.ncl.ucar.edu/Applications/wrfgsn.shtml">http://www.ncl.ucar.edu/Applications/wrfgsn.shtml</a><br></div><div class="gmail_default"><br class="gmail-Apple-interchange-newline"><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">In particular, look at the the first example, wrf_gsn_1.ncl and wrf_nogsn_1.ncl. In the wrf_gsn_1.ncl example, you'll see how it reads the XLAT / XLONG variables off the WRF file and attaches them to the "hgt" variable, via:</span><br></div><div class="gmail_default"><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><br></span></div><div class="gmail_default"><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><pre style="color:rgb(0,0,0);font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;word-spacing:0px;word-wrap:break-word;white-space:pre-wrap"> hgt@lat2d = wrf_user_getvar(a,"XLAT",it) ; latitude/longitude
hgt@lon2d = wrf_user_getvar(a,"XLONG",it) ; required for plotting</pre></span></div><div class="gmail_default">By doing this, you can choose whatever map projection you want. This particular example uses a simple lat/lon projection, also known as a cylindrical equidistant projection.</div><div class="gmail_default"><br></div><div class="gmail_default">--Mary</div><div class="gmail_default" style="font-size:small"><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Feb 11, 2018 at 7:58 PM, Ronald Stenz <span dir="ltr"><<a href="mailto:rds238@cornell.edu" target="_blank">rds238@cornell.edu</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 must be missing something simple, but I can't figure out how to get North to be Up for my WRF plots. Currently, no matter what I do, north always ends up being towards the upper right in my plots (regardless of what map projection I use). I just looked to provide the link for where I got the base NCL plotting codes, but I can't seem to find it anymore on google and it looks like newer versions of codes now exist? Will switching to these new NCL graphics codes for WRF allow me to do this, or is this something that should work with the codes I already have?<div><br></div><div>If so, how do I get North to be Up in my plots, and not up and right?</div><div><br></div><div>Thanks</div></div><div id="m_1797275528208953350DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2"><br>
<table style="border-top:1px solid #d3d4de">
<tbody><tr>
<td style="width:55px;padding-top:13px"><a href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=icon" target="_blank"><img src="https://ipmcdn.avast.com/images/icons/icon-envelope-tick-round-orange-animated-no-repeat-v1.gif" alt="" width="46" height="29" style="width:46px;height:29px"></a></td>
<td style="width:470px;padding-top:12px;color:#41424e;font-size:13px;font-family:Arial,Helvetica,sans-serif;line-height:18px">Virus-free. <a href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=link" style="color:#4453ea" target="_blank">www.avast.com</a>
</td>
</tr>
</tbody></table><a href="#m_1797275528208953350_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2" width="1" height="1"></a></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>