[gradsusr] Average in two different time and locations

Muhammad Yunus Ahmad Mazuki ukm.yunus at gmail.com
Tue Feb 5 02:19:07 EST 2013


Actually you can output the point value on the display window so that you
print the image, but you need some workaround in your script.

On Tue, Feb 5, 2013 at 3:11 PM, Muhammad Yunus Ahmad Mazuki <
ukm.yunus at gmail.com> wrote:

> I believe there's missing information in your request. For example, is T1
> is point value in all 4 dimension (x,y,z,t), or is it a 1D value (any one
> dimension of x,y,z,t varies e.g. from 1 to 99)? If its point value, it wont
> show up in the display window, it will only show up i terminal, which wont
> show up if runned by script. You have to use display T1. If what you wanted
> was data at certain position of x,y,z or longitude, latitude and altitude,
> and t=1 until t=99, you have to set t as well
>
> 'set t 1 99'
> 'set x 10'
> 'set y 10'
> 'set z 10'
> 'define T2=T'
>
> Then you will get a linear plot of value versus time.
>
> Yunus
>
>
>
> On Tue, Feb 5, 2013 at 1:29 PM, T. haghroosta <haghroosta at hotmail.com>wrote:
>
>>  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 cour! se 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
>> &gt! ; MS Atmospheric Science
>> > Ateneo De Manila University
>> > Q uezon 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/grads!
>> usr/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
>> > ****************************************
>>
>> _______________________________________________
>> 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/20130205/0c06c546/attachment-0003.html 


More information about the gradsusr mailing list