<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<div>
<div style="color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-size: 14px;">
OK thanks. &nbsp;</div>
<div style="color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-size: 14px;">
<br>
</div>
<div style="color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-size: 14px;">
Would this script simply remove the lines that indicate&nbsp;</div>
<div style="color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-size: 14px;">
<br>
</div>
<div style="color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-size: 14px;">
<span style="font-family: 'Courier New'; font-size: medium;">ACM CONVCTIVE PRECIP</span></div>
<div style="color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-size: 14px;">
<span style="font-family: 'Courier New'; font-size: medium;">ACM GRD SCALE PRECIP</span></div>
<div style="color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-size: 14px;">
<span style="font-family: 'Courier New'; font-size: medium;">ACM SNOWFALL</span></div>
<div style="color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-size: 14px;">
<br>
</div>
<div><font face="Courier New">F</font><font face="Courier New" style="color: rgb(0, 0, 0); font-size: 14px;">rom the&nbsp;</font>wrf_cntrl.parm file?</div>
<div><br>
</div>
<div>Bill</div>
<div><br>
</div>
<div style="color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-size: 14px;">
<div id="MAC_OUTLOOK_SIGNATURE"></div>
</div>
</div>
<div style="color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-size: 14px;">
<br>
</div>
<span id="OLK_SRC_BODY_SECTION" style="color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-size: 14px;">
<div style="font-family:Calibri; font-size:12pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<span style="font-weight:bold">From: </span>Dominikus Heinzeller &lt;<a href="mailto:climbfuji@ymail.com">climbfuji@ymail.com</a>&gt;<br>
<span style="font-weight:bold">Date: </span>Saturday, February 20, 2016 at 10:39 MST<br>
<span style="font-weight:bold">To: </span>William Capehart &lt;<a href="mailto:William.Capehart@sdsmt.edu">William.Capehart@sdsmt.edu</a>&gt;<br>
<span style="font-weight:bold">Cc: </span>Don Morton &lt;<a href="mailto:don.morton@borealscicomp.com">don.morton@borealscicomp.com</a>&gt;, &quot;<a href="mailto:wrf-users@ucar.edu">wrf-users@ucar.edu</a>&quot; &lt;<a href="mailto:wrf-users@ucar.edu">wrf-users@ucar.edu</a>&gt;<br>
<span style="font-weight:bold">Subject: </span>Re: [Wrf-users] UPP 3.0, WRF-ARW and hourly and 3-hourly Precip Accumulations<br>
</div>
<div><br>
</div>
<div>
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
Hi William,
<div class=""><br class="">
</div>
<div class="">I think UPP can do that although it is well hidden in the code.</div>
<div class=""><br class="">
</div>
<div class="">The point is that the fields accumulated precip (conv/gridscale/snow) and precip accumulated over a user-specified interval are defined with same grib code etc, which means that you have to suppress the output of one or the other. I once wrote
 a Python tool to generate the wrf_cntrl.parm using a Python dictionary in which all possible fields are listed. These were obtained from UPPv2.1, so some things might have changed. Here is a short extract from the Python tool for the fields you are interested
 in:</div>
