<HTML>
<HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content="OPENWEBMAIL" name=GENERATOR>
</HEAD>
<BODY bgColor=#ffffff>
Hi,
<br />
<br />one suggestion is to add something like:
<br />AT=subwrd(result,4)
<br />after:
<br />'d aveT'
<br />in your script below. This will capture the aveT information in a new script variable named AT.
<br />Now you can handle AT. For example, you can display AT in the terminal screen adding:
<br />say AT
<br />
<br />in your script.
<br />
<br />Or you can plot AT (a single value) on the map using, for example:
<br />
<br />'draw string X Y 'AT
<br />
<br />NOTE: every quote and blank space in the lines above or below are essential. Let me put the entire script here:
<br />
<br /><font size="2">'set t 1'
<br />'set lat 35'
<br />'set lon 90'
<br />'define T1= T'
<br />'set t 2'
<br />'set
lat 20'
<br />'set lon 72'
<br />'define T2=T'
<br />'define
aveT=(T1+T2)*0.5'
<br />'d aveT'</font>
<br />AT=subwrd(result,4)
<br />say AT
<br />
<br />Again, you can "draw" the most recent value of AT on the map, if you want, converting world coordinates (lon,lat) to (x,y) coordinates. (x,y) are the distance of a (x,y) point from the (0,0), that is, the southwestern point of the display window (in inchs of the GrADS page). For example, assuming your data has 200 x 200 points, you can add these lines in your script:
<br />
<br />'set x 1 200'
<br />'set y 1 200'
<br />'d T'
<br />'q w2xy 55 81'
<br />xpoint=subwrd(result,3)
<br />ypoint=subwrd(result,6)
<br />'draw string 'xpoint' 'ypoint' 'AT
<br />
<br />This will plot the AT value at the the point (xpoint,ypoint) over a T field map, where 55 and 81 are
the averages of the longitude and latitude, respectively. Of course,
you can chose whatever point you want in the 2D map.
<br />
<br />Greetings,
<br />Ricardo
<br />
<br /><font size="2"><b>On Tue, 5 Feb 2013 22:44:04 +0800, Muhammad Yunus Ahmad Mazuki
wrote</b>
<br />> The value is calculated properly without doubt. However and
'd T1' in the script won't show in your terminal as far as I know.
You have to type 'd T1' in the terminal after the script if you want to
see the result. One of the thing you can do is output the value into a text
file that you can open.
<br />>
<br />> On Tue, Feb 5, 2013 at 8:19 PM, T.
haghroosta <span dir="ltr"><<a target="_blank" href="mailto:haghroosta@hotmail.com">haghroosta@hotmail.com</a>></span> wrote:
<br />> <blockquote style="margin: 0px 0px 0px 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;" class="gmail_quote">
<br />>
<br />>
Dear Muhammad,
<br />>
<br />> I don't want to draw variation of a
parameter by time. Suppose I wrote this script as Raymond said, the output from
this script must be a value or a number with maybe two decimal digits. How can I
see this value at the end of running script?
<br />>
<br />> set t 1
<br />>
set lat 35
<br />> set lon 90
<br />> define T1= T
<br />> set t 2
<br />> set
lat 20
<br />> set lon 72
<br />> define T2=T
<br />> define
aveT=(T1+T2)/2
<br />> d aveT
<br />>
<br />> The command displaye doesn't
show anything, but I think script works correctly because I didn't get any
errors.
<br />>
<br />> Regards,
<br />>
<br />> T.
<br />>
<br />> >
<br />> >
<br />> > Today's Topics:
<br />> >
<br />> > 1. Re: can not
show my kml file in google map.!! (mehdi
<br />> > kebriaee) (mehdi
kebriaee)
<br />> > 2. Re: Average in two different time and locations (T.
haghroosta)
<br />>
> 3. Re: Average in two different time and locations
<br />> >
(Muhammad Yunus Ahmad Mazuki)
<br />> >
4!
. Re: Average in two different time and locations
<br />> > (Muhammad
Yunus Ahmad Mazuki)
<br />> >
<br />> >
<br />> >
----------------------------------------------------------------------
<br />>
>
<br />> > Message: 1
<br />>
> Date: Tue, 5 Feb 2013 08:33:33 +0330
<br />>
<br />> > From: mehdi
kebriaee <<a target="_blank" href="mailto:mehdy.kebriaee@gmail.com">mehdy.kebriaee@gmail.com</a>>
<br />> > Subject: Re:
[gradsusr] can not show my kml file in google map.!!
<br />>
>         (mehdi        kebriaee)
<br />> > To: GrADS Users Forum <<a target="_blank" href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>>
<br />> > Message-ID:
<br />>
>         <CAKd_bi9DiQWLiMnyY5JwNH09OQw4ZbAKOoV8OD=<a target="_blank" href="mailto:tt8xQcoKRuw@mail.gmail.com">tt8xQcoKRuw@mail.gmail.com</a>>
<br />>
> Content-Type: text/plain; charset="iso-8859-1"
<br />> >
<br />> > <?xml version="1.0"
encoding="UTF-8"?>
<br />> > <kml xmlns="<a target="_blank" href="http://www.opengis.net/kml/2.2">http://www.opengis.net/kml/2.2</a>" xmlns:gx="
<br />>
> <a target="_blank" href="http://www.google.com/kml/ext/2.2">http://www.google.com/kml/ext/2.2</a>" >
<br />> >
<GroundOverlay >
<br />> >
<viewBoundScale>0.75</viewBoundScale>
<br />> >
<name>hs.kml (m)</name>
<br />>
> <Icon>
<br />>
!
> <href>hshs.png</href>
<br />> >
</Icon>
<br />> > <LatLonBox>
<br />> >
<west>46.975</west>
<br />> >
<east>59.025</east>
<br />> >
<south>22.975</south>
<br />> >
<north>31.025</north>
<br />>
> <rotation>0.0</rotation>
<br />> >
</LatLonBox>
<br />> > </GroundOverlay>
<br />> >
</kml>
<br />>
<br />> > -------------- next part
--------------
<br />> > An HTML attachment was scrubbed...
<br />>
> URL: <a target="_blank" href="http://gradsusr.org/pipermail/gradsusr/attachments/20130205/9ba2258b/attachment-0001.html">http://gradsusr.org/pipermail/gradsusr/attachments/20130205/9ba2258b/attachment-0001.html</a>
<br />>
>
<br />> > ------------------------------
<br />> >
<br />> >
Message: 2
<br />> > Date: Tue, 5 Feb 2013 05:29:00 +0000
<br />> > From:
"T. haghroosta" <<a target="_blank" href="mailto:haghroosta@hotmail.com">haghroosta@hotmail.com</a>>
<br />>
> Subject: Re: [gradsusr] Average in two different time and locations
<br />>
> To: <<a target="_blank" href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>>
<br />> > Message-ID:
<DUB121-W16DB3BA967E1663BF3E068DD000@phx.gbl>
<br />>
> Content-Type: text/plain; charset="windows-1256"
<br />>
<br />>
> >
<br />> > 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.
<br />>
>
<br />> >
<br />> > > Hi T.,
<br />> > >
<br />> >
> One thing you could do is to assign it to a variable
<br />> > >
<br />> > > set t 1
<br />> > > set lat 35
<br />> > > set
lon 90
<br />> > > define T1= T
<br />>
> > set t 2
<br />> > > set lat 20
<br />> > > set lon
72
<br />> > > define T2=T
<br />> > >
<br />> > > define
aveT=(T1+T2)/2
<br />> > > d aveT
<br />> > >
<br />> > > I
hope it helps.
<br />> > >
<br />>
> > Raymond
<br />> > >
<br />> > > On Mon, Feb 4, 2013 at
4:20 PM, T. haghroosta <<a target="_blank" href="mailto:haghroosta@hotmail.com">haghroosta@hotmail.com</a>>wrote:
<br />> > >
<br />>
> > > Dear All,
<br />>
> > >
<br />> > >
>!
I would like to write a script for these aims, could you please lead
me.
<br />> > > > Of course I have written some, but I couldn't get
a good result.
<br />>
<br />> > > >
<br />> > > > open a
file,
<br />> > > >
<br />> > > > set time in 1
<br />> >
> >
<br />>
> > > Read a parameter like T in a special longitude a latitude for
example
<br />> > > > lon=90, lat=35. (T1)
<br />> > >
>
<br />> > > > Then set time to next step, I mean t=t+1
<br />>
> > >
<br />>
> > > Read parameter T in another special location, like lon= 75, lat=
20. (T2)
<br />> > > >
<br />> > > > Then I would like to
calculate average of T1 and T2. At the end I want to
<br />> > > > show
the value of the average.
<br />>
> > >
<br />> > > > Could you please help me?
<br />> >
> >
<br />> > > > Regards,
<br />> > > >
<br />> >
> > T.
<br />> > > >
<br />> > > >
_______________________________________________
<br />>
> > > gradsusr mailing list
<br />> > > > <a target="_blank" href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>> > > <a target="_blank" href="http://gradsusr.org/mailman/listinfo/gradsusr">http://gradsusr.org/mailman/listinfo/gradsusr</a>
<br />>
> > >
<br />> > > >
<br />> > >
<br />> > >
<br />> > > --
<br />> > > Raymond C. Ordinario
<br />>
<br />>
> > MS Atmospheric Science
<br />> > > Ateneo De Manila
University
<br />> > > Quezon City, Philippines
<br />>
<br />> > >
<br />> > > Weather Specialist I
<br />> > > Technique Application
and Meteorological Satellite Section
<br />> > > Weather DIvision
<br />>
> > Philippine Atmospheric, Geophysical and Astronomical Services
Admistration
<br />>
> > Quezon City, Philippines
<br />> > > -------------- next part
--------------
<br />> > > An HTML attachment was scrubbed...
<br />> >
> URL: <a target="_blank" href="http://gradsusr.org/pipermail/gradsusr/attachments/20130205/04a64bc2/attachment-0001.html">http://gradsusr.org/pipermail/gradsusr/attachments/20130205/04a64bc2/attachment-0001.html</a>
<br />>
> >
<br />> > > ------------------------------
<br />> > >
<br />> > > Message: 2
<br />> > > Date: Tue, 5 Feb 2013 08:27:18
+0330
<br />> > > From: mehdi kebriaee <<a target="_blank" href="mailto:mehdy.kebriaee@gmail.com">mehdy.kebriaee@gmail.com</a>&g!
t;
<br />> > > Subject: Re: [gradsusr] can not show my kml file in
go
ogle map.!!
<br />>
<br />> > >         (mehdi        kebriaee)
<br />> > > To:
GrADS Users Forum <<a target="_blank" href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>>
<br />> > >
Message-ID:
<br />> > >         <<a target="_blank" href="mailto:CAKd_bi9LWaGTWkpVqfgp3AXuffPJPXcdfW9iarzsKGaWd_THSA@mail.gmail.com">CAKd_bi9LWaGTWkpVqfgp3AXuffPJPXcdfW9iarzsKGaWd_THSA@mail.gmail.com</a>>
<br />>
> > Content-Type: text/plain; charset="iso-8859-1"
<br />> >
>
<br />> > > 1-Hi i cant show my kml file in google map
<br />>
<br />> > > but i can see it in google earth!!!!
<br />> > > do i
edit my kml file to show in google map?
<br />>
> > 2- Can i show animation in google map ?how?
<br />> > > plzz
help
<br />> > > TNQ for All user grads
<br />> > > --------------
next part --------------
<br />> > > An HTML attachment was
scrubbed...
<br />> > > URL: <a target="_blank" href="http://gradsusr.org/pipermail/gradsusr/attachments/20130205/fc2d1e27/attachment.html">http://gradsusr.org/pipermail/gradsusr/attachments/20130205/fc2d1e27/attachment.html</a>
<br />>
> > -------------- next part --------------
<br />> > > A non-text
attachment was scrubbed...
<br />> > > Name: ll.kml
<br />> > >
Type: application/vnd.google-earth.kml+xml
<br />> > > Size:
463!
bytes
<br />>
<br />> > > Desc: not available
<br />> > > Url :
<a target="_blank" href="http://gradsusr.org/pipermail/gradsusr/attachments/20130205/fc2d1e27/attachment.bin">http://gradsusr.org/pipermail/gradsusr/attachments/20130205/fc2d1e27/attachment.bin</a>
<br />>
> > -------------- next part --------------
<br />> > > A non-text
attachment was scrubbed...
<br />> > > Name: hshs.png
<br />> > >
Type: image/png
<br />> > > Size: 22352 bytes
<br />> > > Desc: not
available
<br />>
> > Url : <a target="_blank" href="http://gradsusr.org/pipermail/gradsusr/attachments/20130205/fc2d1e27/attachment.png">http://gradsusr.org/pipermail/gradsusr/attachments/20130205/fc2d1e27/attachment.png</a>
<br />>
> >
<br />> > > ------------------------------
<br />>
<br />>
> >
<br />> > >
_______________________________________________
<br />> > > gradsusr
mailing list
<br />> > > <a target="_blank" href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>
<br />>
> > <a target="_blank" href="http://gradsusr.org/mailman/listinfo/gradsusr">http://gradsusr.org/mailman/listinfo/gradsusr</a>
<br />> >
>
<br />> > >
<br />> > > End of gradsusr Digest, Vol 36, Issue
19
<br />> > > ****************************************
<br />>
>                                           
<br />>
<br />> > -------------- next part
--------------
<br />> > An HTML attachment was scrubbed...
<br />>
&g!
t; URL: <a target="_blank" href="http://gradsusr.org/pipermail/gradsusr/attachments/">http://gradsusr.org/pipermail/gradsusr/attachments/</a><a target="_blank" value="+12013020521" href="tel:20130205%2F21">20130205/21</a>
0087ae/attachment-0001.html
<br />> >
<br />> >
------------------------------
<br />> >
<br />> > Message: 3
<br />>
> Date: Tue, 5 Feb 2013 15:11:06 +0800
<br />> > From: Muhammad Yunus
Ahmad Mazuki <<a target="_blank" href="mailto:ukm.yunus@gmail.com">ukm.yunus@gmail.com</a>>
<br />>
> Subject: Re: [gradsusr] Average in two different time and locations
<br />>
<br />> > To: GrADS Users Forum <<a target="_blank" href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>>
<br />> > Message-ID:
<br />>
>         <<a target="_blank" href="mailto:CAKJBA6YyeN4g5o9wNFBqF%2Bv1NeXvtbKvf05AJhkNNVmR1XWUbw@mail.gmail.com">CAKJBA6YyeN4g5o9wNFBqF+v1NeXvtbKvf05AJhkNNVmR1XWUbw@mail.gmail.com</a>>
<br />>
> Content-Type: text/plain; charset="iso-8859-1"
<br />>
<br />>
>
<br />> > I believe there's missing information in your request.
For example, is T1
<br />> > is point value in all 4 dimension (x,y,z,t), or
is it a 1D value (any one
<br />> > dimension of x,y,z,t varies e.g. from 1
to 99)? If its point value, it wont
<br />>
> show up in the display window, it will only show up i terminal, which
wont
<br />> > show up if runned by script. You have to use display T1. If
what you wanted
<br />> > was data at certain position of x,y,z or
l!
ongitude, latitude and altitude,
<br />>
<br />> > and t=1 until t=99, you
have to set t as well
<br />> >
<br />> > 'set t 1 99'
<br />>
> 'set x 10'
<br />> > 'set y 10'
<br />> > 'set z
10'
<br />>
> 'define T2=T'
<br />> >
<br />> > Then you will get a linear
plot of value versus time.
<br />> >
<br />> > Yunus
<br />> >
<br />> >
<br />> > On Tue, Feb 5, 2013 at 1:29 PM, T. haghroosta <<a target="_blank" href="mailto:haghroosta@hotmail.com">haghroosta@hotmail.com</a>>wrote:
<br />>
>
<br />> > > Dear Raymond,
<br />> > >
<br />> > > Thank
you for your reply. It worked because I didn't get any errors, but
<br />>
> > in the map window, I didn't also see anything. I would like to see
the
<br />>
> > value of average in grads command page. I used command of say aveT,
but it
<br />> > > wrote aveT, not the amount of aveT. Can you lead me
what I shall do?
<br />> > >
<br />> > > Regards,
<br />> >
>
<br />> > > T.
<br />>
> >
<br />> > >
<br />> > >
<br />> > > > Hi
T.,
<br />> > > >
<br />> > > > One thing you could do is to
assign!
it to a variable
<br />>
<br />> > > >
<br />> > > > set t
1
<br />> >
> > set lat 35
<br />> > > > set lon 90
<br />> > > >
define T1= T
<br />> > > > set t 2
<br />> > > > set lat
20
<br />> > > > set lon 72
<br />> > > > define T2=T
<br />>
> > >
<br />> > > > define aveT=(T1+T2)/2
<br />>
> > > d aveT
<br />> > > >
<br />> > > > I hope it
helps.
<br />> > > >
<br />> > > > Raymond
<br />> > >
>
<br />> > > > On Mon, Feb 4, 2013 at 4:20 PM, T. haghroosta <<a target="_blank" href="mailto:haghroosta@hotmail.com">haghroosta@hotmail.com</a>
<br />>
> > >wrote:
<br />> > > >
<br />> > > > > Dear
All,
<br />> > > > >
<br />> > > > > I would like to
write a script for these aims, could you please lead
<br />> > >
me.
<br />> > > > > Of cour! se I have written some, but I
couldn't get a good result.
<br />>
> >
<br />> > > > >
<br />> > > > > open a
file,
<br />> > > > >
<br />> > > > > set time in
1
<br />> > > > >
<br />> > > > > Read a parameter like
T in a
s!
pecial longitude a latitude for example
<br />>
<br />> > > > >
lon=90, lat=35. (T1)
<br />> > > > >
<br />> > > > >
Then set time to next step, I mean t=t+1
<br />> > > > >
<br />>
> > > > Read parameter T in another special location, like lon= 75,
lat= 20.
<br />>
> > (T2)
<br />> > > > >
<br />> > > > > Then I
would like to calculate average of T1 and T2. At the end I want
<br />> >
> to
<br />> > > > > show the value of the average.
<br />> >
> > >
<br />>
> > > > Could you please help me?
<br />> > > >
>
<br />> > > > > Regards,
<br />> > > > >
<br />>
> > > > T.
<br />> > > > >
<br />> > > > >
_______________________________________________
<br />>
> > > > gradsusr mailing list
<br />> > > > > <a target="_blank" href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>
<br />> > > > > <a target="_blank" href="http://gradsusr.org/mailman/listinfo/gradsusr">http://gradsusr.org/mailman/listinfo/gradsusr</a>
<br />>
> > > >
<br />> > > > >
<br />> > > >
<br />>
&!
gt; > >
<br />> > > > --
<br />> > > > Raymond C.
Ordina
rio
<br />>
<br />> > > &gt! ; MS Atmospheric Science
<br />> >
> > Ateneo De Manila University
<br />> > > > Q uezon City,
Philippines
<br />> > >
<br />> > > >
<br />> > > >
Weather Specialist I
<br />>
> > > Technique Application and Meteorological Satellite
Section
<br />> > > > Weather DIvision
<br />> > > >
Philippine Atmospheric, Geophysical and Astronomical Services
<br />> > >
Admistration
<br />> > > > Quezon City, Philippines
<br />>
> > > -------------- next part --------------
<br />> > > > An
HTML attachment was scrubbed...
<br />> > > > URL:
<br />> > > <a target="_blank" href="http://gradsusr.org/pipermail/gradsusr/attachments/20130205/04a64bc2/attachment-0001.html">http://gradsusr.org/pipermail/gradsusr/attachments/20130205/04a64bc2/attachment-0001.html</a>
<br />>
> > >
<br />> > > > ------------------------------
<br />>
> > >
<br />> > > > Message: 2
<br />> > > > Date:
Tue, 5 Feb 2013 08:27:18 +0330
<br />> > > > From: mehdi kebriaee
<<a target="_blank" href="mailto:mehdy.kebriaee@gmail.com">mehdy.kebriaee@gmail.com</a>>
<br />>
> > > Subject: Re:
[gradsus!
r] can not show my kml file in google map.!!
<br />>
<br />> > > >
(mehdi kebriaee)
<br />> > > > To: GrADS Users Forum <<a target="_blank" href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>>
<br />>
> > > Message-ID:
<br />> > > > <<a target="_blank" href="mailto:CAKd_bi9LWaGTWkpVqfgp3AXuffPJPXcdfW9iarzsKGaWd_THSA@mail.gmail.com">CAKd_bi9LWaGTWkpVqfgp3AXuffPJPXcdfW9iarzsKGaWd_THSA@mail.gmail.com</a>>
<br />>
> > > Content-Type: text/plain; charset="iso-8859-1"
<br />>
> > >
<br />> > > > 1-Hi ! i cant show my kml file in google
map
<br />> > > > but i can see it in google earth!!!!
<br />> >
> > do i edit my kml file to show in google map?
<br />>
> > > 2- Can i show animation in google map ?how?
<br />> > >
> plzz help
<br />> > > > TNQ for All user grads
<br />> > >
> -------------- next part --------------
<br />> > > > An HTML
attachment was scrubbed...
<br />>
> > > URL:
<br />> > > <a target="_blank" href="http://gradsusr.org/pipermail/gradsusr/attachments/20130205/fc2d1e27/attachment.html">http://gradsusr.org/pipermail/gradsusr/attachments/20130205/fc2d1e27/attachment.html</a>
<br />>
> > > -------------- next part --------------
<br />> > > > A
non-text
a!
ttachment was scrubbed...
<br />>
<br />> > > > Name: ll.kml
<br />>
> >
> Type: application/vnd.google-earth.kml+xml
<br />> > > > Size: 463
bytes
<br />> > > > Desc: not available
<br />> > > > Url
:
<br />> > > <a target="_blank" href="http://gradsusr.org/pipermail/gradsusr/attachments/20130205/fc2d1e27/attachment.bin">http://gradsusr.org/pipermail/gradsusr/attachments/20130205/fc2d1e27/attachment.bin</a>
<br />>
> > > -------------- next part --------------
<br />> > > > A
non-text attachment was scrubbed...
<br />> > > > Name:
hshs.png
<br />> > > > Type: image/png
<br />> > > > Size:
22352 bytes
<br />> > > > Desc: not available
<br />>
> > > Url : <a target="_blank" href="http://gradsusr.org/pipermail/grads">http://gradsusr.org/pipermail/grads</a>!
<br />> > >
usr/attachments/20130205/fc2d1e27/attachment.png
<br />> > > >
<br />>
> > > --- ---------------------------
<br />>
> >
<br />> > > >
<br />> > > >
_______________________________________________
<br />> > > > gradsusr
mailing list
<br />> > > > <a target="_blank" href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>
<br />>
> > > <a target="_blank" href="http://gradsusr.org/mailman/listinfo/gradsusr">http://gradsusr.org/mailman/listinfo/gradsusr</a>
<br />> >
> >
<br />> > > >
<br />> > > > End of
!
gradsusr Digest, Vol 36, Issue 19
<br />>
<br />> > > >
****************************************
<br />> > >
<br />> > >
_______________________________________________
<br />> > > gradsusr
mailing list
<br />>
> > <a target="_blank" href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>
<br />> > > <a target="_blank" href="http://gradsusr.org/mailman/listinfo/gradsusr">http://gradsusr.org/mailman/listinfo/gradsusr</a>
<br />>
> >
<br />> > >
<br />>
<br />> > -------------- next part
--------------
<br />> > An HTML attachment was scrubbed...
<br />> > URL:
<a target="_blank" href="http://gradsusr.org/pipermail/gradsusr/attachments/20130205/a0123e74/attachment-0001.html">http://gradsusr.org/pipermail/gradsusr/attachments/20130205/a0123e74/attachment-0001.html</a>
<br />>
>
<br />> > ------------------------------
<br />> >
<br />> >
Message: 4
<br />> > Date: Tue, 5 Feb 2013 15:19:07 +0800
<br />> > From:
Muhammad Yunus Ahmad Mazuki <<a target="_blank" href="mailto:ukm.yunus@gmail.com">ukm.yunus@gmail.com</a>>
<br />>
> Subject: Re: [gradsusr] Average in two different time and locations
<br />>
<br />> > To: GrADS Users Forum <<a target="_blank" href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>>
<br />> > Message-ID:
<br />>
>         <<a target="_blank" href="mailto:CAKJBA6ZHVhPYzBkRtfHQinviWONr_eK_FzXsX7ZAYUViNrctmQ@mail.gmail.com">CAKJBA6ZHVhPYzBkRtfHQinviWONr_eK_FzXsX7ZAYUViNrctmQ@mail.gmail.com</a>>
<br />>
> Content-Type: text/plain;
charse!
t="iso-8859-1"
<br />> >
<br />> > Actually you can output the
point
valu
e on the display window so that you
<br />>
<br />> > print the image, but
you need some workaround in your script.
<br />> >
<br />> > On Tue, Feb
5, 2013 at 3:11 PM, Muhammad Yunus Ahmad Mazuki <
<br />> > <a target="_blank" href="mailto:ukm.yunus@gmail.com">ukm.yunus@gmail.com</a>>
wrote:
<br />>
>
<br />> > > I believe there's missing information in your
request. For example, is T1
<br />> > > is point value in all 4 dimension
(x,y,z,t), or is it a 1D value (any one
<br />> > > dimension of x,y,z,t
varies e.g. from 1 to 99)? If its point value, it wont
<br />>
> > show up in the display window, it will only show up i terminal, which
wont
<br />> > > show up if runned by script. You have to use display T1.
If what you wanted
<br />> > > was data at certain position of x,y,z or
longitude, latitude and altitude,
<br />>
> > and t=1 until t=99, you have to set t as well
<br />> >
>
<br />> > > 'set t 1 99'
<br />> > > 'set x
10'
<br />> > > 'set y 10'
<br />> > > 'set z
10'
<br />> > > 'define T2=T'
<br />>
> >
<br />> > >
Th!
en you will get a linear plot of value versus time.
<br />>
<br />> >
>
<br />> > > Yunus
<br />> > >
<br />> > >
<br />> >
>
<br />> > > On Tue, Feb 5, 2013 at 1:29 PM, T. haghroosta <<a target="_blank" href="mailto:haghroosta@hotmail.com">haghroosta@hotmail.com</a>>wrote:
<br />>
> >
<br />> > >> Dear Raymond,
<br />> > >>
<br />>
> >> Thank you for your reply. It worked because I didn't get any
errors, but
<br />> > >> in the map window, I didn't also see
anything. I would like to see the
<br />>
> >> value of average in grads command page. I used command of say
aveT, but it
<br />> > >> wrote aveT, not the amount of aveT. Can you
lead me what I shall do?
<br />> > >>
<br />> > >>
Regards,
<br />>
> >>
<br />> > >> T.
<br />> > >>
<br />> >
>>
<br />> > >>
<br />> > >> > Hi T.,
<br />> >
>> >
<br />> > >> > One thing you could do is to assign it
to a variable
<br />> > >> >
<br />>
> >> > set t 1
<br />> > >> > set lat 35
<br />> >
&!
gt;> > set lon 90
<br />> > >> > define T1= T
<br />> >
&gt
;> > set t 2
<br />>
<br />> > >> > set lat 20
<br />> >
>> > set lon 72
<br />> > >> > define T2=T
<br />> >
>> >
<br />> > >> > define aveT=(T1+T2)/2
<br />> >
>> > d aveT
<br />>
> >> >
<br />> > >> > I hope it helps.
<br />> >
>> >
<br />> > >> > Raymond
<br />> > >>
>
<br />> > >> > On Mon, Feb 4, 2013 at 4:20 PM, T. haghroosta
<<a target="_blank" href="mailto:haghroosta@hotmail.com">haghroosta@hotmail.com</a>
<br />>
> >> >wrote:
<br />> > >> >
<br />> > >> >
> Dear All,
<br />> > >> > >
<br />> > >> > > I
would like to write a script for these aims, could you please lead
<br />> >
>> me.
<br />>
> >> > > Of cour! se I have written some, but I couldn't get
a good result.
<br />> > >>
<br />> > >> > >
<br />>
> >> > > open a file,
<br />> > >> > >
<br />>
> >> > > set time in 1
<br />>
> >> > >
<br />> > >> > > Read a
paramet!
er like T in a special longitude a latitude for example
<br />>
<br />> >
>> > > lon=90, lat=35. (T1)
<br />> > >> > >
<br />>
> >> > > Then set time to next step, I mean t=t+1
<br />> >
>> > >
<br />>
> >> > > Read parameter T in another special location, like lon=
75, lat= 20.
<br />> > >> (T2)
<br />> > >> > >
<br />>
> >> > > Then I would like to calculate average of T1 and T2. At
the end I
<br />>
> >> want to
<br />> > >> > > show the value of the
average.
<br />> > >> > >
<br />> > >> > > Could
you please help me?
<br />> > >> > >
<br />> > >> >
> Regards,
<br />>
> >> > >
<br />> > >> > > T.
<br />> > >>
> >
<br />> > >> > >
_______________________________________________
<br />> > >> > >
gradsusr mailing list
<br />> > >> > > <a target="_blank" href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>
<br />>
> >> > > <a target="_blank" href="http://gradsus/">http://gradsus</a>!
<a target="_blank" href="http://r.org/mailman/listinfo/gradsusr">r.org/mailman/listinfo/gradsusr</a>
<br />> > >> >
>
<br />> >
&gt
;> > >
<br />>
<br />> > >> >
<br />> > >>
>
<br />> > >> > --
<br />> > >> > Raymond C.
Ordinario
<br />> > >> &gt! ; MS Atmospheric Science
<br />> >
>> > Ateneo De Manila University
<br />>
> >> > Q uezon City, Philippines
<br />> > >>
<br />> >
>> >
<br />> > >> > Weather Specialist I
<br />> >
>> > Technique Application and Meteorological Satellite Section
<br />>
> >> > Weather DIvision
<br />>
> >> > Philippine Atmospheric, Geophysical and Astronomical
Services
<br />> > >> Admistration
<br />> > >> > Quezon
City, Philippines
<br />> > >> > -------------- next part
--------------
<br />>
> >> > An HTML attachment was scrubbed...
<br />> > >> >
URL:
<br />> > >> <a target="_blank" href="http://gradsusr.org/pipermail/gradsusr/attachments/20130205/04a64bc2/attachment-0001.html">http://gradsusr.org/pipermail/gradsusr/attachments/20130205/04a64bc2/attachment-0001.html</a>
<br />>
> >> >
<br />> > >> >
------------------------------
<br />> > >>
>!
<br />>
<br />> > >> > Message: 2
<br />> > >> >
Date: Tue, 5 Feb 2013 08:27:18 +0330
<br />> > >> > From: mehdi
kebriaee <<a target="_blank" href="mailto:mehdy.kebriaee@gmail.com">mehdy.kebriaee@gmail.com</a>>
<br />>
> >> > Subject: Re: [gradsusr] can not show my kml file in google
map.!!
<br />> > >> > (mehdi kebriaee)
<br />> > >> >
To: GrADS Users Forum <<a target="_blank" href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>>
<br />>
> >> > Message-ID:
<br />> > >> > <<a target="_blank" href="mailto:CAKd_bi9LWaGTWkpVqfgp3AXuffPJPXcdfW9iarzsKGaWd_THSA@mail.gmail.com">CAKd_bi9LWaGTWkpVqfgp3AXuffPJPXcdfW9iarzsKGaWd_THSA@mail.gmail.com</a>>
<br />>
> >> > Content-Type: text/plain;
charset="iso-8859-1"
<br />> > >> >
<br />> > >>
> 1-Hi ! i cant show my kml file in google map
<br />> > >> > but
i can see it in google earth!!!!
<br />>
> >> > do i edit my kml file to show in google map?
<br />> >
>> > 2- Can i show animation in google map ?how?
<br />> > >>
> plzz help
<br />> > >> > TNQ for All user grads
<br />> >
>> > -------------- next part
-------------!
-
<br />>
<br />> > >> > An HTML attachment was
scrubbed...
<br />> >
&gt
;> > URL:
<br />>
<br />> > >> <a target="_blank" href="http://gradsusr.org/pipermail/gradsusr/attachments/20130205/fc2d1e27/attachment.html">http://gradsusr.org/pipermail/gradsusr/attachments/20130205/fc2d1e27/attachment.html</a>
<br />>
> >> > -------------- next part --------------
<br />> > >>
> A non-text attachment was scrubbed...
<br />> > >> > Name:
ll.kml
<br />> > >> > Type:
application/vnd.google-earth.kml+xml
<br />>
> >> > Size: 463 bytes
<br />> > >> > Desc: not
available
<br />> > >> > Url :
<br />> > >> <a target="_blank" href="http://gradsusr.org/pipermail/gradsusr/attachments/20130205/fc2d1e27/attachment.bin">http://gradsusr.org/pipermail/gradsusr/attachments/20130205/fc2d1e27/attachment.bin</a>
<br />>
> >> > -------------- next part --------------
<br />> > >>
> A non-text attachment was scrubbed...
<br />> > >> > Name:
hshs.png
<br />> > >> > Type: image/png
<br />> > >> >
Size: 22352 bytes
<br />>
> >> > Desc: not available
<br />> > >> > Url : <a target="_blank" href="http://gradsusr.org/pipermail/grads">http://gradsusr.org/pipermail/grads</a>!
<br />> > >>
usr/attachments/20130205/fc2d1e27/attachment.png
<br />>
> >> >
<br />> >
!
>> > --- ---------------------------
<br />> > >>
<br />>
> >> >
<br />> > >> >
_______________________________________________
<br />> > >> >
gradsusr mailing list
<br />> > >> > <a target="_blank" href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>
<br />>
> >> > <a target="_blank" href="http://gradsusr.org/mailman/listinfo/gradsusr">http://gradsusr.org/mailman/listinfo/gradsusr</a>
<br />> >
>> >
<br />> > >> >
<br />> > >> > End of
gradsusr Digest, Vol 36, Issue 19
<br />>
> >> > ****************************************
<br />> >
>>
<br />> > >>
_______________________________________________
<br />> > >> gradsusr
mailing list
<br />> > >> <a target="_blank" href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>
<br />>
> >> <a target="_blank" href="http://gradsusr.org/mailman/listinfo/gradsusr">http://gradsusr.org/mailman/listinfo/gradsusr</a>
<br />> >
>>
<br />> > >>
<br />> > >
<br />>
<br />> >
-------------- next part --------------
<br />>
> An HTML attachment was scrubbed...
<br />> > URL: <a target="_blank" href="http://gradsusr.org/pipermail/gradsusr/attachments/20130205/0c06c546/attachment.html">http://gradsusr.org/pipermail/gradsusr/attachments/20130205/0c06c546/attachment.html</a>
<br />>
>
<br />> >
------------------------------!
<br />> >
<br />> >
_______________________________________________
<br />>
&
gt; gradsusr mailing list
<br />> > <a target="_blank" href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>
<br />> > <a target="_blank" href="http://gradsusr.org/mailman/listinfo/gradsusr">http://gradsusr.org/mailman/listinfo/gradsusr</a>
<br />>
>
<br />> >
<br />> > End of gradsusr Digest, Vol 36, Issue
20
<br />> > ****************************************
<br />>
<br />>
_______________________________________________
<br />>
gradsusr mailing list
<br />>
<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>
<br />>
<a target="_blank" href="http://gradsusr.org/mailman/listinfo/gradsusr">http://gradsusr.org/mailman/listinfo/gradsusr</a>
<br />>
<br />> </blockquote>
<br />
<br />
<br />Ricardo Hallak
<br />
<br />
Departamento de Ciências Atmosféricas (ACA)
<br />
Instituto de Astronomia, Geofísica e Ciências Atmosféricas (IAG)
<br />
Universidade de São Paulo (USP)
<br />
Rua do Matão, 1226 - Cidade Universitária - São Paulo SP 05508-900
<br />
Phone.: +55 (11) 3091-2850; 3091-4703
<br />
Fax: +55 (11) 3091-4714
<br />
<br />
</font>
</BODY>
</HTML>