Change the line<div><div>&#39;R1=ave(R, t=1, t=3600)&#39;</div><div><br></div><div>to </div><div><br></div><div>&#39;R1=ave(R,time=13Z10APR2004,time=22Z10APR2004)&#39;</div><div><br></div><div>Jeff Duda</div><br><div class="gmail_quote">
On Thu, Dec 13, 2012 at 8:42 PM, wendi harjupa <span dir="ltr">&lt;<a href="mailto:wendiharjupa@gmail.com" target="_blank">wendiharjupa@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Dear Sir/Madam<div><br></div><div>Please I need your help. </div><div>I have one set data (10 days data)</div><div><br></div><div>How to make looping to make reflectivity average for only 10 hours on every day (13hrs-22hrs only)??</div>

<div><br></div><div>Below is my ctl and gs script</div><div><br></div><div><div>try.ctl</div><div><br></div><div>DSET /misc/home/wendi/data1/radar/kototabang/XDR/data/%y4%m2%d2/%d2%h2.dat</div><div>TITLE  RADAR</div><div>

OPTIONS  TEMPLATE LITTLE_ENDIAN</div><div>UNDEF  -1000</div><div>XDEF    321 LINEAR    99.688120996    0.004492369</div><div>YDEF    321 LINEAR    -1.083708891    0.004522556</div><div>ZDEF    39  LINEAR   1.0 0.5</div><div>

TDEF    3600 LINEAR 00:00Z10apr2004  4mn </div><div>VARS    2</div><div>ref 39  99  Reflectivity(dBZ)</div><div>vel 39  99  Doppler Velocity(m/s)</div><div>ENDVARS</div></div><div><br></div><div><br></div><div><a href="http://script.gs" target="_blank">script.gs</a></div>

<div><br></div><div><div>&#39;reinit&#39;</div><div>&#39;open try.ctl&#39;</div><div>&#39;set grads off&#39;</div><div>&#39;set mproj latlon&#39;</div><div>&#39;set mpdset hires&#39;</div><div>&#39;set gxout shaded&#39;</div>

<div>&#39;set lon 100  100.82&#39;</div><div>&#39;set lat -0.7  0&#39;</div><div>&#39;set z 3600&#39;</div><div>&#39;set parea 1 7.5 2.8 8.3&#39;</div><div>&#39;set clevs 0 5 10 15 20 25 30 35 40 45 50 55 60&#39;</div><div>

&#39;set ccols 9 14 4 11 5 13 3 10 7 12 8 2 6&#39;</div><div>&#39;set t 1 3600&#39;</div><div>&#39;R=pow(10, ref/10)&#39;</div><div><br></div><div>&#39;R1=ave(R, t=1, t=3600)&#39;</div><div>&#39;set t 1&#39;</div><div>&#39;R2=log10 (R1)&#39;</div>

<div>&#39;d 10*R2&#39;</div><div>&#39;run /misc/home/wendi/grads-2.0.1/cbarn 0.7 0.7 7.4 5.5&#39;</div><div>&#39;draw string  7.2 8.1 [dBz]&#39;</div><div>&#39;draw xlab longitude&#39;</div><div>&#39;draw ylab latitude&#39;</div>

<div>&#39;set mproj latlon&#39;</div><div>&#39;set mpdset hires&#39;</div><div>&#39;set grid off&#39;</div><div><br></div><div>&#39;close 1&#39;</div><div><br></div><div>&#39;printim try.gif white&#39;</div><div>&#39;disable print&#39;</div>

<div>   </div><div>&#39;close 1&#39; </div><div><br></div><div>Thank you very much for your help</div><div><br></div><div>Best regards,</div><div>wendi</div><span class="HOEnZb"><font color="#888888"><div><br></div></font></span></div>
<span class="HOEnZb"><font color="#888888"><div><br></div><div><br></div><div><br></div>
<div><br></div><div><br></div><div><br clear="all"><div><br></div>-- <br><span style="font-size:16px;font-family:arial,helvetica,sans-serif">-------------</span><br style="font-size:16px;font-family:arial,helvetica,sans-serif">

