<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>So, now I see..<div>I use this script code to create ctl files:<br>./grib2ctl.pl -verf wrfprs_d00.${fhr} &gt; wrfprs_d00_${fhr}.ctl</div><div>where fhr goes from 00 to 48, with 3h steps</div><div><br></div><div>How could I exactly do what you are saying? Please, if you have time, provide a full code :(<br><br><div><hr id="stopSpelling">Date: Wed, 9 Sep 2015 17:10:52 -0500<br>From: instantweathermaps@gmail.com<br>To: gradsusr@gradsusr.org<br>Subject: Re: [gradsusr] Simple query: Accumulated Rain??<br><br><div dir="ltr"><div><div>The control file you are opening only contains one GRIB file. You need to make a control file that contains multiple GRIB files (which might be called wrsprs_d01_00.grib2, wrsprs_d01_03.grib2, etc) so that you can access the prior times.<br><br></div>Joey<br></div>InstantWeatherMaps.com<br></div><div class="ecxgmail_extra"><br><div class="ecxgmail_quote">On Wed, Sep 9, 2015 at 4:54 PM, giacomo tricarico <span dir="ltr">&lt;<a href="mailto:mino-98@hotmail.it" target="_blank">mino-98@hotmail.it</a>&gt;</span> wrote:<br><blockquote class="ecxgmail_quote" style="border-left:1px #ccc solid;padding-left:1ex;">


<div><div dir="ltr">OK! So I'm using this example code:<div><br><div>'open wrfprs_d01_${fhr}.ctl &nbsp;##IN THIS EXAMPLE I'VE USED wrsprs_d01_12.ctl</div><div>'set display color white'&nbsp;</div><div>'set gxout shaded'</div><div>'color 1 100 1 -kind white-&gt;red &nbsp; ##USES A SCRIPT THAT MAKES A NEW RAINBOW SACLE</div><div>'d APCPsfc(t-3)+APCPsfc'<br><br>But I receive this error:<br><div>Notice: &nbsp;Automatic Grid Interpolation Taking Place</div><div>Data Request Warning: &nbsp;Request is completely outside file limits</div><div>&nbsp; Entire grid contents are set to missing data&nbsp;</div><div>&nbsp; Grid limits of file: &nbsp; &nbsp; X = 1 93 &nbsp;Y = 1 87 &nbsp;Z = 1 26 &nbsp;T = 1 1 &nbsp;E = 1 1&nbsp;</div><div>&nbsp; Grid limits of request: &nbsp;X = 1 93 &nbsp;Y = 1 87 &nbsp;Z = 1 1 &nbsp;T = -2 -2 &nbsp;E = 1 1&nbsp;</div><div>&nbsp; Warning issued for variable = apcpsfc</div><div>Cannot contour grid - all undefined values&nbsp;</div><div><br></div><div><br></div><div>Please help me, it's very important for my website!<br><br>Cheers,</div><div>Giacomo</div><div><hr>Date: Wed, 9 Sep 2015 16:13:14 -0500<div><div class="h5"><br>From: <a href="mailto:instantweathermaps@gmail.com" target="_blank">instantweathermaps@gmail.com</a><br>To: <a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a><br>Subject: Re: [gradsusr] Simple query: Accumulated Rain??<br><br><div dir="ltr"><div><div>If the WRF output is 3hr-accumulated, then use sum. If it's total-accumulated, use subtraction.<br><br></div>Joey Woodson<br></div>InstantWeatherMaps.com<br></div><div><br><div>On Wed, Sep 9, 2015 at 3:11 PM, giacomo tricarico <span dir="ltr">&lt;<a href="mailto:mino-98@hotmail.it" target="_blank">mino-98@hotmail.it</a>&gt;</span> wrote:<br><blockquote style="border-left:1px #ccc solid;padding-left:1ex;">


<div><div dir="ltr">In my specific case, which code should I use?<br>Thanks Joey!!<br><br><div><hr>Date: Wed, 9 Sep 2015 14:49:07 -0500<br>From: <a href="mailto:instantweathermaps@gmail.com" target="_blank">instantweathermaps@gmail.com</a><br>To: <a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a><br>Subject: Re: [gradsusr] Simple query: Accumulated Rain??<div><div><br><br><div dir="ltr">You can use the sum function in GrADS to calculate x-hr accumulated rain from n-hr accumulated rain, where x&gt;n. If x&lt;n, you can use subtraction, as in ACPCsfc(t-4)-ACPCsfc.<br></div><div><br><div>On Wed, Sep 9, 2015 at 7:19 AM, giacomo tricarico <span dir="ltr">&lt;<a href="mailto:mino-98@hotmail.it" target="_blank">mino-98@hotmail.it</a>&gt;</span> wrote:<br><blockquote style="border-left:1px #ccc solid;padding-left:1ex;">


<div><div dir="ltr">Hi, my WRF plots 17 files, from 00h to 48h, with 3h steps; so rain is accumulated each 3 hours.<div><br></div><div>BUT how could I have 12h and 24h accumulated rain with grads? So that I have respectively 4 and 2 images :)</div><div><br></div><div>Thanks,</div><div>Giacomo</div>                                               </div></div>
<br>_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" rel="noreferrer" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><div><br><a href="http://www.instantweathermaps.com" target="_blank">http://www.instantweathermaps.com</a><br></div>
</div>
<br>_______________________________________________
gradsusr mailing list
<a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a></div></div></div>                                               </div></div>
<br>_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" rel="noreferrer" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><div><br><a href="http://www.instantweathermaps.com" target="_blank">http://www.instantweathermaps.com</a><br></div>
</div>
<br>_______________________________________________
gradsusr mailing list
<a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a></div></div></div></div></div>                                               </div></div>
<br>_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" rel="noreferrer" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><div class="ecxgmail_signature"><br><a href="http://www.instantweathermaps.com" target="_blank">http://www.instantweathermaps.com</a><br></div>
</div>
<br>_______________________________________________
gradsusr mailing list
gradsusr@gradsusr.org
http://gradsusr.org/mailman/listinfo/gradsusr</div></div>                                               </div></body>
</html>