<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Helvetica;
        panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"\@SimSun";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:Webdings;
        panose-1:5 3 1 2 1 5 9 6 7 3;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Times New Roman","serif";
        color:#1F497D;
        font-weight:normal;
        font-style:normal;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='color:#1F497D'>Hi Saurabh,<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>I think it could be a WRF issue, but I will answer you here.<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>In supplement for Saurabh’s reply, if you have “bucket_mm” option turned on in your WRF runs, you also need to add the I_RAINC and I_RAINNC<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Something like this: <o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Helvetica","sans-serif";color:black'>pcp1 = a->RAINC(it-1,:,:)*(a->I_RAINC)*”<b>bucket_mm”</b> + a->RAINNC(it-1,:,:) * (a->I_RAINNNC)*<b> bucket_mm”</b><br><br></span><span style='color:#1F497D'><o:p></o:p></span></p><p class=MsoNormal><b><span style='font-family:"Helvetica","sans-serif";color:black'>bucket_mm” is the setting in your WRF runs. Usually it use “100”</span></b><b><span style='font-family:"Helvetica","sans-serif";color:black'><o:p></o:p></span></b></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><div><p class=MsoNormal><span style='color:#1F497D'>Regards,<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Yuqiang<o:p></o:p></span></p></div><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> ncl-talk-bounces@ucar.edu [mailto:ncl-talk-bounces@ucar.edu] <b>On Behalf Of </b>sk<br><b>Sent:</b> Thursday, September 11, 2014 6:20 AM<br><b>To:</b> Saurabh Singh; ncl-talk@ucar.edu<br><b>Subject:</b> Re: [ncl-talk] plotting rainfall intensity and not accumulated rainfall<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><div><div><p class=MsoNormal style='background:white'><span style='font-family:"Helvetica","sans-serif";color:black'>may be something like:<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Helvetica","sans-serif";color:black'><o:p> </o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='font-family:"Helvetica","sans-serif";color:black'>pcp1 = a->RAINC(it-1,:,:)+a->RAINNC(it-1,:,:)<br>pcp2 = a->RAINC(it,:,:)+a->RAINNC(it,:,:)<br>pcp = pcp2-pcp1<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Helvetica","sans-serif";color:black'><o:p> </o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Helvetica","sans-serif";color:black'>Regards,<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Helvetica","sans-serif";color:black'>SK<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Helvetica","sans-serif";color:black'><o:p> </o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Helvetica","sans-serif";color:black'><o:p> </o:p></span></p></div><div><p class=MsoNormal style='margin-bottom:12.0pt;background:white'><span style='font-family:"Helvetica","sans-serif";color:black'><o:p> </o:p></span></p></div><div><div><div><div><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:black'>On Thursday, September 11, 2014 12:58 PM, Saurabh Singh <<a href="mailto:saurabhsingh123op@gmail.com">saurabhsingh123op@gmail.com</a>> wrote:</span><span style='font-family:"Helvetica","sans-serif";color:black'><o:p></o:p></span></p></div><p class=MsoNormal style='margin-bottom:12.0pt;background:white'><span style='font-family:"Helvetica","sans-serif";color:black'><o:p> </o:p></span></p><div><div id=yiv3740221611><div><p class=MsoNormal style='background:white'><span style='font-family:"Helvetica","sans-serif";color:black'><br clear=all><o:p></o:p></span></p><div><p class=MsoNormal style='background:white'><span style='font-family:"Helvetica","sans-serif";color:black'>OS: ubuntu 13.04<o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='font-family:"Helvetica","sans-serif";color:black'>NCL version 6.1.2<o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='font-family:"Helvetica","sans-serif";color:black'><o:p> </o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='font-family:"Helvetica","sans-serif";color:black'>Question : there is a NCL script availaible of WRF users page to plot <o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='font-family:"Helvetica","sans-serif";color:black'><a href="http://www2.mmm.ucar.edu/wrf/OnLineTutorial/Graphics/NCL/Examples/PRECIP/wrf_Precip_multi_files.ncl" target="_blank">http://www2.mmm.ucar.edu/wrf/OnLineTutorial/Graphics/NCL/Examples/PRECIP/wrf_Precip_multi_files.ncl</a> to plot the accumulated rainfall and tendencies . my problem is i don't want to plot accumulated rainfall but for rainfall rate every 3 hours.<o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='font-family:"Helvetica","sans-serif";color:black'><o:p> </o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='font-family:"Helvetica","sans-serif";color:black'>can anyone please provide me the change i have to make in the code to get my desired output.<o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='font-family:"Helvetica","sans-serif";color:black'><o:p> </o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='font-family:"Helvetica","sans-serif";color:black'>my WRF output is every 3 hours and i want 3 hourly intensity .<o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='font-family:"Helvetica","sans-serif";color:black'><o:p> </o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='font-family:"Helvetica","sans-serif";color:black'>Regards<o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='font-family:"Helvetica","sans-serif";color:black'>Saurabh<o:p></o:p></span></p></div><p class=MsoNormal style='background:white'><span style='font-family:"Helvetica","sans-serif";color:black'>-- <o:p></o:p></span></p><div><p class=MsoNormal style='margin-bottom:12.0pt;background:white'><span style='font-family:"Arial","sans-serif";color:black'>With regards<br>Saurabh Kumar singh </span><span style='font-family:"Helvetica","sans-serif";color:#33CC00'><br></span><span style='font-family:"Helvetica","sans-serif";color:black'><br></span><span style='font-size:7.5pt;font-family:"Helvetica","sans-serif";color:#666666'> </span><b><i><span lang=EN-GB style='font-size:7.5pt;font-family:Webdings;color:#666666'>P</span></i></b><b><i><span lang=EN-GB style='font-size:7.5pt;font-family:"Tahoma","sans-serif";color:#666666'> : </span></i></b><b><i><span lang=EN-GB style='font-size:7.5pt;font-family:"Arial","sans-serif";color:#666666'> </span></i></b><b><i><span lang=EN-GB style='font-size:7.5pt;font-family:"Tahoma","sans-serif";color:#666666'>Please consider the environment before printing this e-mail</span></i></b><span lang=EN-GB style='font-size:7.5pt;font-family:"Helvetica","sans-serif";color:#666666'> </span><span style='font-family:"Helvetica","sans-serif";color:#666666'><br></span><span style='font-family:"Helvetica","sans-serif";color:black'><br><br><o:p></o:p></span></p></div></div></div><p class=MsoNormal style='margin-bottom:12.0pt;background:white'><span style='font-family:"Helvetica","sans-serif";color:black'><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><o:p></o:p></span></p></div></div></div></div></div></div></body></html>