<div dir="ltr"><div><div><div>Eldon,<br><br></div>The script is using RAINC, accumulated rain from cumulus, and RAINNC, accumulated rain from grid-scale(non-convective usually), thus adding them together gives you the total accumulated rain from start to current time step. If you want hourly data then some subtraction will do the trick, timestep@hour13 - timestep@hour12 will give you the total precip for the hour 12-13. <br><br>After looking at what the script gives you, the first graph is accumulated precip, the second plot is the total precip between the time steps being looked at(which in this case is every other time step "<i>do it = 0,ntimes-1,2</i>" do to the 2 in the loop) and the third is the precip between time steps separated by grid scale and convective. I am not sure of your WRF history interval but changing the skip value in the loop to skip the time steps between hours will give you hourly precip values in the second plot.<br><br></div>Hope that helps,<br></div>-Alex<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Apr 21, 2015 at 12:30 PM, Lopes, Eldon F <span dir="ltr"><<a href="mailto:Eldon_Lopes@student.uml.edu" target="_blank">Eldon_Lopes@student.uml.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 style="font-size:12pt;color:#000000;background-color:#ffffff;font-family:Calibri,Arial,Helvetica,sans-serif">
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:16px;margin-top:0px;margin-bottom:0px">
Hello my name is Eldon Lopes and I'm currently a grad student working with NCL to analyze WRF output.<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:16px;margin-top:0px;margin-bottom:0px">
I used the script below to print out precip values and it works fine.<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:16px;margin-top:0px;margin-bottom:0px">
<a href="http://www2.mmm.ucar.edu/wrf/OnLineTutorial/Graphics/NCL/Examples/PRECIP/wrf_Precip.ncl" target="_blank">http://www2.mmm.ucar.edu/wrf/OnLineTutorial/Graphics/NCL/Examples/PRECIP/wrf_Precip.ncl</a><br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:16px;margin-top:0px;margin-bottom:0px">
But when I want to apply it towards hourly/daily precip plots I keep getting the cumulative precip total instead of seeing the total for each individual time step. I figured a relatively minor change to the script would work but I \ don't have my logic set
up right in the script. </div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:16px;margin-top:0px;margin-bottom:0px">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:16px;margin-top:0px;margin-bottom:0px">
I also saw this <a href="http://www.ncl.ucar.edu/Support/talk_archives/2010/0447.html" target="_blank">http://www.ncl.ucar.edu/Support/talk_archives/2010/0447.html</a> in the archives but couldn't really get a solution out of this although
it seemed there are other scripts out there. Is there anything else I should send you?<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:16px;margin-top:0px;margin-bottom:0px">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:16px;margin-top:0px;margin-bottom:0px">
Thanks,<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:16px;margin-top:0px;margin-bottom:0px">
Eldon<br>
</div>
<p><br>
</p>
</div>
</div>
<br>_______________________________________________<br>
ncl-talk mailing list<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>