<html><head></head><body bgcolor="#FFFFFF"><div>Dipak,</div><div>Do you know the<span class="Apple-style-span" style="-webkit-tap-highlight-color: rgba(26, 26, 26, 0.296875); -webkit-composition-fill-color: rgba(175, 192, 227, 0.230469); -webkit-composition-frame-color: rgba(77, 128, 180, 0.230469); ">&nbsp;format of the binary files that you are CAT'ing, direct access or sequential?</span></div><div><span class="Apple-style-span" style="-webkit-tap-highlight-color: rgba(26, 26, 26, 0.292969); -webkit-composition-fill-color: rgba(175, 192, 227, 0.230469); -webkit-composition-frame-color: rgba(77, 128, 180, 0.230469);"><br></span></div><div><br>Lee</div><div><br>On Nov 26, 2011, at 6:37 AM, dipak sahu &lt;<a href="mailto:dipakmath@gmail.com">dipakmath@gmail.com</a>&gt; wrote:<br><br></div><div><span></span></div><blockquote type="cite"><div><div dir="ltr">Dear grads user<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; I have some doubt in cat command in grads. I have two sets of ctl and dat&nbsp; files in grads one is RAINC.ctl, RAINC.dat and another one is RAINNC.ctl, RAINNC.dat. And I tried to make these two .ctl file to one .ctl file. so I tried the following command to creat one .dat file<br>
$ cat RAINC.dat RAINNC.dat &gt; RAIN.dat<br>and also make one .ctl file RAIN.ctl containing both the parameters RAINC (1st variable)and RAINNC (2nd variable)<br><br>for verification I tried two cases in grads<br><b>case-1</b><br>
open RAIN.ctl<br>set t 9<br>d rainc+rainnc (it gives value 0 90)<br><br><b>case-2</b><br>open RAINC.ctl<br>open RAINNC.ctl<br>set t 9<br>d rainc.1+rainnc.2 (it gives value 0 35)<br><br>So, is there anything wrong with the cat command in grads. If so what is the alternate procedure to combine two .ctl and .dat files to make one file?<br>
<br>welcome for your suggestion<br>dipak<br clear="all"><br>-- <br>********************************************<br>Dipak kumar Sahu,<br>Research Scholar,<br>Centre for Atmospheric Sciences.,<br>Indian Institute of Technology,Delhi<br>
email:- <a href="mailto:dipak_math@yahoo.com">dipak_math@yahoo.com</a><br>**********************************************<br>
</div>
</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>gradsusr mailing list</span><br><span><a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a></span><br><span><a href="http://gradsusr.org/mailman/listinfo/gradsusr">http://gradsusr.org/mailman/listinfo/gradsusr</a></span><br></div></blockquote></body></html>