[RegCNET] Fw: Re: Help on GRADS script
Dr. Md. Nazrul Islam
mnislam at phy.buet.ac.bd
Tue Jun 12 12:10:53 CEST 2007
Dear Bekele,
Do you want to display precepitation field or extract the values? Your GrADS
script seems different to me from the usual. To display you have to use
display comman say 'd ave(tpr, t=1, t=248)'
If you want to extract values you need fwrite command. One more thing is
that ave is a GrADS function, so you may have to use other word or character
for define command.
Nazrul
Dr. Md. Nazrul Islam
Associate Professor
Department of Physics
Bangladesh University of Engineering and Technology
Dhaka-1000, Bangladesh
http://www.buet.ac.bd/phy/nazrul.htm
Phone: 880 2 966 5650 (PABX)
FAX: 880 2 861 3026, 880 2 861 3046
---------- Original Message -----------
From: Endalkachew Bekele <endbek2002 at yahoo.com>
To: regcnet at lists.ictp.it
Sent: Mon, 11 Jun 2007 05:07:23 -0700 (PDT)
Subject: [RegCNET] Help on GRADS script
> Dear Sir/Madam,
> I did write the attached script to compute average
> total precipitation values of less than 10mm/day for
> the specified period and domain. When I run the
> script, it always returns 0, which is practically a
> wrong result. Kindly help me on how to resolve the
> problem.
> Regards,
> Endalkachew
>
> *****************************************************************
> Endalkachew Bekele
> Team Leader of Climatology and
> RANET Ethiopia Coordinator (http://ethiopia.ranetproject.net/ )
> National Meteorological Agency
> Phone no. 251-11-6615779 (Office),
> 251-11-4193504 (home)
> Cell phone: 251 91 1144368
> Fax no. 251-11-5517066 (office)
> P. O. Box 1090 (Office), 5285 (home)
> Addis Ababa,
> Ethiopia
>
>
_____________________________________________________________________________
More information about the RegCNET
mailing list