<div dir="ltr"><div class="gmail_default" style="font-size:small">Thanks for providing the data and script.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">First, I was unable to even run your script because of this line:</div><div class="gmail_default">
<p style="font-size:small"><font face="monospace, monospace"><span> times = </span><span>wrf_user_getvar</span><span>(a,</span><span>"Time"</span><span>,-1) </span>; get all times in the file </font></p><p style="font-size:small">There is no variable "Time" on the file.</p><p style="font-size:small">I fixed this with:</p><p><font face="monospace, monospace"> times = wrf_user_list_times(a)<br> ntimes = dimsizes(times) ; number of times in the file<br> printVarSummary(times)</font></p><p><font face="arial, helvetica, sans-serif">Second, I was unable to read "slp" off the file, because apparently you have some invalid data around time step index 94. I got an error:</font></p><p><font face="monospace, monospace">Troubles finding level 100 above ground.<br></font><span style="font-family:monospace,monospace">Problems first occur at ( 1, 1)<br></span><span style="font-family:monospace,monospace">Surface pressure = 0.0 hPa.<br></span><span style="font-family:monospace,monospace">STOP Error_in_finding_100_hPa_up</span></p><p><font face="arial, helvetica, sans-serif">In order to debug this, instead of trying to read "slp" for all time steps at once, I moved the "slp" code to inside the do loop, so I could retrieve slp for one timestep at a time. This is the timestep where it failed:</font></p><p><span style="font-family:monospace,monospace"> Working on time: 2000-04-12_21:00:00<br></span><span style="font-family:monospace,monospace"> STOP Error_in_finding_100_hPa_up<br></span><span style="font-family:monospace,monospace"> Troubles finding level 100 above ground.<br></span><span style="font-family:monospace,monospace"> Problems first occur at ( 1, 1)<br></span><span style="font-family:monospace,monospace"> Surface pressure = 0.0 hPa.</span></p><p><font face="arial, helvetica, sans-serif">This is something that <a href="mailto:wrfhelp@ucar.edu">wrfhelp@ucar.edu</a> (cc'ed here) may be able to help you with. I've attached the modified version of your code, so you can at least see that your script appears to be working for the earlier time steps.</font></p><p><font face="arial, helvetica, sans-serif">--Mary</font></p><p><br></p></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Nov 2, 2015 at 10:06 AM, afwande juliet <span dir="ltr"><<a href="mailto:afwandej965@gmail.com" target="_blank">afwandej965@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"><div>Hi mary and all</div><div>I have tried to work on it but don't know why; </div><div><br></div><div>I have sent data and script via ftp </div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Oct 29, 2015 at 10:31 AM, 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">Afwande,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">I forgot to mention that you don't want to <i>xxx</i>@gsnFrame and <i>xxx</i>@gsnDraw to False. This is not necessary in your case.<br></div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">If this still doesn't fix your problem, then in addition to the data file, which I already requested, please email me a new copy of your script, so I can try it here.</div><span><font color="#888888"><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></font></span></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Oct 29, 2015 at 9:55 AM, afwande juliet <span dir="ltr"><<a href="mailto:afwandej965@gmail.com" target="_blank">afwandej965@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid"><div dir="ltr"><div>thanks</div><div>Mary and Dennis,</div><div>I have tried both suggestions from Dennis and Mary but it doesn't plot. The workstation is opened with no plot and error message. I have checked the data and realized it has only upto 18hours run but whatever the case there should be a plots</div><div><br></div><div>thanks </div></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Oct 29, 2015 at 7:54 AM, 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:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid"><div dir="ltr"><div class="gmail_default" style="font-size:small">Afwande,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">My guess is that your script never got past this line, because NCL doesn't know what type of file your wrf output file is:</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small"> a = addfile("./wrfout_d01_2000-04-01_06:00:00","r") </div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Didn't your script give you an error when you tried to run it?</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">You need to add a ".nc" to the end of the filename (note: is NOT necessary to rename the file itself), so that NCL knows to open it as a NetCDF file:</div><div class="gmail_default" style="font-size:small"><br></div>
<div class="gmail_default" style="font-size:small"> a = addfile("./wrfout_d01_2000-04-01_06:00:<a href="http://00.nc" target="_blank">00.nc</a>","r") </div><span><font color="#888888"><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"> </div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small"> <br></div></font></span></div><div class="gmail_extra"><br><div class="gmail_quote"><span>On Thu, Oct 29, 2015 at 5:27 AM, afwande juliet <span dir="ltr"><<a href="mailto:afwandej965@gmail.com" target="_blank">afwandej965@gmail.com</a>></span> wrote:<br></span><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid"><div><div><div dir="ltr"><div>Dear NCL users,</div><div> I am trying to plot wrf output for temp, u and v wind dewpoint temp in one plot but i only get empty workstation, could someone help me know why . I am using script from WRF-NCL page and the runs is for about 13days of 3hourly. I have attached the script</div><div>thanks </div><span><font color="#888888"><div>Afwande </div></font></span></div>
<br></div></div><span>_______________________________________________<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/mailman/listinfo/ncl-talk</a><br>
<br></span></blockquote></div><br></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>