[RegCNET] max and min variables in postproc

XUNQIANG BI bixq at ictp.it
Tue Feb 3 14:19:41 CET 2009


Hi, Mubashar:

Great,

On Tue, 3 Feb 2009, mubashar dogar wrote:
>
> Dear Dr Bi,
>
> I have run your code successfully for daily average of max and min variables. I
> want to know that are the variables names in the generated files are the same as
> listed in model output  files (ATM.ctl) like U, V or I have to replace them with other names

For the GrADS descriptor files, you just need copy the file 
ATM.1990010100.ctl to ATM.19900101.ctl and change the lines

dset ^ATM.19900101

and

tdef 31 linear 01jan1990 1dy

> 2ndly there are 12 files for each year and I have tested this code for a single
> year. I have the intension to run it for 30 years. It will create 360 files which are not easy to be handled in Grads. Is there any solution
> regarding this?

Do you use the line

options template

in GrADS descriptor file, then you just need one GrADS descriptor file.
>
> I have used Im = value-2 and Jn=value-2 in your code but it does not work on
> these values and when I replaced Im=value-3 and Jn=value-2, it works successfully.
> I don’t know why it happened so? Can you explain it?

I think something wrong in your above step. It should be Im = value-2 and 
Jn=value-2. I don't know where it is. But I am sure using Im=value-3 and 
Jn=value-2 is definitely not correct.

Regards,

> Note: I presumed Im for Y and Jn for X dimention of my domain.

Im is the number of grids from west to east
jn is the number of grids from south to north.
>
>
> Regards,
>
>
>
> M. Mubashar Ahmad Dogar
> Scientific Officer,
> Global Change Impact Studies Centre (GCISC)
>    NCP complex, Quaid-e-Azam University Campus
> Shahdra road, Islamabad, Pakistan.   Tel:  +92519230226
> Mob:+923315144169
> email: mubashardogar at yahoo.com
>           mubashar.ahmad at gcisc.org.pk


       Get your new Email address!
Grab the Email name you've always wanted before someone else does!
http://mail.promotions.yahoo.com/newdomains/aa/

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   Dr. Xunqiang Bi         email:bixq at ictp.it
   Earth System Physics Group
   The Abdus Salam ICTP
   Strada Costiera, 11
   P.O. BOX 586, 34100 Trieste, ITALY
   Tel: +39-040-2240302  Fax: +39-040-2240449
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


More information about the RegCNET mailing list