<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Dipak:<br>
<br>
It seems that each of your individual files have several
time-steps. If this is the case you won't be able to correctly
concatenate them together. GrADS will want all variables at t=1,
then all variables at t=2, etc., but what you are doing is variable
one at all time, then variable two at all times, and so.<br>
<br>
Jim<br>
<br>
On 11/26/2011 1:37 AM, dipak sahu wrote:
<blockquote
cite="mid:CAE1_8LbYSE4p+xRhnO82bfEqTWMGUzArEJhBkMLqg32ofXW8Rw@mail.gmail.com"
type="cite">
<div dir="ltr">Dear grads user<br>
I have some doubt in cat command in grads. I have two
sets of ctl and dat 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 > 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 moz-do-not-send="true"
href="mailto:dipak_math@yahoo.com">dipak_math@yahoo.com</a><br>
**********************************************<br>
</div>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
gradsusr mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>
<a class="moz-txt-link-freetext" href="http://gradsusr.org/mailman/listinfo/gradsusr">http://gradsusr.org/mailman/listinfo/gradsusr</a>
</pre>
</blockquote>
</body>
</html>