[gradsusr] doubt in cat command in grads
lbyerle at yahoo.com
lbyerle at yahoo.com
Sat Nov 26 08:48:10 EST 2011
Dipak,
Do you know the format of the binary files that you are CAT'ing, direct access or sequential?
Lee
On Nov 26, 2011, at 6:37 AM, dipak sahu <dipakmath at gmail.com> wrote:
> Dear grads user
> 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
> $ cat RAINC.dat RAINNC.dat > RAIN.dat
> and also make one .ctl file RAIN.ctl containing both the parameters RAINC (1st variable)and RAINNC (2nd variable)
>
> for verification I tried two cases in grads
> case-1
> open RAIN.ctl
> set t 9
> d rainc+rainnc (it gives value 0 90)
>
> case-2
> open RAINC.ctl
> open RAINNC.ctl
> set t 9
> d rainc.1+rainnc.2 (it gives value 0 35)
>
> 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?
>
> welcome for your suggestion
> dipak
>
> --
> ********************************************
> Dipak kumar Sahu,
> Research Scholar,
> Centre for Atmospheric Sciences.,
> Indian Institute of Technology,Delhi
> email:- dipak_math at yahoo.com
> **********************************************
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20111126/7a2c1f9f/attachment-0003.html
More information about the gradsusr
mailing list