[ncl-talk] Hourly/Daily Precip Plots
Alexander Schaefer
alexander.schaefer at mines.sdsmt.edu
Mon May 11 22:24:59 MDT 2015
Eldon,
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 at hour13 - timestep at hour12 will give you the total precip for the
hour 12-13.
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 "*do it =
0,ntimes-1,2*" 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.
Hope that helps,
-Alex
On Tue, Apr 21, 2015 at 12:30 PM, Lopes, Eldon F <
Eldon_Lopes at student.uml.edu> wrote:
> Hello my name is Eldon Lopes and I'm currently a grad student working
> with NCL to analyze WRF output.
> I used the script below to print out precip values and it works fine.
>
> http://www2.mmm.ucar.edu/wrf/OnLineTutorial/Graphics/NCL/Examples/PRECIP/wrf_Precip.ncl
> 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.
>
> I also saw this
> http://www.ncl.ucar.edu/Support/talk_archives/2010/0447.html 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?
>
> Thanks,
> Eldon
>
>
>
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20150512/8b759dc8/attachment.html
More information about the ncl-talk
mailing list