[gradsusr] query
Amulya Chevuturi
amulya.chevuturi at gmail.com
Sat Mar 2 03:34:56 EST 2013
Dear Mr. Kumar
You should do it by making changes in the CTL file "dset" value to read all
the data files.
Such as if your files are named as such:
ABC_V01.2000
ABC_V01.2002
.
.
.
ABC_V01.2012
Then usually ur ctl file for data file of 2000 reads as such:
dset ^ABC_V01.2000
undef -99.9
options little_endian
title ABC_V01 daily precipitation with 0.25deg grids
xdef 360 linear 60.125 0.25
ydef 280 linear -14.875 0.25
zdef 1 levels 1
tdef 365 linear 01jan2000 1dy
*
vars 2
precip 1 00 daily precipitation analysis interpolated onto 0.25deg grids
[mm/day]
rstn 1 00 ratio of 0.05deg-grids with station [%]
endvars
Make the following changes in YOUR ctl file:
- dset ^ABC_V01.%y4
- tdef 4380 linear 01jan2000 1dy
That should work. Hopefully I understood your question correctly.
If you have trouble do send your CTL file and maybe someone might be able
to help.
Regards,
Amulya Chevuturi
On Sat, Mar 2, 2013 at 11:45 AM, Atul Kumar <itsatulkumar at gmail.com> wrote:
> how to read multiple binary file in one ctl file
> _______________________________________________
> 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/20130302/c7e8e22f/attachment-0003.html
More information about the gradsusr
mailing list