Use "options template" to read all data files with a single CTL file.<div><br></div><div>http://www.iges.org/grads/gadoc/templates.html</div><div><br></div><div>Hope, this helps.</div><div><br></div><div>SBR</div><br>From: Natansh Naidu &lt;natanshnaidu@yahoo.in&gt;<br>Sent: Wed, 06 Jan 2016 19:24:40 <br>To: GrADS Users Forum &lt;gradsusr@gradsusr.org&gt;<br>Subject: [gradsusr] multiple ctl files for multiple .grd files<br>  <div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, Sans-Serif;font-size:16px"><div dir="ltr" id="yui_3_16_0_1_1452086767253_3368">Dear GrADS users,</div><div dir="ltr" id="yui_3_16_0_1_1452086767253_3253">I am Natansh Naidu from India and am very new to GrADS. I have one years's daily average satellite data in .grd (i.e. GRIB) format. alongwith the .grd files I got only one .ctl file, in which DSET name needs to be changed every time I need to open a different .grd file. Is there any way to write a script file in GrADS which can automatically write 365 .ctl files for me by automatically changing the DSET ?? I need a separate ctl file for each .grd file because I intend to convert them all into netcdf format.</div><div dir="ltr" id="yui_3_16_0_1_1452086767253_3253">P.S.: the .grd files are named as: "something_yyyymmdd_something.grd"&nbsp;</div><div dir="ltr" id="yui_3_16_0_1_1452086767253_3253"><br></div><div dir="ltr" id="yui_3_16_0_1_1452086767253_3253">Please help me guys</div><div dir="ltr" id="yui_3_16_0_1_1452086767253_3253">Regards,</div><div dir="ltr" id="yui_3_16_0_1_1452086767253_3253">Natansh Naidu</div><div dir="ltr" id="yui_3_16_0_1_1452086767253_3253"><br></div></div>  
_______________________________________________<br>
gradsusr mailing list<br>
gradsusr@gradsusr.org<br>
http://gradsusr.org/mailman/listinfo/gradsusr<br>
<br><A HREF="https://sigads.rediff.com/RealMedia/ads/click_nx.ads/www.rediffmail.com/signatureline.htm@Middle?" target="_blank"><IMG SRC="https://sigads.rediff.com/RealMedia/ads/adstream_nx.ads/www.rediffmail.com/signatureline.htm@Middle"></A><table cellpadding="0" cellspacing="0"><tbody><tr><td><div style="font-family: Arial, Helvetica, sans-serif; font-size:14px">Get your own <span style="padding-bottom: 0px; background-color: #cc0000; padding-left: 3px; padding-RIGHT: 3px; font-family: Arial, Helvetica, sans-serif; color: #ffffff; font-size: 12px; padding-top: 0px"><b>FREE</b></span> website,  <span style="padding-bottom: 0px; background-color: #c00; padding-left: 3px; padding-RIGHT: 3px; font-family: Arial, Helvetica, sans-serif; color: #ffffff; font-size: 12px; padding-top: 0px"><b>FREE</b></span> domain &amp; <span style="padding-bottom: 0px; background-color: #c00; padding-left: 3px; padding-RIGHT: 3px; font-family: Arial, Helvetica, sans-serif; color: #ffffff; font-size: 12px; padding-top: 0px"><b>FREE</b></span> mobile app with Company email. &nbsp;</div></td><td><a href="http://track.rediff.com/click?url=___http://businessemail.rediff.com?sc_cid=sign-1-10-13___&cmp=host&lnk=sign-1-10-13&nsrv1=host" style="font-family: Arial, Helvetica, sans-serif; color: #fff; font-size: 14px; color:#0000cc" target="_blank"><b>Know More ></b></a><!-- <in-put type="button" cl-ass="button" on-click="parent.location=&#39;http://track.rediff.com/click?url=___http://businessemail.rediff.com/company-email-hosting-services?sc_cid=signature-23-9-13___&amp;cmp=signature-23-9-13&amp;lnk=mypagelogout&amp;nsrv1=host&#39;" value="Know more &gt;"> </input> --></td></tr></tbody></table>