<div dir="ltr">Hi Mary,<br><br>Thanks for the email! <br><br>I saw the "exit" in there after I sent this initial email and it was a simple solution by removing it.... Thanks for the response though! It's working fine now!<br><br>Best,<br><br>Nick Luchetti</div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Mar 17, 2018 at 1:30 PM, Mary Haley <span dir="ltr"><<a href="mailto:haley@ucar.edu" target="_blank">haley@ucar.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"><div class="gmail_default" style="font-size:small">Hi Nicholas,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">You have an "exit" in your code, which causes the NCL script to exit before it ever gets to the plotting section.<br><br></div><div class="gmail_default" style="font-size:small">The other thing of note about this script is you must use a WRF output file that has multiple time steps or it won't work.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Finally, you need to make sure nlat and nlon are set to index values that are within the size of the W array.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">If the code still doesn't work with these tips, then email <a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a> again and include any error messages you're getting. It would also help if you include a printVarSummary output of the W variable:</div><div class="gmail_default" style="font-size:small"><br></div>  printVarSummary(f->W)<div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Thanks,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">--Mary</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small"><br></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Wed, Mar 14, 2018 at 8:46 AM, Nicholas Thomas Luchetti <span dir="ltr"><<a href="mailto:Nicholas.Luchetti@colorado.edu" target="_blank">Nicholas.Luchetti@colorado.<wbr>edu</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr">Hi all,<br><br>I am trying to use the script: WRF_cn_4.ncl provided by NCAR to plot a vertical cross section of wrfoutput from an idealized case...<br><br>I simply just changed the file to my <a href="http://secure-web.cisco.com/1kgyJZQ-MiATvzBOUVlpBGqH_mRSQTIpQ2WsrLhOdS_5BIyaZOW3-vvoRFzycyZvn7oRhQvoMMpa640z6gFoW7nY-d0-ad6xlW3KpXdMZbyubfMXPFHRGwPp99gO9h5dP3tjaE17p81N0H-GQ74HKkU5Htc9zvetJ1M-RL3VqyDTysMaymjUeW56hwTLs6vAxW_r2ZT8P0Gbr5vZsUXXBUdXIoxQzJavAdZQ5iFbhpVnsmNpmAoW0QpQYVw2WwjEG8wm7wXrxPphodqCs2vI6mrUXtncKZP4R9bIhDfavrPPEQxE0925vyxvzgBkSFlHVWQyN0ps0H9rzcKlbiXTc_Y8ThNHwN1SB8ir5LTV7fJuZCU5wkAvgjYvC7tB86hfFqMKzyoLEuRAW3MQethiFAF-pEBvn9nIUoHP78qxJx9m575Iajx7DeAzq4c5sVKj2/http%3A%2F%2Fwrfoutput.nc" target="_blank">wrfoutput.nc</a> file, and changed the lat/lon to the idealized (i,j) point of interest....<br><br>The script apparently runs fine with no errors, but nothing is plotted at all... <br><br>The dimensions of variable W seems to be exactly the same as in the sample script so I can't seem to figure out why it doesn't plot anything? Does anyone have any idea as to why? <br><br>Is there something special I need to do use the (i,j) idealized coordinates as opposed to lat/lon coordinates? <br><br>I've attached the script as a .txt file. <br><br>Thanks,<div><br></div><div>Nick Luchetti <span class="m_-7688233167149939827HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div class="m_-7688233167149939827m_-7588993140188535039gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><span style="font-size:12.8px;color:rgb(0,0,0);font-family:Calibri,Arial,Helvetica,sans-serif"><font size="2">Nicholas Luchetti</font></span><div><div><font color="#000000" face="Calibri, Arial, Helvetica, sans-serif" size="2">Graduate Student<br>Department of Atmospheric and Oceanic Sciences (ATOC)<br>CU Boulder <br></font><div style="font-size:12.8px;color:rgb(0,0,0);font-family:Calibri,Arial,Helvetica,sans-serif"><br></div></div></div></div></div></div></div>
</font></span></div></div>
<br></div></div>______________________________<wbr>_________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu" target="_blank">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/mailma<wbr>n/listinfo/ncl-talk</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><span style="font-size:12.8px;color:rgb(0,0,0);font-family:Calibri,Arial,Helvetica,sans-serif"><font size="2">Nicholas Luchetti</font></span><div><div><font color="#000000" face="Calibri, Arial, Helvetica, sans-serif" size="2">Graduate Student<br>Department of Atmospheric and Oceanic Sciences (ATOC)<br>CU Boulder <br></font><div style="font-size:12.8px;color:rgb(0,0,0);font-family:Calibri,Arial,Helvetica,sans-serif"><br></div></div></div></div></div></div></div>
</div>