Dear Mr. Kumar<div><br></div><div>You should do it by making changes in the CTL file "dset" value to read all the data files. </div><div><br></div><div>Such as if your files are named as such:</div><div>ABC_V01.2000</div>
<div>ABC_V01.2002</div><div>.</div><div>.</div><div>.</div><div>ABC_V01.2012</div><div><br></div><div>Then usually ur ctl file for data file of 2000 reads as such:</div><div><br></div><div><div>dset ^ABC_V01.2000</div>
<div>undef -99.9</div><div>options little_endian</div><div>title ABC_V01 daily precipitation with 0.25deg grids</div><div>xdef 360 linear 60.125 0.25</div><div>ydef 280 linear -14.875 0.25</div><div>zdef 1 levels 1</div>
<div>tdef 365 linear 01jan2000 1dy</div><div>*</div><div>vars 2</div><div>precip 1 00 daily precipitation analysis interpolated onto 0.25deg grids [mm/day]</div><div>rstn 1 00 ratio of 0.05deg-grids with station [%]</div>
<div>endvars</div><div><br></div><div>Make the following changes in YOUR ctl file:</div><div><ul><li>dset ^ABC_V01.%y4</li><li>tdef 4380 linear 01jan2000 1dy</li></ul></div><div>That should work. Hopefully I understood your question correctly.</div>
<div> If you have trouble do send your CTL file and maybe someone might be able to help.</div><div><br></div><div>Regards,</div><div>Amulya Chevuturi</div><br><div class="gmail_quote">On Sat, Mar 2, 2013 at 11:45 AM, Atul Kumar <span dir="ltr"><<a href="mailto:itsatulkumar@gmail.com" target="_blank">itsatulkumar@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">how to read multiple binary file in one ctl file
<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></div>