<div dir="ltr">If your data files are related in some way (i.e., same domain and same variables, but valid at a different time, as in a model forecast), then just run <a href="http://g2ctl.pl">g2ctl.pl</a> on one of the files and use templates over time to access the other files.  See this page on using templates (<a href="http://www.iges.org/grads/gadoc/templates.html">http://www.iges.org/grads/gadoc/templates.html</a>).  Then run gribmap on the single control file and it will create an index file appropriate for viewing data from all files just by changing the time index.<div>
<br></div><div>Jeff Duda</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jun 6, 2013 at 12:52 AM, T. haghroosta <span dir="ltr">&lt;<a href="mailto:haghroosta@hotmail.com" target="_blank">haghroosta@hotmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<div><div dir="ltr">

<br><div>
<div dir="ltr">Dear All,<br> <br>I have some grib files in windows with similar names like: <br>pgbh06.gdas.2007110612.grb2  , pgbh06.gdas.2007110618.grb2, .....<br><br>How can I create .ctl file with the command &quot; <a href="http://g2ctl.pl" target="_blank">g2ctl.pl</a>&quot;, at the same time? I mean how I can do this without repeating the processes for all seprate files?<br>
 <br>Furthermore, how can I create .idx file from those .ctl file with command &quot;!gribmap -iv&quot; without repeating the processes?<br> <br>Regards,<span class="HOEnZb"><font color="#888888"><br> <br>T.<br>                                               </font></span></div>
</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>
</div>