<div class=""><br class="">
</div>
<div class="">
<div class=""><font face="Courier New" class="">&nbsp; &nbsp; &quot;ACM CONVCTIVE PRECIP&quot; : { &quot;levelcode&quot; : &nbsp; 1, &quot;gribcode&quot; : &nbsp;63, &quot;description&quot; : &quot;Accumulated convective precipitation&quot; },</font></div>
<div class=""><font face="Courier New" class="">&nbsp; &nbsp; &quot;ACM GRD SCALE PRECIP&quot; : { &quot;levelcode&quot; : &nbsp; 1, &quot;gribcode&quot; : &nbsp;62, &quot;description&quot; : &quot;Accumulated grid-scale precipitation&quot; },</font></div>
<div class=""><span style="font-family: 'Courier New';" class="">&nbsp; &nbsp; &quot;ACM SNOWFALL&quot; &nbsp; &nbsp; &nbsp; &nbsp; : { &quot;levelcode&quot; : &nbsp; 1, &quot;gribcode&quot; : &nbsp;65, &quot;description&quot; : &quot;Accumulated snowfall&quot; },</span></div>
<div class=""><font face="Courier New" class="">&nbsp; &nbsp; &quot;BUCKET CONV PRECIP&quot; &nbsp; : { &quot;levelcode&quot; : &nbsp; 1, &quot;gribcode&quot; : &nbsp;63, &quot;description&quot; : &quot;Convective precipitation accumulated over user-specified&quot; },</font></div>
</div>
<div class=""><font face="Courier New" class="">&nbsp; &nbsp; &quot;BUCKET GRDSCALE PRCP&quot; : { &quot;levelcode&quot; : &nbsp; 1, &quot;gribcode&quot; : &nbsp;62, &quot;description&quot; : &quot;Grid-scale precipitation accumulated over user-specified&quot; },</font></div>
<div class=""><font face="Courier New" class="">&nbsp; &nbsp; &quot;BUCKET SNOW PRECIP&quot; &nbsp; : { &quot;levelcode&quot; : &nbsp; 1, &quot;gribcode&quot; : &nbsp;65, &quot;description&quot; : &quot;Snow accumulated over user- specified bucket&quot; },</font></div>
<div class=""><br class="">
</div>
<div class="">If you search for those names in the UPP source code, you will find that the bucket values are accumulated precip between the specified output times. In v2.1, you’ll find it in src/unipost/SURFCE.f. Also, these variables are listed in the UPP
 user’s guide (<a href="http://www.dtcenter.org/upp/users/docs/user_guide/V3/upp_users_guide.pdf" class="">http://www.dtcenter.org/upp/users/docs/user_guide/V3/upp_users_guide.pdf</a>).</div>
<div class=""><br class="">
</div>
<div class="">Let me know if you are interested in the Python tool.</div>
<div class=""><br class="">
</div>
<div class="">Cheers</div>
<div class=""><br class="">
</div>
<div class="">Dom</div>
<div class=""><br class="">
<div>
<blockquote type="cite" class="">
<div class="">On 20/02/2016, at 10:05 AM, Capehart, William J &lt;<a href="mailto:William.Capehart@sdsmt.edu" class="">William.Capehart@sdsmt.edu</a>&gt; wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; font-size: 14px; font-family: Calibri, sans-serif;" class="">
<div class="">
<div class="">
<div class="">Hi Don. &nbsp;We need the integrated precip value not the prate value of file-time.</div>
<div class="">
<div id="" class=""></div>
</div>
</div>
</div>
<div class=""><br class="">
</div>
<span id="OLK_SRC_BODY_SECTION" class="">
<div style="font-family: Calibri; font-size: 12pt; text-align: left; border-width: 1pt medium medium; border-style: solid none none; padding: 3pt 0in 0in; border-top-color: rgb(181, 196, 223);" class="">
<span style="font-weight:bold" class="">From: </span>Don Morton &lt;<a href="mailto:don.morton@borealscicomp.com" class="">don.morton@borealscicomp.com</a>&gt;<br class="">
<span style="font-weight:bold" class="">Date: </span>Saturday, February 20, 2016 at 09:40 MST<br class="">
<span style="font-weight:bold" class="">To: </span>William Capehart &lt;<a href="mailto:William.Capehart@sdsmt.edu" class="">William.Capehart@sdsmt.edu</a>&gt;<br class="">
<span style="font-weight:bold" class="">Cc: </span>&quot;<a href="mailto:wrf-users@ucar.edu" class="">wrf-users@ucar.edu</a>&quot; &lt;<a href="mailto:wrf-users@ucar.edu" class="">wrf-users@ucar.edu</a>&gt;<br class="">
<span style="font-weight:bold" class="">Subject: </span>Re: [Wrf-users] UPP 3.0, WRF-ARW and hourly and 3-hourly Precip Accumulations<br class="">
</div>
<div class=""><br class="">
</div>
<div class="">
<div class="">
<div dir="ltr" class="">Hi,
<div class=""><br class="">
</div>
<div class="">I've been generating a &quot;prate&quot; field with units of kg m-2 s-1 with UPP.&nbsp; Is this something you could use more easily than hacking around with wgrib? &nbsp;</div>
</div>
<div class="gmail_extra"><br clear="all" class="">
<div class="">
<div class="gmail_signature">
<div dir="ltr" class="">---
<div class="">Don Morton, Owner/Manager</div>
<div class="">Boreal Scientific Computing LLC</div>
<div class="">Fairbanks, Alaska USA</div>
<div class=""><a href="http://www.borealscicomp.com/" target="_blank" class="">http://www.borealscicomp.com/</a></div>
<div class=""><a href="http://www.borealscicomp.com/Miscellaneous/MortonBio/" target="_blank" class="">http://www.borealscicomp.com/Miscellaneous/MortonBio/</a></div>
</div>
</div>
</div>
<br class="">
<div class="gmail_quote">On Sat, Feb 20, 2016 at 4:31 PM, Capehart, William J <span dir="ltr" class="">
&lt;<a href="mailto:William.Capehart@sdsmt.edu" target="_blank" class="">William.Capehart@sdsmt.edu</a>&gt;</span> wrote:<br class="">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex" type="cite">
<div style="word-wrap: break-word; font-family: Calibri, sans-serif; font-size: 14px;" class="">
<div class="">Hi All:</div>
<div class=""><br class="">
</div>
<div class="">I am working with our local NWS office and they are requesting GRIB output from our realtime WRF-ARW runs to have hourly precip accumulations.</div>
<div class=""><br class="">
</div>
<div class="">Currently our experience with the UPP 3.0 tool has us able to output accumulated precip over the whole simulation in GRIB but not hourly.&nbsp;&nbsp;We are using the prec_acc_dt = 6 option and are receiving the normal precip accumulated outputs and also
 the requested PREC_ACC_C,&nbsp;PREC_ACC_NC, and SNOW_ACC_NC fields.</div>
<div class=""><br class="">
</div>
<div class="">UPP however is only accessing RAINNC and RAINC for output as per pages 7-9 for the output grib file and is displaying the total simulated accumulations. &nbsp;</div>
<div class=""><br class="">
</div>
<div class="">Is there an easy patch for this, e.g., artfully using wgrib, gribw or hacking the UPP code that has given other people success in this area?</div>
<div class=""><br class="">
</div>
<div class="">Thanks Much,</div>
<div class="">
<div class="">
<div class="">
<div style="font-family:Calibri,sans-serif;font-size:14px" class=""><font face="Courier New" size="3" class=""><span style="font-size:13px" class=""><span style="font-size:12px;font-family:Consolas,monospace" class="">
<div style="font-size: inherit;" class="">
<div style="font-size:12px" class="">
<div style="font-size: inherit;" class="">
<div style="font-size:12px" class="">
<div style="font-size: inherit;" class="">
<div style="font-size:12px" class="">
<div style="font-size: inherit;" class="">
<div style="font-family:Calibri,sans-serif;font-size:14px" class="">
<div style="font-family: Consolas; font-size: 12px;" class="">
<div class=""><font face="Consolas,monospace" class="">================================================================</font></div>
<div class=""><font face="Consolas,monospace" class="">Bill Capehart &lt;<a href="mailto:William.Capehart@sdsmt.edu" target="_blank" class="">William.Capehart@sdsmt.edu</a>&gt; &nbsp; Associate Professor</font></div>
<div class=""><font face="Consolas,monospace" class="">Atmospheric &amp; Environmental Sciences &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Program Director</font></div>
<div class=""><font face="Consolas,monospace" class="">Civil and Environmental Engineering &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</font><span style="font-family:Consolas,monospace" class="">Hydrometeorology</span></div>
<div class=""><span style="font-family:Consolas,monospace" class="">213 Mineral Industries Building &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</span></div>
<div class=""><font face="Consolas,monospace" class="">South Dakota School of Mines and Technology &nbsp; &nbsp; Skype: wcapehart</font></div>
<div class=""><font face="Consolas,monospace" class="">501 East Saint Joseph Street &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Ph:
<a href="tel:%2B1-605-394-1994" value="&#43;16053941994" target="_blank" class="">&#43;1-605-394-1994</a></font></div>
<div class=""><font face="Consolas,monospace" class="">Rapid City, SD 57701-3995 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Mobile:
<a href="tel:%2B1-605-484-5692" value="&#43;16054845692" target="_blank" class="">&#43;1-605-484-5692</a></font></div>
<div class=""><font face="Consolas,monospace" class="">=================== <a href="http://capehart.sdsmt.edu/" target="_blank" class="">
http://capehart.sdsmt.edu</a> ==================</font></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</span></span></font></div>
</div>
</div>
</div>
<div class=""><br class="">
</div>
<div class=""><span style="font-style:italic" class=""><br class="">
</span></div>
<div class=""><br class="">
</div>
</div>
<br class="">
_______________________________________________<br class="">
Wrf-users mailing list<br class="">
<a href="mailto:Wrf-users@ucar.edu" class="">Wrf-users@ucar.edu</a><br class="">
<a href="http://mailman.ucar.edu/mailman/listinfo/wrf-users" rel="noreferrer" target="_blank" class="">http://mailman.ucar.edu/mailman/listinfo/wrf-users</a><br class="">
<br class="">
</blockquote>
</div>
<br class="">
</div>
</div>
</div>
</span></div>
_______________________________________________<br class="">
Wrf-users mailing list<br class="">
<a href="mailto:Wrf-users@ucar.edu" class="">Wrf-users@ucar.edu</a><br class="">
<a href="http://mailman.ucar.edu/mailman/listinfo/wrf-users">http://mailman.ucar.edu/mailman/listinfo/wrf-users</a><br class="">
</div>
</blockquote>
</div>
<br class="">
</div>
</div>
</div>
</span>
</body>
</html>