<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
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><div><div id="SkyDrivePlaceholder"></div>><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>> From: mehdi kebriaee <mehdy.kebriaee@gmail.com><br>> Subject: Re: [gradsusr] can not show my kml file in google map.!!<br>>         (mehdi        kebriaee)<br>> To: GrADS Users Forum <gradsusr@gradsusr.org><br>> Message-ID:<br>>         <CAKd_bi9DiQWLiMnyY5JwNH09OQw4ZbAKOoV8OD=tt8xQcoKRuw@mail.gmail.com><br>> Content-Type: text/plain; charset="iso-8859-1"<br>> <br>> <?xml version="1.0" encoding="UTF-8"?><br>> <kml xmlns="http://www.opengis.net/kml/2.2" xmlns:gx="<br>> http://www.google.com/kml/ext/2.2" ><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>> -------------- next part --------------<br>> An HTML attachment was scrubbed...<br>> URL: http://gradsusr.org/pipermail/gradsusr/attachments/20130205/9ba2258b/attachment-0001.html <br>> <br>> ------------------------------<br>> <br>> Message: 2<br>> Date: Tue, 5 Feb 2013 05:29:00 +0000<br>> From: "T. haghroosta" <haghroosta@hotmail.com><br>> Subject: Re: [gradsusr] Average in two different time and locations<br>> To: <gradsusr@gradsusr.org><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 <haghroosta@hotmail.com>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>> > > 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>> > > gradsusr@gradsusr.org<br>> > > http://gradsusr.org/mailman/listinfo/gradsusr<br>> > ><br>> > ><br>> > <br>> > <br>> > -- <br>> > Raymond C. Ordinario<br>> > MS Atmospheric Science<br>> > Ateneo De Manila University<br>> > Quezon City, Philippines<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: http://gradsusr.org/pipermail/gradsusr/attachments/20130205/04a64bc2/attachment-0001.html <br>> > <br>> > ------------------------------<br>> > <br>> > Message: 2<br>> > Date: Tue, 5 Feb 2013 08:27:18 +0330<br>> > From: mehdi kebriaee <mehdy.kebriaee@gmail.com><br>> > Subject: Re: [gradsusr] can not show my kml file in go
ogle map.!!<br>> >         (mehdi        kebriaee)<br>> > To: GrADS Users Forum <gradsusr@gradsusr.org><br>> > Message-ID:<br>> >         <CAKd_bi9LWaGTWkpVqfgp3AXuffPJPXcdfW9iarzsKGaWd_THSA@mail.gmail.com><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: http://gradsusr.org/pipermail/gradsusr/attachments/20130205/fc2d1e27/attachment.html <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 : http://gradsusr.org/pipermail/gradsusr/attachments/20130205/fc2d1e27/attachment.bin <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 : http://gradsusr.org/pipermail/gradsusr/attachments/20130205/fc2d1e27/attachment.png <br>> > <br>> > ------------------------------<br>> > <br>> > _______________________________________________<br>> > gradsusr mailing list<br>> > gradsusr@gradsusr.org<br>> > http://gradsusr.org/mailman/listinfo/gradsusr<br>> > <br>> > <br>> > End of gradsusr Digest, Vol 36, Issue 19<br>> > ****************************************<br>>                                            <br>> -------------- next part --------------<br>> An HTML attachment was scrubbed...<br>> URL: http://gradsusr.org/pipermail/gradsusr/attachments/20130205/21
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 <ukm.yunus@gmail.com><br>> Subject: Re: [gradsusr] Average in two different time and locations<br>> To: GrADS Users Forum <gradsusr@gradsusr.org><br>> Message-ID:<br>>         <CAKJBA6YyeN4g5o9wNFBqF+v1NeXvtbKvf05AJhkNNVmR1XWUbw@mail.gmail.com><br>> Content-Type: text/plain; charset="iso-8859-1"<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>> 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 <haghroosta@hotmail.com>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>> > > 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 <haghroosta@hotmail.com<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 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.<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>> > > > gradsusr@gradsusr.org<br>> > > > http://gradsusr.org/mailman/listinfo/gradsusr<br>> > > ><br>> > > ><br>> > ><br>> > ><br>> > > --<br>> > > Raymond C. Ordina
rio<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>> > http://gradsusr.org/pipermail/gradsusr/attachments/20130205/04a64bc2/attachment-0001.html<br>> > ><br>> > > ------------------------------<br>> > ><br>> > > Message: 2<br>> > > Date: Tue, 5 Feb 2013 08:27:18 +0330<br>> > > From: mehdi kebriaee <mehdy.kebriaee@gmail.com><br>> > > Subject: Re: [gradsusr] can not show my kml file in google map.!!<br>> > > (mehdi kebriaee)<br>> > > To: GrADS Users Forum <gradsusr@gradsusr.org><br>> > > Message-ID:<br>> > > <CAKd_bi9LWaGTWkpVqfgp3AXuffPJPXcdfW9iarzsKGaWd_THSA@mail.gmail.com><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>> > http://gradsusr.org/pipermail/gradsusr/attachments/20130205/fc2d1e27/attachment.html<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>> > http://gradsusr.org/pipermail/gradsusr/attachments/20130205/fc2d1e27/attachment.bin<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 : http://gradsusr.org/pipermail/grads!<br>> > usr/attachments/20130205/fc2d1e27/attachment.png<br>> > ><br>> > > --- ---------------------------<br>> ><br>> > ><br>> > > _______________________________________________<br>> > > gradsusr mailing list<br>> > > gradsusr@gradsusr.org<br>> > > http://gradsusr.org/mailman/listinfo/gradsusr<br>> > ><br>> > ><br>> > > End of gradsusr Digest, Vol 36, Issue 19<br>> > > ****************************************<br>> ><br>> > _______________________________________________<br>> > gradsusr mailing list<br>> > gradsusr@gradsusr.org<br>> > http://gradsusr.org/mailman/listinfo/gradsusr<br>> ><br>> ><br>> -------------- next part --------------<br>> An HTML attachment was scrubbed...<br>> URL: http://gradsusr.org/pipermail/gradsusr/attachments/20130205/a0123e74/attachment-0001.html <br>> <br>> ------------------------------<br>> <br>> Message: 4<br>> Date: Tue, 5 Feb 2013 15:19:07 +0800<br>> From: Muhammad Yunus Ahmad Mazuki <ukm.yunus@gmail.com><br>> Subject: Re: [gradsusr] Average in two different time and locations<br>> To: GrADS Users Forum <gradsusr@gradsusr.org><br>> Message-ID:<br>>         <CAKJBA6ZHVhPYzBkRtfHQinviWONr_eK_FzXsX7ZAYUViNrctmQ@mail.gmail.com><br>> Content-Type: text/plain; charset="iso-8859-1"<br>> <br>> Actually you can output the point valu
e on the display window so that you<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>> ukm.yunus@gmail.com> 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>> > Then you will get a linear plot of value versus time.<br>> ><br>> > Yunus<br>> ><br>> ><br>> ><br>> > On Tue, Feb 5, 2013 at 1:29 PM, T. haghroosta <haghroosta@hotmail.com>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>> >> > 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 <haghroosta@hotmail.com<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 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.<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>> >> > > gradsusr@gradsusr.org<br>> >> > > http://gradsusr.org/mailman/listinfo/gradsusr<br>> >> > ><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>> >> http://gradsusr.org/pipermail/gradsusr/attachments/20130205/04a64bc2/attachment-0001.html<br>> >> ><br>> >> > ------------------------------<br>> >> ><br>> >> > Message: 2<br>> >> > Date: Tue, 5 Feb 2013 08:27:18 +0330<br>> >> > From: mehdi kebriaee <mehdy.kebriaee@gmail.com><br>> >> > Subject: Re: [gradsusr] can not show my kml file in google map.!!<br>> >> > (mehdi kebriaee)<br>> >> > To: GrADS Users Forum <gradsusr@gradsusr.org><br>> >> > Message-ID:<br>> >> > <CAKd_bi9LWaGTWkpVqfgp3AXuffPJPXcdfW9iarzsKGaWd_THSA@mail.gmail.com><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>> >> http://gradsusr.org/pipermail/gradsusr/attachments/20130205/fc2d1e27/attachment.html<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>> >> http://gradsusr.org/pipermail/gradsusr/attachments/20130205/fc2d1e27/attachment.bin<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 : http://gradsusr.org/pipermail/grads!<br>> >> usr/attachments/20130205/fc2d1e27/attachment.png<br>> >> ><br>> >> > --- ---------------------------<br>> >><br>> >> ><br>> >> > _______________________________________________<br>> >> > gradsusr mailing list<br>> >> > gradsusr@gradsusr.org<br>> >> > http://gradsusr.org/mailman/listinfo/gradsusr<br>> >> ><br>> >> ><br>> >> > End of gradsusr Digest, Vol 36, Issue 19<br>> >> > ****************************************<br>> >><br>> >> _______________________________________________<br>> >> gradsusr mailing list<br>> >> gradsusr@gradsusr.org<br>> >> http://gradsusr.org/mailman/listinfo/gradsusr<br>> >><br>> >><br>> ><br>> -------------- next part --------------<br>> An HTML attachment was scrubbed...<br>> URL: http://gradsusr.org/pipermail/gradsusr/attachments/20130205/0c06c546/attachment.html <br>> <br>> ------------------------------<br>> <br>> _______________________________________________<br>&
gt; gradsusr mailing list<br>> gradsusr@gradsusr.org<br>> http://gradsusr.org/mailman/listinfo/gradsusr<br>> <br>> <br>> End of gradsusr Digest, Vol 36, Issue 20<br>> ****************************************<br></div>                                            </div></body>
</html>