<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
Aaron,<br>
<br>
Have you found a way to do this yet?<br>
<br>
Here is a section of GrADS script code that may be helpful (from
Vaughan Phillips):<br>
<br>
---<br>
'open /home/vtp/GCSS2_WRF/test/eh_squall2d_x/TOGA_NEW/ifamean.ctlt'<br>
'set z 1'<br>
'set x 1'<br>
'set y 1'<br>
'set t 1 960'<br>
'define prec = prec'<br>
'define pobs = tloop(sum(prec,t=393,t+0))'<br>
'set t 393 441'<br>
'define pob = pobs'<br>
'd pob'<br>
<br>
'draw&nbsp; xlab time (days)'<br>
'draw&nbsp; ylab P (mm)'<br>
'draw title \ ACCUMULATED PRECIPITATION' <br>
'close 1'<br>
'cbar_l -t "WRF" "LAN" "OBS" -p'<br>
'print'<br>
'disable print'<br>
---<br>
<br>
Chuck<br>
<br>
Mr Aaron Pratt wrote:
<blockquote cite="mid20051012185233.61669.qmail@web60818.mail.yahoo.com"
 type="cite">
  <pre wrap="">Hello everyone,

I have a question about setting up a loop. I want to
generate a 24 hour accumulated precipitation total
forecast from the WRF model. For example, if I had a
36 hour forecast starting at 00Z August 12, I want to
look at the last 24 hours of that forecast (12Z August
22 - 12Z August 23).

I know that my loop should increment with the forecast
interval (every 3 hours). Also, I know that, within
this loop precipitation needs to be summed up. I've
forgotten exactly how to set up such a loop. Thanks in
advance for any help that anyone might be able to
offer.

Aaron





__________________________________
Yahoo! Mail - PC Magazine Editors' Choice 2005
<a class="moz-txt-link-freetext" href="http://mail.yahoo.com">http://mail.yahoo.com</a>
  </pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--

********************************************************************
 Charles Seman                                <a
 class="moz-txt-link-abbreviated" href="mailto:charles.seman@noaa.gov">charles.seman@noaa.gov</a>
 U.S. Department of Commerce / NOAA / OAR
 Geophysical Fluid Dynamics Laboratory         voice: (609) 452-6547
 201 Forrestal Road                              fax: (609) 987-5063
 Princeton, NJ  08540-6649            <a
 class="moz-txt-link-freetext" href="http://www.gfdl.noaa.gov/%7Ecjs/">http://www.gfdl.noaa.gov/~cjs/</a>
********************************************************************

"The contents of this message are mine personally and do not reflect
any position of the Government or NOAA."
</pre>
</body>
</html>