[gradsusr] Average in two different time and locations

T. haghroosta haghroosta at hotmail.com
Tue Feb 5 00:29:00 EST 2013


Dear Raymond, Thank you for your reply. It worked because I didn't get any errors, but in the map window, I didn't also see anything. I would like to see the value of average in grads command page. I used command of say aveT, but it wrote aveT, not the amount of aveT. Can you lead me what I shall do? Regards, T.
 

> Hi T.,
> 
> One thing you could do is to assign it to a variable
> 
> set t 1
> set lat 35
> set lon 90
> define T1= T
> set t 2
> set lat 20
> set lon 72
> define T2=T
> 
> define aveT=(T1+T2)/2
> d aveT
> 
> I hope it helps.
> 
> Raymond
> 
> On Mon, Feb 4, 2013 at 4:20 PM, T. haghroosta <haghroosta at hotmail.com>wrote:
> 
> >  Dear All,
> >
> > I would like to write a script for these aims, could you please lead me.
> > Of course I have written some, but I couldn't get a good result.
> >
> > open a file,
> >
> > set time in 1
> >
> > Read a parameter like T in a special longitude a latitude for example
> > lon=90, lat=35. (T1)
> >
> > Then set time to next step, I mean t=t+1
> >
> > Read parameter T in another special location, like lon= 75, lat= 20. (T2)
> >
> > Then I would like to calculate average of T1 and T2. At the end I want to
> > show the value of the average.
> >
> > Could you please help me?
> >
> > Regards,
> >
> > T.
> >
> > _______________________________________________
> > gradsusr mailing list
> > gradsusr at gradsusr.org
> > http://gradsusr.org/mailman/listinfo/gradsusr
> >
> >
> 
> 
> -- 
> Raymond C. Ordinario
> MS Atmospheric Science
> Ateneo De Manila University
> Quezon City, Philippines
> 
> Weather Specialist I
> Technique Application and Meteorological Satellite Section
> Weather DIvision
> Philippine Atmospheric, Geophysical and Astronomical Services Admistration
> Quezon City, Philippines
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: http://gradsusr.org/pipermail/gradsusr/attachments/20130205/04a64bc2/attachment-0001.html 
> 
> ------------------------------
> 
> Message: 2
> Date: Tue, 5 Feb 2013 08:27:18 +0330
> From: mehdi kebriaee <mehdy.kebriaee at gmail.com>
> Subject: Re: [gradsusr] can not show my kml file in google map.!!
> 	(mehdi	kebriaee)
> To: GrADS Users Forum <gradsusr at gradsusr.org>
> Message-ID:
> 	<CAKd_bi9LWaGTWkpVqfgp3AXuffPJPXcdfW9iarzsKGaWd_THSA at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
> 
> 1-Hi i cant show my kml file in google map
> but i can see it in google earth!!!!
> do i edit my kml file to show in google map?
> 2- Can i show animation in google map ?how?
> plzz help
> TNQ for All user grads
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: http://gradsusr.org/pipermail/gradsusr/attachments/20130205/fc2d1e27/attachment.html 
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: ll.kml
> Type: application/vnd.google-earth.kml+xml
> Size: 463 bytes
> Desc: not available
> Url : http://gradsusr.org/pipermail/gradsusr/attachments/20130205/fc2d1e27/attachment.bin 
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: hshs.png
> Type: image/png
> Size: 22352 bytes
> Desc: not available
> Url : http://gradsusr.org/pipermail/gradsusr/attachments/20130205/fc2d1e27/attachment.png 
> 
> ------------------------------
> 
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
> 
> 
> End of gradsusr Digest, Vol 36, Issue 19
> ****************************************
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20130205/210087ae/attachment-0003.html 


More information about the gradsusr mailing list