Yes. 'set t #' would work for any value of #.<div><br></div><div>Jeff<br><div><br><div class="gmail_quote">On Wed, Aug 8, 2012 at 8:28 PM, wendi harjupa <span dir="ltr"><<a href="mailto:wendiharjupa@gmail.com" target="_blank">wendiharjupa@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Dear Mr Jeff<div><br></div><div>Thank you very much for the checking my script,</div><div>Yes, for the first exercise I want to plot it as a horizontal cross section,</div>
<div>but I am confuse to set the time,</div><div><br>
</div><div>If I am not wrong to interpreting your explanation,</div><div>so, I have to make 'set t 1' </div><div>and the script should be like this?</div><div><br></div><div><div class="im"><div>'set lon 100 100.8'</div>
<div>'set lat -0.45'</div></div><div><div>'set t 1'</div><div>'d ave(ref, t=1, t=15)'</div></div></div><div><br></div><div>Thank you</div><div><br></div><div>Best regards,</div><div>wendi</div><div class="HOEnZb">
<div class="h5"><div><br></div>
<div> </div><div><br><div class="gmail_quote">On Thu, Aug 9, 2012 at 2:05 AM, Jeff Duda <span dir="ltr"><<a href="mailto:jeffduda319@gmail.com" target="_blank">jeffduda319@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Be careful how you set your dimension environment. For the first exercise, it appears your dimension environment is varying in time, fixed in the y-direction, but varying slightly in the x-direction. The resulting plot you'll get is then a horizontal cross section of the 1-hr averaged reflectivity at each point. It will display the same variables 15 times since your time dimension is varying. You could simplify that and still get the same response by keeping your time dimension fixed (the specific value for t doesn't matter since you're specifying the time indices of the average).<br>
<br>For the second exercise, you need to set your x-dimension to fixed in order to get a time series. Otherwise you'll again get a horizontal cross section as in the first exercise. Otherwise, the code is fine.<br>
<br>
Jeff Duda<br><br><div class="gmail_quote"><div><div>On Wed, Aug 8, 2012 at 12:15 AM, wendi harjupa <span dir="ltr"><<a href="mailto:wendiharjupa@gmail.com" target="_blank">wendiharjupa@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>Dear Sir/Madam<div><br></div><div>I need your help</div><div><br></div><div>I have ctl file as below :</div>
<div><br></div>
<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 15 LINEAR 14: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><br></div><div>If I want to make average for one hour, is it ok if my gs file as below?</div>
<div><br></div><div>'set lon 100 100.8'</div><div>'set lat -0.45'</div><div><div>'set t 1 15'</div><div>'set t 1'</div><div>'d ave(ref, t=1, t=15)'</div></div><div><br></div><div>Then I want to display time series of data (not averaging), is it ok if my gs file as below?</div>
<div><br></div><div><div>'set lon 100 100.8'</div><div>'set lat -0.45'</div></div><div><div>'set t 1 15'</div><div>'set t 15'</div><div>'d ref'</div></div><div><br></div><div>Please give me any comment, I am very confuse about it,</div>
<div><br></div><div>Thank you </div><div><br></div><div>best regards,</div><div>wendi</div><span><font color="#888888"><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div>
<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 : <a href="tel:%2B81-080-4268-6676" value="+818042686676" target="_blank">+81-080-4268-6676</a></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>
</font></span></div>
<br></div></div>_______________________________________________<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" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br></blockquote></div><span><font color="#888888"><br><br clear="all"><br>-- <br>Jeff Duda<br>Graduate research assistant<br>University of Oklahoma School of Meteorology<br>Center for Analysis and Prediction of Storms<br>
<br>
</font></span><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" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br></blockquote></div><br><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>
</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" 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></div>