<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Hi Jeff,<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Attached is my ctl file. <o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Sincerely,<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#E36C0A'>Sagar Prasad Parajuli<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#E36C0A'>Graduate Student/Research Assistant<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#E36C0A'>University of Texas at Austin<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#E36C0A'>Jackson School of Geosciences<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#E36C0A'>1 University Station C1100, JGB 5.322<br>Austin, TX 78712<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#E36C0A'>Contact: <a href="mailto:psagar@utexas.edu"><span style='color:#E36C0A'>psagar@utexas.edu</span></a><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#E36C0A'>Cell: 512 965 4093<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><img border=0 width=80 height=40 id="Picture_x0020_1" src="cid:image001.jpg@01CDF329.70DF6630" alt=texas-longhorn-logo><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> gradsusr-bounces@gradsusr.org [mailto:gradsusr-bounces@gradsusr.org] <b>On Behalf Of </b>Jeff Duda<br><b>Sent:</b> Tuesday, January 15, 2013 1:06 PM<br><b>To:</b> GrADS Users Forum<br><b>Subject:</b> Re: [gradsusr] setting time with intervals<o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal style='margin-bottom:12.0pt'>Sagar,<br>What does your control file look like? Can you send it to me please?<br><br>Jeff<o:p></o:p></p><div><p class=MsoNormal>On Tue, Jan 15, 2013 at 12:23 PM, Sagar P Parajuli <<a href="mailto:psagar@utexas.edu" target="_blank">psagar@utexas.edu</a>> wrote:<o:p></o:p></p><p class=MsoNormal>Hi Jeff<br>I need to plot and print those extracted data. I know how to print it but I want to know how to specify the time interval required. The code I am using is:<br>open ERA.INTERIM.SFC.ctl<br>set lat 31.4<br>set lon 61.3<br>set t 1 last (It will print values pertaining to all t but I want to specify an interval of 2).<br>set gxout print<br>set prnopts %g 1 1<br>d mag(no10usfc,no10vsfc)<br><br>How can I specify the required time interval for t?<br><br>thank you,<br><br>-Sagar<o:p></o:p></p><div><div><p class=MsoNormal style='margin-bottom:12.0pt'><br><br><o:p></o:p></p><div><p class=MsoNormal>On Tue, Jan 15, 2013 at 10:03 AM, Jeff Duda <<a href="mailto:jeffduda319@gmail.com" target="_blank">jeffduda319@gmail.com</a>> wrote:<o:p></o:p></p><p class=MsoNormal>What do you want to do with the data? Do you want to make plots in Grads or just extract the data? If it's the latter, then you don't really even need to use Grads.<span style='color:#888888'><br><br>Jeff</span><o:p></o:p></p><div><div><p class=MsoNormal style='margin-bottom:12.0pt'><o:p> </o:p></p><div><p class=MsoNormal>On Tue, Jan 15, 2013 at 8:47 AM, Sagar P Parajuli <<a href="mailto:psagar@utexas.edu" target="_blank">psagar@utexas.edu</a>> wrote:<o:p></o:p></p><p class=MsoNormal>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<o:p></o:p></p><div><div><p class=MsoNormal style='margin-bottom:12.0pt'><br><br><o:p></o:p></p><div><p class=MsoNormal>On Mon, Jan 14, 2013 at 11:13 PM, Jeff Duda <<a href="mailto:jeffduda319@gmail.com" target="_blank">jeffduda319@gmail.com</a>> wrote:<o:p></o:p></p><p class=MsoNormal>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.<o:p></o:p></p><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal style='margin-bottom:12.0pt'>Jeff Duda<o:p></o:p></p><div><div><div><p class=MsoNormal>On Mon, Jan 14, 2013 at 9:47 PM, Sagar P Parajuli <<a href="mailto:psagar@utexas.edu" target="_blank">psagar@utexas.edu</a>> wrote:<o:p></o:p></p></div></div><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in'><div><div><p class=MsoNormal style='margin-bottom:12.0pt'>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><o:p></o:p></p><p class=MsoNormal style='margin-bottom:12.0pt'><o:p> </o:p></p><p><b><span style='color:#E36C0A'>Sagar P. Parajuli</span></b><o:p></o:p></p><p><span style='color:#E36C0A'>Graduate Research Assistant</span><o:p></o:p></p><p><span style='color:#E36C0A'>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><o:p></o:p></p><p class=MsoNormal><span style='color:#E36C0A'>Contact: <a href="tel:%2B1%20512%20965%204093" target="_blank">+1 512 965 4093</a></span> <o:p></o:p></p></div></div><p class=MsoNormal style='margin-bottom:12.0pt'>_______________________________________________<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><o:p></o:p></p></blockquote></div><p class=MsoNormal><span style='color:#888888'><br><br clear=all><o:p></o:p></span></p><div><p class=MsoNormal><span style='color:#888888'><o:p> </o:p></span></p></div><p class=MsoNormal><span style='color:#888888'>-- <br>Jeff Duda<br>Graduate research assistant<br>University of Oklahoma School of Meteorology<br>Center for Analysis and Prediction of Storms</span><o:p></o:p></p></div><p class=MsoNormal style='margin-bottom:12.0pt'><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><o:p></o:p></p></div><p class=MsoNormal><br><br clear=all><br>-- <o:p></o:p></p></div></div><p class=MsoNormal>Best regards,<o:p></o:p></p><div><div><p class=MsoNormal style='margin-bottom:12.0pt'><o:p> </o:p></p><p><b><span style='color:#E36C0A'>Sagar P. Parajuli</span></b><o:p></o:p></p><p><span style='color:#E36C0A'>Graduate Research Assistant</span><o:p></o:p></p><p><span style='color:#E36C0A'>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><o:p></o:p></p><p class=MsoNormal><span style='color:#E36C0A'>Contact: <a href="tel:%2B1%20512%20965%204093" target="_blank">+1 512 965 4093</a></span> <o:p></o:p></p></div></div><p class=MsoNormal style='margin-bottom:12.0pt'><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><o:p></o:p></p></div><p class=MsoNormal><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<o:p></o:p></p></div></div><p class=MsoNormal style='margin-bottom:12.0pt'><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><o:p></o:p></p></div><p class=MsoNormal><br><br clear=all><br>-- <o:p></o:p></p><p class=MsoNormal style='margin-bottom:12.0pt'>Best regards,<o:p></o:p></p><p><b><span style='color:#E36C0A'>Sagar P. Parajuli</span></b><o:p></o:p></p><p><span style='color:#E36C0A'>Graduate Research Assistant</span><o:p></o:p></p><p><span style='color:#E36C0A'>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><o:p></o:p></p><p class=MsoNormal><span style='color:#E36C0A'>Contact: +1 512 965 4093</span> <o:p></o:p></p></div></div><p class=MsoNormal style='margin-bottom:12.0pt'><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><o:p></o:p></p></div><p class=MsoNormal><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<o:p></o:p></p></div></body></html>