Plot multiple files with one control file
Arlindo da Silva
dasilva at ALUM.MIT.EDU
Tue Oct 9 17:12:31 EDT 2007
On 10/8/07, ashish no routray <ashishroutray at rediffmail.com> wrote:
>
> Dear Users
> I need your kind help to plot the multile binary files in using one .ctl
> file.
> I downloaded TRMM 03 hourly data for a period and also .ctl file from TRMM
> site
>
It is always a good idea to give the URL so that someone could try to
download the same files and reproduce the problem... Also, provide the
output of "q config" and "!uname -a" so that we can know which version you
are using...
. we are trying to plot 24hrs accumulated rainfall from all 9
files.Filesare look like:
>
> 3B42.020601.00z.6.precipitation.bin
> 3B42.020601.03z.6.precipitation.bin
> ......
> ......
> 3B42.020602.00z.6.precipitation.bin
>
> Here I am giving the .ctl file as follow:
>
I am assuming that the individual ctl provided with data works fine.
***************************************************
> dset ./3B42.%y2%m2%d2.%h2z.6.precipitation.bin
> options template byteswapped
>
The option "byteswapped" is deprecated. Use either "big_endian" or
"little_endian", depending on the endianess of the machine TRMM used to
write the data.
title TRMM 3B42 V6 three hourly TRMM rainfall
> undef -9999.0
> xdef 1440 linear -179.875 0.25000000
> ydef 400 linear -49.8750000 0.25000000
> zdef 1 levels 1000
>
So far, so good...
tdef 9 linear 00:00Z01jan1998 3hr
>
Why "9"? You need the enter the total number of time steps from 1998 to
2007.
> * end_time 21:00Z31aug2007 (this_is_comment_line)
> vars 1
> r 0 99 Hourly Rain Rate (mm/hr)
> endvars
>
> **************************************************
>
> We are running the .ctl in IBM(P5) machine.
> It showing Gridded are undefined. I hope it could not open the files. when
> I plot individual files alone it is ploting properly.
>
Can you plot t=1 through t=9 with the template version of the ctl?
--
Arlindo da Silva
dasilva at alum.mit.edu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20071009/10055677/attachment.html
More information about the gradsusr
mailing list