Hi Jeff,<br>I think I didn't clarify my question. I am writing control file for extracting some wind speed data corresponding to particular time of a day. What I could do in grads is:<br> set t 1 last <br>But I want to do this skipping certain values eg. I want values corresponding to t = 1, 3, 5, 7, 9, etc (i.e. with certain interval). So, I need to skip some data and only extract those datas.<br>
How can I do this?<br><br><br>Thank you so much again.<br><br><br><br>Sagar<br><br><br><div class="gmail_quote">On Mon, Jan 14, 2013 at 11:13 PM, 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:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Time interval is specified in the control file used to open the data file. However, if you used xdfopen or sdfopen, there may be a different way to determine the time interval. In those cases, you should be able to find it by dumping the contents. If your data are in netCDF format, for example, you could use ncdump -h (data file) to find out.<div>
<br></div><div>Jeff Duda<br><br><div class="gmail_quote"><div><div class="h5">On Mon, Jan 14, 2013 at 9:47 PM, Sagar P Parajuli <span dir="ltr"><<a href="mailto:psagar@utexas.edu" target="_blank">psagar@utexas.edu</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div class="h5">Hi all,<br>I need to extract wind speed data at a particular time (12:00 pm only) everyday from the 6 hourly data of one year. So I need to set time as,<br>
t = 1, 1460, 2 (start, end, interval). How is the time interval specified in grads? <br>
<br>Thank you very much for your help. <br><br><br>
<p><b><span style="color:rgb(227,108,10)"></span></b></p><br><br><p><b><span style="color:rgb(227,108,10)">
</span></b></p>
<p><b><span style="color:rgb(227,108,10)">Sagar P. Parajuli</span></b></p><p><b><span style="color:rgb(227,108,10)"></span></b><span style="color:rgb(227,108,10)">Graduate
Research Assistant</span></p><p><span style="color:rgb(227,108,10)">The University of Texas at
Austin<br>
Jackson School of Geosciences<br>e-mail: <a href="mailto:psagar@utexas.edu" target="_blank">psagar@utexas.edu</a></span></p><span style="color:rgb(227,108,10)">Contact: <a href="tel:%2B1%20512%20965%204093" value="+15129654093" target="_blank">+1 512 965 4093</a></span>
<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 class="HOEnZb"><font color="#888888"><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>
</font></span></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"><br>-- <br>
<p><b><span style="color:rgb(227,108,10)"></span></b></p>Best regards,<br><br><p><b><span style="color:rgb(227,108,10)">
</span></b></p>
<p><b><span style="color:rgb(227,108,10)">Sagar P. Parajuli</span></b></p><p><b><span style="color:rgb(227,108,10)"></span></b><span style="color:rgb(227,108,10)">Graduate
Research Assistant</span></p><p><span style="color:rgb(227,108,10)">The University of Texas at
Austin<br>
Jackson School of Geosciences<br>e-mail: <a href="mailto:psagar@utexas.edu" target="_blank">psagar@utexas.edu</a></span></p><span style="color:rgb(227,108,10)">Contact: +1 512 965 4093</span>