<span style="font-size:16px;font-family:arial,helvetica,sans-serif">Wendi Harjupa. ST                                            </span><br style="font-size:16px;font-family:arial,helvetica,sans-serif">
<span style="color:rgb(51,51,51);font-family:arial,sans-serif;font-size:16px;background-color:rgb(245,245,245)">Shimane</span><span style="color:rgb(51,51,51);font-family:arial,sans-serif;font-size:16px;background-color:rgb(245,245,245)"> </span><span style="color:rgb(51,51,51);font-family:arial,sans-serif;font-size:16px;background-color:rgb(245,245,245)">University</span><span style="color:rgb(51,51,51);font-family:arial,sans-serif;font-size:16px;background-color:rgb(245,245,245)"> </span><span style="color:rgb(51,51,51);font-family:arial,sans-serif;font-size:16px;background-color:rgb(245,245,245)">Graduate</span><span style="color:rgb(51,51,51);font-family:arial,sans-serif;font-size:16px;background-color:rgb(245,245,245)"> </span><span style="color:rgb(51,51,51);font-family:arial,sans-serif;font-size:16px;background-color:rgb(245,245,245)">School of</span><span style="color:rgb(51,51,51);font-family:arial,sans-serif;font-size:16px;background-color:rgb(245,245,245)"> </span><span style="color:rgb(51,51,51);font-family:arial,sans-serif;font-size:16px;background-color:rgb(245,245,245)">Engineering Sciences</span><br style="color:rgb(51,51,51);font-family:arial,sans-serif;font-size:16px;background-color:rgb(245,245,245)">

<span style="color:rgb(51,51,51);font-family:arial,sans-serif;font-size:16px;background-color:rgb(245,245,245)">Department of</span><span style="color:rgb(51,51,51);font-family:arial,sans-serif;font-size:16px;background-color:rgb(245,245,245)"> </span><span style="color:rgb(51,51,51);font-family:arial,sans-serif;font-size:16px;background-color:rgb(245,245,245)">Electronic Control</span><span style="color:rgb(51,51,51);font-family:arial,sans-serif;font-size:16px;background-color:rgb(245,245,245)"> </span><span style="color:rgb(51,51,51);font-family:arial,sans-serif;font-size:16px;background-color:rgb(245,245,245)">Systems</span><br style="color:rgb(51,51,51);font-family:arial,sans-serif;font-size:16px;background-color:rgb(245,245,245)">

<span style="color:rgb(51,51,51);font-family:arial,sans-serif;font-size:16px;background-color:rgb(245,245,245)">Remote</span><span style="color:rgb(51,51,51);font-family:arial,sans-serif;font-size:16px;background-color:rgb(245,245,245)"> </span><span style="color:rgb(51,51,51);font-family:arial,sans-serif;font-size:16px;background-color:rgb(245,245,245)">Sensing</span><span style="color:rgb(51,51,51);font-family:arial,sans-serif;font-size:16px;background-color:rgb(245,245,245)"> </span><span style="color:rgb(51,51,51);font-family:arial,sans-serif;font-size:16px;background-color:rgb(245,245,245)">Laboratory</span><div>

<span style="color:rgb(51,51,51);font-family:arial,sans-serif;font-size:16px;background-color:rgb(245,245,245)">s119447</span></div><div><font color="#333333" face="arial, sans-serif" size="3">Cellphone : +81-080-4268-6676</font></div>

<div><font color="#333333" face="arial, sans-serif" size="3">email : <a href="mailto:wendi@rslab.riko.shimane-u.ac.jp" target="_blank">wendi@rslab.riko.shimane-u.ac.jp</a></font></div><br>
</div>
</font></span><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" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Jeff Duda<br>Graduate research assistant<br>University of Oklahoma School of Meteorology<br>Center for Analysis and Prediction of Storms<br><br>
</div>