<div dir="ltr"><div><div><div><div><div><div><div><div>Dear Sir/Madam<br><br></div>I need help in my program...<br></div>I have one set data of radar.  I made ctl file as follow :<br><br>DSET /media/HD-PVRU2/%y4%m2%d2/%d2%h2.dat<br>
TITLE  RADAR<br>OPTIONS  TEMPLATE LITTLE_ENDIAN<br>UNDEF  -1000<br>XDEF    321 LINEAR    99.688120996    0.004492369<br>YDEF    321 LINEAR    -1.083708891    0.004522556<br>ZDEF    39  LINEAR   1.0 0.5<br>TDEF    15 LINEAR 13:00Z10apr2004  4mn <br>
VARS    2<br>ref 39  99  Reflectivity(dBZ)<br>vel 39  99  Doppler Velocity(m/s)<br>ENDVARS<br><br></div>As you see, one folder data contain 24 files of data (24 hours)<br><br></div>I made already script program to plot one hour data as follow :<br>
<br>### Reflectivity overlayed topography ###
<br> <br>## Open and Initiating data ##
<br>&#39;reinit&#39;
<br>&#39;open karajo.ctl&#39;
<br>&#39;set grads off&#39;
<br>&#39;set mproj latlon&#39;
<br>&#39;set mpdset hires&#39;
<br>&#39;set gxout shaded&#39;
<br>&#39;set lon 99.65  101.2&#39;
<br>&#39;set lat -1.075  0.35&#39;
<br>&#39;set z 5&#39;
<br>&#39;set parea 1 7.5 2.8 8.3&#39;
<br>&#39;set clevs 0 5 10 15 20 25 30 35 40 45 50 55 60&#39;
<br>&#39;set ccols 0 9 14 4 11 5 13 3 10 7 12 8 2 6&#39;
<br> <br>## average 60 minute ##
<br>&#39;set t 1 15&#39;
<br>&#39;R=pow(10, ref/10)&#39;
<br>&#39;R1=ave(R, t=1, t=15)&#39;
<br>&#39;set t 1&#39;
<br>&#39;R2=log10 (R1)&#39;
<br> <br>## Plotting ##
<br>&#39;d 10*R2&#39;<br>&#39;run /usr/local/lib/grads/cbarn 0.7 0.7 7.4 5.5&#39;
<br>&#39;draw string  7.2 8.1 [dBz]&#39;
<br>&#39;draw title CAPPI of Reflectivity at 3 km&#39;
<br>&#39;draw xlab longitude&#39;
<br>&#39;draw ylab latitude&#39;
<br>&#39;set mproj latlon&#39;
<br>&#39;set mpdset hires&#39;
<br>&#39;set grid off&#39;
<br> <br>&#39;close 1&#39; 
<br> <br><br> &#39;printim 1013.jpg white&#39;
<br>&#39;disable print&#39;
<br>   
<br>&#39;close 1&#39; 
<br> <br><br></div><b>My question is, how to plot 24 hours data directly??<br></b></div><b>I mean. when I execute program, I can get 24 figures in one time...</b><br><br></div>Thank you very much for your help...<br><br>
</div>Best regards,<br>wendi <br><div><div><div><div><div><div><div><br><div><div><br clear="all"><div><div><div><br>-- <br><span style="font-family:arial,helvetica,sans-serif;font-size:16px;background-color:rgb(255,255,255)">-------------</span><br style="font-family:arial,helvetica,sans-serif;font-size:16px;background-color:rgb(255,255,255)">
<span style="font-family:arial,helvetica,sans-serif;font-size:16px;background-color:rgb(255,255,255)">Wendi Harjupa. ST                                            </span><br style="font-family:arial,helvetica,sans-serif;font-size:16px;background-color:rgb(255,255,255)">
<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>
</div></div></div></div></div></div></div></div></div></div></div></div></div>