<div dir="ltr"><div>Setareh,</div><div>Perhaps you can try the attached script, which I use to plot 24-hr rainfall up to 5 days ahead.</div><div>Essentially if you get your WRF rainfall as</div><div>RAINC = a[:]->RAINC(:,:,:)</div><div>WRF rainfall is accumulated hourly, so to get 24hour total rainfall on day one from analysis, you would, e.g.</div><div>plot = gsn_csm_contour_map(wks, RAIN((24,:,:)-RAIN((0,:,:), res)</div><div>I hope it helps<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Oct 22, 2023 at 12:58 PM Setareh Rahimi via ncl-talk <<a href="mailto:ncl-talk@mailman.ucar.edu">ncl-talk@mailman.ucar.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Dear all,<div><br></div><div><font face="arial, sans-serif">How can I calculate <b style="background-color:rgb(255,255,0)">total daily precipitation</b> from the WRF model, please ( for example total daily precipitation for 2021-01-014)? I have got hourly out from the model, (<span class="gmail_signature_prefix"><span style="font-variant-ligatures:no-common-ligatures;color:rgb(0,0,0);background-color:rgb(255,255,0)"><b>history_interval=60, </b></span></span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(0,0,0)"><span style="background-color:rgb(255,255,0)"><b>frames_per_outfile=72</b>)</span>.</span></font></div><div><font face="arial, sans-serif"><span style="font-variant-ligatures:no-common-ligatures;color:rgb(0,0,0)">Please advise me on this issue.</span></font></div><div><font face="arial, sans-serif"><span style="font-variant-ligatures:no-common-ligatures;color:rgb(0,0,0)">Thanks in advance,</span></font></div>
<div><span class="gmail_signature_prefix"><span style="font-variant-ligatures:no-common-ligatures;color:rgb(0,0,0);font-family:Menlo;font-size:11px"> </span>--</span>
<div dir="ltr" class="gmail_signature"><span style="font-variant-ligatures:no-common-ligatures;color:rgb(0,0,0);font-family:Menlo;font-size:11px"> </span>S.Rahimi<br><br></div></div></div>
_______________________________________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@mailman.ucar.edu" target="_blank">ncl-talk@mailman.ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="https://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">https://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>
</blockquote></div>