[gradsusr] Drawing something (line, point,...) over the map

T. haghroosta haghroosta at hotmail.com
Mon Aug 13 05:02:37 EDT 2012


Dear Ramaphane,
 
I did it and finally all items were appeared in the map.
 
Thank you very much for your help.
 
Tahereh
 

> From: gradsusr-request at gradsusr.org
> Subject: gradsusr Digest, Vol 30, Issue 30
> To: gradsusr at gradsusr.org
> Date: Mon, 13 Aug 2012 02:53:49 -0400
> 
> Send gradsusr mailing list submissions to
> gradsusr at gradsusr.org
> 
> To subscribe or unsubscribe via the World Wide Web, visit
> http://gradsusr.org/mailman/listinfo/gradsusr
> or, via email, send a message with subject or body 'help' to
> gradsusr-request at gradsusr.org
> 
> You can reach the person managing the list at
> gradsusr-owner at gradsusr.org
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of gradsusr digest..."
> 
> 
> Today's Topics:
> 
> 1. Re: Drawing something (line, point,...) over the map
> (Galebonwe Ramaphane)
> 
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Mon, 13 Aug 2012 08:52:10 +0200
> From: "Galebonwe Ramaphane" <GRamaphane at gov.bw>
> Subject: Re: [gradsusr] Drawing something (line, point,...) over the
> map
> To: "GrADS Users Forum" <gradsusr at gradsusr.org>
> Message-ID:
> <C29C568A454A0849982F608873BBC01D016B678F at imsnt001.meteo.gov.bw>
> Content-Type: text/plain; charset="us-ascii"
> 
> 
> 
> 
> 
> Tahereh,
> 
> 
> 
> You can now draw the line by adding the following at the end of your
> script;
> 
> 
> 
> 'draw line' x1' 'y1' 'x2' 'y2
> 
> 
> 
> You also have to give the string name at the draw string command, say;
> 
> 
> 
> 'draw string' x1+0.1' 'y1' 'Point1
> 
> From: gradsusr-bounces at gradsusr.org
> [mailto:gradsusr-bounces at gradsusr.org] On Behalf Of T. haghroosta
> Sent: Monday, August 13, 2012 5:36 AM
> To: gradsusr at gradsusr.org
> Subject: Re: [gradsusr] Drawing something (line, point,...) over the map
> 
> 
> 
> Dear Ricardo, 
> 
> 
> This is the part of my script that must creat 2 points and a line
> between them. With these commands, 2 points are drawn but not a line
> between them and I get this error: 
> draw error: syntax is draw string x y string
> 
> 'set line 8'
> 'Set string 4 l 4'
> 'set strsiz 0.18'
> 'set string 0'
> lon1= 118.7
> lat1= 7.7
> 'q w2xy 'lon1' 'lat1
> say result
> x1 = subwrd(result,3)
> y1 = subwrd(result,6)
> 'draw mark '3' 'x1' 'y1' '0.12
> 'draw string 'x1+0.1' 'y1
> lon2= 120.6
> lat2= 8.3
> 'q w2xy 'lon2' 'lat2
> say result
> x2 = subwrd(result,3)
> y2 = subwrd(result,6)
> 'draw mark '3' 'x2' 'y2' '0.12
> 'draw string 'x2+0.1' 'y2
> 
> Regards,
> 
> Tahereh
> 
> 
> 
> > From: gradsusr-request at gradsusr.org
> > Subject: gradsusr Digest, Vol 30, Issue 28
> > To: gradsusr at gradsusr.org
> > Date: Sun, 12 Aug 2012 22:50:24 -0400
> > 
> > Send gradsusr mailing list submissions to
> > gradsusr at gradsusr.org
> > 
> > To subscribe or unsubscribe via the World Wide Web, visit
> > http://gradsusr.org/mailman/listinfo/gradsusr
> > or, via email, send a message with subject or body 'help' to
> > gradsusr-request at gradsusr.org
> > 
> > You can reach the person managing the list at
> > gradsusr-owner at gradsusr.org
> > 
> > When replying, please edit your Subject line so it is more specific
> > than "Re: Contents of gradsusr digest..."
> > 
> > 
> > Today's Topics:
> > 
> > 1. Re: Drawing something (line, point,...) over the map
> > (Ricardo Hallak)
> > 
> > 
> > ----------------------------------------------------------------------
> > 
> >! Message: 1
> > Date: Mon, 13 Aug 2012 00:13:28 -0200
> > From: "Ricardo Hallak" <hallak at model.iag.usp.br>
> > Subject: Re: [gradsusr] Drawing something (line, point,...) over the
> > map
> > To: GrADS Users Forum <gradsusr at gradsusr.org>
> > Message-ID: <20120813020839.M46542 at model.iag.usp.br>
> > Content-Type: text/plain; charset="iso-8859-1"
> > 
> > Dear Tahereh,
> > 
> > could you please reproduce here your piece of script where you are
> trying to draw the line in a plot?
> > 
> > Drawing a line in the plot is a relatively simple task in GrADS. 
> > Maybe your script has some little mistake and we could help you with
> that if we could see your sequence of commands in the script.
> > 
> > Regards,
> > Ricardo
> > 
> > On Sun, 12 Aug 2012 18:44:25 +0000, T. haghroosta wrote
> > > Dear Hersala and all other helpers,
> > > ?
> > > I did it. Although?I couldn't dr! aw line between two points
> fortunately I drew points.
> > > ?> > Thank you for your help.
> > > ?
> > > Regards,
> > > ?
> > > Tahereh
> > > ?
> > > 
> > > ?
> > > 
> > > > From: gradsusr-request at gradsusr.org
> > > > Subject: gradsusr Digest, Vol 30, Issue 26
> > > > To: gradsusr at gradsusr.org
> > > > Date: Sat, 11 Aug 2012 09:28:30 -0400
> > > > 
> > > > Send gradsusr mailing list submissions to
> > > > gradsusr at gradsusr.org
> > > > 
> > > > To subscribe or unsubscribe via the World Wide Web, visit
> > > > http://gradsusr.org/mailman/listinfo/gradsusr
> > > > or, via email, send a message with subject or body 'help' to
> > > > gradsusr-request at gradsusr.org
> > > > 
> > > > You can reach the person managing the list at
> > > > gradsusr-owner at gradsusr.org
> > > > 
> > > > When replying, please edit your Sub! ject line so it is more
> specific
> > > > than "Re: Contents of gradsusr digest..."
> > > > 
> > > > 
> > > > Today's Topics:
> > > > 
> > > > 1. Re: Saving GrADS variable data to a text file (hersala)
> > > > 2. Re: Drawing something (line, point,...) over the map (hersala)
> > > > 
> > > > 
> > > >
> ------!----------------------------------------------------------------
> > > > 
> > > > Message: 1
> > > > Date: Sat, 11 Aug 2012 10:21:07 -0300
> > > > From: hersala <hersala at gmail.com>
> > > > Subject: Re: [gradsusr] Saving GrADS variable data to a text file
> > > > To: GrADS Users Forum <gradsusr at gradsusr.org>
> > > > Message-ID:
> > > >
> <CA+0GtdsGboQZFCOeUQ5Kq4Loe1OFocFpwqTogvLS_CSEc5di=w at mail.gmail.com>
> > > > Content-Type: text/plain; charset="iso-8859-1"
> > >! ; > 
> > > > Dear Kishore,
> > > > 
> > > ; > To save (or export) data in a different format you can use the
> following
> > > > script or "recipe":
> > > > 
> > > >
> http://cookbooks.opengrads.org/index.php?title=Recipe-002:_Saving_GrADS_
> variable_data_to_a_text_file
> > > > 
> > > > I hope this will help you.
> > > > 
> > > > Cheers,
> > > > 
> > > > Hern?n
> > > > 
> > > > 
> > > > El 11/08/2012 07:10, "Kishore Babu" <kishoreragi at gmail.com>
> escribi?:
> > > > 
> > > > > Sushant,
> > > > >
> > > !> > I want to have is grads data file in other application, not
> just to open
> > > > > it in grads. My netcdf file contains many variables and I need
> is a
> > > > > customized .dat file, not netcdf file, which can not be accepted
> there.
> > > > >
> > > > > Anyway, thank you for trying to help me,
> &! gt; > > >
> > > > > Sincerely,
> > > > >
> > > > > Kishore
> > > > >
> > > > > On Sat, Aug 11, 2012 at 5:59 AM, sushant puranik
> <sushantpuranik at gmail.com
> > > > > > wrote:
> > > > >
> > > > >> Kishore
> > > > >> You have netcdf file which can directly open in grads with
> sdfopen
> > > > >> command.
> > > > >> For clarification you can visit
> > > > >> http://www.iges.org/grads/gadoc/gradcomdsdfopen.html
> > > > >>
> > > > >> Regards
> > > > >> Sushant
> > > > >>
> > > > >> On Sat, Aug 11, 2012 at 2:34 PM, Kishore Babu
> <kishoreragi at gmail.com>wrote:
> > > > >>
> > > > >>> Dear Grads users,
> > > > >>>
> > > > >>!> I am quit new to grads ! programming. Could anyone help me
> with the grads
> > > > > ;>> code to create grads data file? I have a netcdf file with
> all the required
> > > > >>> variables in all dimensions. The control file of the data file
> must be like
> > > > >>> the following.
> > > > >>>
> > > > >>> DSET ^T421994JUN.ctl
> > > > >>> TITLE XXXXX 6-hourly analysis data
> > > > >>> UNDEF -9999.00
> > > > >>> options big_endian
> > > > >>> XDEF 128 LINEAR 0.000 2.8125
> > > > >>> YDEF 64 levels -87.8638 -85.0965 -82.3129 -79.5256 -76.7369
> > > > >>> -73.9475
> > > > >>> -71.1578 -68.3678 -65.5776 -62.7874 -59.9970 -57.2066
> > > > >>> -54.4162
> > > > >>> -51.6257 -48.8352 -46.0447 -43.2542 -40.4636 -37.6731
> > > > >>> -34.8825
> > > > >>> -32.0919 -29.3014 -26.5108 -23.720! 2 -20.9296 -18.1390
> > > > >>> -15.3484
> > > > >!;>> -12.5578 -9.76715 -6.97653 -4.18592 -1.39531 1.39531
> > > >>>> 4.18592
> > > > >>> 6.97653 9.76715 12.5578 15.3484 18.1390 20.9296
> > > > >>> 23.7202
> > > > >>> 26.5108 29.3014 32.0919 34.8825 37.6731 40.4636
> > > > >>> 43.2542
> > > > >>> 46.0447 48.8352 51.6257 54.4162 57.2066 59.9970
> > > > >>> 62.7874
> > > > >>> 65.5776 68.3678 71.1578 73.9475 76.7369 79.5256
> > > > >>> 82.3129
> > > > >>> 85.0965 87.8638
> > > > >>> ZDEF 15 levels 1000 925 850 700 500 400 300 250 200 150 100 70
> 50 30 10
> > > > >>> TDEF 120 LINEAR 00Z01jun1994 6hr
> > > > >>> VARS 7
> > > > >>> ps 0 99 surface pressure, Pa
> > > > &g! t;>> z 15 0 geopotential height, m
> > > > >>> ; t 15 0 air temperature, K
> > > > >>> u 15 0 zonal wind, m/s
> > > > >>> v 15 0 meridional wind, m/s
> > > > >>> w 15 0 vertical velocity, Pa/s
> > > > >>> q 15 0 water vapour, kg/kg
> > > > >>> E!NDVARS
> > > > >>>
> > > > >>>
> > > > >>> I have been struggling to get solved for weeks. Your help will
> save much
> > > > >>> of my future...
> > > > >>>
> > > > >>> Thank you in advance,
> > > > >>>
> > > > >>> Yours sincerely,
> > > > >>>
> > > > >>> Kishore
> > > > >>>
> > > > >>> _______________________________________________
> > > > >>> gradsusr mailing list
> > > > >>> gradsusr at gradsusr.org
> > > > >>! > http://gradsusr.org/mailman/listinfo/gradsusr
> > > > >>>
> > > > >>>
> > > > >>
> > > > >>
> > > > >>
> > > > >>
> > > > >> _______________________________________________
> > > > >> gradsusr mailing list
> > > > >> gradsusr at gradsusr.org
> > > > >> http://gradsusr.org/mailman/listinfo/gradsusr
> > > > >>
> > > > >>
> > > > >
> > > > > ________________!_______________________________
> > > > > 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/gra!
> dsusr/attachments/20120811/fd0c0dcb/attachment-0001.html 
> > > > 
> > > > ------------------------------
> > > > 
> > > > Message: 2
> > > > Date: Sat, 11 Aug 2012 10:28:28 -0300
> > > > From: hersala <hersala at gmail.com>
> > > > Subject: Re: [gradsusr] Drawing something (line, point,...) over
> the
> > > > map
> > > > To: GrADS Users Forum <gradsusr at gradsusr.org>
> > > > Message-ID:
> > > >
> <CA+0GtdufZKNhiaQVRXJvKEaz6jPchj6eEc1qWVBKnQWeCW8sGg at mail.gmail.com>
> > > > Content-Type: text/plain; charset="iso-8859-1"
> > > > 
> > > > Dear Tahereh,
> > > > Perhaps this example is useful to you:
> > > >
> http://cookbooks.opengrads.org/index.php?title=Recipe-026:_Using_World_C
> oordinates_to_Annotate_your_Plots
> > > > !
> > > > Regards,
> > > > Hern?n
> > > > 
> > > > 
> > > > On 11 August 2012 00:25, T. haghroosta <h! aghroosta at hotmail.com>
> wrote:
> > > > 
> > > > > Dear Galebonwe,
> > > > >
> > > > > I did it, but unfortunately it didn't work. I got these errors:
> > > > > 1- query error : syntax is query w2xy lon lat
> > > > > 2- draw error : invalid line coordinate
> > > > >
> > > > > Now what should I do?
> > > > >
> > > > > Regards,
> > > > > Tahereh
> > > > >
> > > > > > From: gradsusr-request at gradsusr.org
> > > > > > Subject: gradsusr Digest, Vol 30, Issue 21
> > > > > > To: gradsusr at gradsusr.org
> > > > > > Date: Fri, 10 Aug 2012 10:08:42 -0400
> > > > > >
> > > > > > Send gradsusr mailing list submissions to
> > > > > > gradsusr at gradsusr.org
> > > > > >
> > > > > > To subscribe or uns! ubscribe via the World Wide Web, visit
> > > > > > htt p://gradsusr.org/mailman/listinfo/gradsusr
> > > &!gt; > > or, via email, send a message with subject or body 'help'
> to
> > > > > > gradsusr-request at gradsusr.org
> > > > > >
> > > > > > You can reach the person managing the list at
> > > > > > gradsusr-owner at gradsusr.org
> > > > > >
> > > > > > When replying, please edit your Subject line so it is more
> specific
> > > > > > than "Re: Contents of gradsusr digest..."
> > > > > >
> > > > > >
> > > > > > Today's Topics:
> > > > > >
> > > > > > 1. Re: How to calculate the pressure gradient? (Djordje
> Romanic)
> > > > > > 2. (no subject) (Kouakou Kouadio)
> > > > > > 3. Re: Drawing something (line, point,...) over th! e map
> > > > > > (Galebonwe Ramaphane)
> > > > > ! >
> > > > > >
> > > > > >
> ----------------------------------------------------------------------
> > > > > >
> > > > > > Message: 1
> > > > > > Date: Fri, 10 Aug 2012 14:09:17 +0200
> > > > > > From: Djordje Romanic <djordje8 at gmail.com>
> > > > &g!t; > Subject: Re: [gradsusr] How to calculate the pressure
> gradient?
> > > > > > To: GrADS Users Forum <gradsusr at gradsusr.org>
> > > > > > Message-ID:
> > > > > >
> <CACWmqDdvhR7XwaN-PVDfWrpf8MhRtjt9PFT8KP-adveg9S7XjQ at mail.gmail.com>
> > > > > > Content-Type: text/plain; charset="iso-8859-1"
> > > > > >
> > > > > > Thanks Jeff...
> > > > > >
> > > > > > Cheers,
> > > > > > Djordje
> > > > > >
> > > > > >
> > > > > &! gt;
> > > > > > On Thu, Aug 9, 2012 at 6:30 PM, Jeff D uda
> <jeffduda319 at gmail.com> wrote:
> > > > > >
> > > > > > > Djordje,
> > > > > > > Since cdiff performs a centered difference, if you use the
> expressions
> > > > > > > suggested by another Grads user on this thread, you would
> only want to
> > > > > use
> > > > > > > dx since 2*dx is already implie! d in the definition.
> > > > > > >
> > > > > > > Jeff
> > > !> > > >
> > > > > &g t; >
> > > > > > >On Thu, Aug 9, 2012 at 1:50 AM, Djordje Romanic
> <djordje8 at gmail.com
> > > > > >wrote:
> > > > > > >
> > > > > > >> Thanks,
> > > > > > >>
> > > > > > >> Since I only need the pressure gradient, and not the
> pressure gradient
> > > > > > >> force, I should ! exclude 1/rho. Just one clarification.
> When I use
> > > > > cdiff
> > > > > > >> function for pressure (e.g. in LON direction), should I
> divide it
> > > > > with dx
> > > > > > >> or 2*dx. I believe that 2*dx would be correct.
> > > > > > >>
> > > > > > >> Regards,
> > > > > > >> Djordje
> > > > > > >>
> > > > > > >>
> > > > > > >> On Wed, Aug 8, 2012 at 7:08 PM, Jeff Duda
> <jeffduda319 at gmail.com>
> > > > > wrote:
> > > > > > >>
> > > > > > >>> The pressure gradient is simply 1/rho * del(p), where
> del(p) is the
> > > > > !> >>> gradient operator, which can be displayed in Grads using
> the
> > > > > mathematical
> > > > > > >>> decomposition of the gra! dient operator (i.e.,
> derivatives in the x-
> > > > > and 
> > > > > > ! >>> y-directions). Use cdiff for those derivatives. Note,
> you'll have
> > > > > to
> > > > > > >>> define your x- and y- grid spacing values as well. See the
> examples
> > > > > on the cdiff
> > > > > > >>> help page
> <http://www.iges.org/grads/gadoc/gradfunccdiff.html> for
> > > > > how
> > > > > > >>> to do that.
> > > > > > >>>
> > > > > > >>> Jeff Duda
> > > > > > >>>
> > > > > > >>> On Wed, Aug 8, 2012 at 5:48 AM, Djordje Romanic
> <djordje8 at gmail.com
> > > > > >wrote:
> > > > > > >>>
> > > > > > >>>> Dear Users,
> > > > > > >>>>
> > > > > > >!;>>> I have to calculate the pressure gradient in ! a given
> area (Southeast
> > > > > > >>>> Europe) and I have a pressure date at 2.5 x 2.5 degrees
> (reanalysis
> > > > > data).
> > > > > > >>>> Does anyone know how to calculate it in GrADS and how to
> show the
> > > > > results
> > > > > > >>>> in the vector form?
> > > > > > >>>>
> > > > > > >>>> Thanks in advance.
> > > > > > ! >>>>
> > > > > > >>>> Regards,
> > > > > > >>&gt ;> Djordje Romanic
> > > > > > >>>> M.Sc. in Meteorology
> > > > > > >>>> Cell: +38164 254 3539
> > > > > > >>>> www.linkedin.com (Djordje Romanic profile)
> > > > > > >>>>
> > > > > > >>>>
> > > > > >! >>>> _______________________________________________
> & gt; > > > > >>>> gradsusr mailing list
> > > > > > >>>> gradsusr at grads!usr.org
> > > > > > >>>> http://gradsusr.org/mailman/listinfo/gradsusr
> > > > > > >>>>
> > > > > > >>>>
> > > > > > >>>
> > > > > > >>>
> > > > > > >>> --
> > > > > > >>> Jeff Duda
> > > > > > >>> Graduate research assistant
> > > > > > >>> University of Oklahoma School of Meteorology
> > > > > > >>> Center for Analysis and Prediction of Storms
> > > > > > >>>
> > > > > > >>>
> > > > > > >>> _______________________________________________
> > > > > > >>> gradsusr mailing list
> > > > > &g! t; >>> gradsusr at gradsu! sr.org
> > > > > > >>> http://gradsusr.org/mailman/listinfo/gradsusr
> > > > > > >>>
> > > > > > >>>
> > > > > > >>
> > > > > > >> _______________________________________!________
> > > > > > >> gradsusr mailing list
> > > > >> >> gradsusr at gradsusr.org
> > > > > > >> http://gradsusr.org/mailman/listinfo/gradsusr
> > > > > > >>
> > > > > > >>
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > Jeff Duda
> > > > > > > Graduate research assistant
> > > > > > > University of Oklahoma School of Meteorology
> > > > > > > Center for Analysis and Prediction of Storms
> > > > &g! t; > >
> > > > > > >
> > > > > & gt; > _______________________________________________
> > > > > > > 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/attachme!
> > > > > nts/20120810/f6!a44bc1/attachment-0001.html
> > > > > >
> > > > > > --------- ---------------------
> > > > > >
> > > > > > Message: 2
> > > > > > Date: Fri, 10 Aug 2012 13:29:28 +0000
> > > > > > From: Kouakou Kouadio <kouekkd at gmail.com>
> > > > > > Subject: [gradsusr] (no subject)
> > > > > > To: gradsus! r at gradsusr.org
> > > > > > Message-ID:
> > > > > >
> <CACjBvToO5W70-76DpQq3QfPNa1dQwuP-qHMABPgmr-0MjAE+Lg at mail.gmail.com>
> > > > > > Content-Type: text/plain; charset="iso-8859-1"
> > > > > >
> > > > > > Dear Users,
> > > > > >
> > > > > > I'm trying to install grads-2.0.a8.oga.1 on my laptop.
> > > > > > I respect the different instructions. I use suse 12.1.
> > > > > > When i execute grads i met the following message:
> > > > > >
> > > > > > grads: missing required directory
> > > > > > </opt/opengrads/Linux/i686> --->
> > > > > > at /opt/open!grads/grads line 157.
> > > > > >
> > > > > > In the /opt/opengrads/Linux/ directory i can't found the file
> i686 but i
> > > > > > met x86_64\@..
> > > > &g! t; >
> > > > > > I don't now what i can do.
> > > > > > Please give me any proposition to resolve this problem.
> > > > > >
> > > > > > **>
> > > > > > Thanks in advance.
> > > > > >
> > > > > >
> > > > > > Kouadio Kouakou
> > > > > >
> > > > > > Doctorant au Laboratoire Lapa-MF (Universit? de Cocody
> Abidjan)
> > > > > > C?te d'Ivoire.
> > > > > > -------------- next part --------------
> > > > > > An HTML attachment was scrubbed...
> > > > > > URL:
> > > > >
> http://gradsusr.org/pipermail/gradsusr/attachments/20120810/0b9a4599/att
> achment-0001.html
> > > > > >
> > > > > > ------------------------------
> > > > > >
> > > > > > Message: 3
> > > > > > Date: Fri, 10 Aug 2012 16:08:22 +0200
> > > > > > From: "Galebon! we Ramaphane" <GRamaphane at gov.bw&!gt;
> > > > > > Subject: Re: [gradsusr] Drawing something (line, point,...)
> over the
> > > > > > map
> > > > > > To: "GrADS Users Forum" <gradsusr at gradsusr.org>
> > > > > > Message-ID:
> > > > > >
> <C29C568A454A0849982F608873BBC01D016B6746 at imsnt001.meteo.gov.bw>
> > > > > > Content-Type: text/plain; charset="us-ascii"
> > > > > >
> > > > > > Tahereh,
> > > > > >
> > > > > >
> > > > > >
> > > > > > Try this:
> > > > > >
> > > > > >
> > > > > >
> > > > > > Set line 2 1 6
> > > > > ! > lon1= 120.6
> > > > > > lat1= 8.3
> > > > > > q w2xy lon1 lat1
> > > > > > x1 = subwrd(result,3)
> > > > > > y1 ! = subwrd(result,6)
> > > > > > lon2= 119.3
> > > ; > > > lat2= 9
> > > > > > q w2xy lon2 'lat2
> > > > > > x2 = subwrd(result,3)
> > > > > > y2 = subwrd(result,6)
> > > > > > draw line x1 y1 x2 y2
> > > > > >> > >
> > > > > >
> > > > > > Hope it helps.
> > > > > >
> > > > > >
> > > > > >
> > > > > > Galebonwe Ramaphane
> > > > > >
> > > > > > Department of Meteorological Services
> > > > > >
> > > > > > P.O. BOX 10100
> > > > > >
> > > > > > Gaborone
> > > > > >
> > > > > > Botswana
> > > > > >
> > > > > > Tel: +267 3612200
> > > > > >
> > > > > > Mobile: +267 74435261
> > > > > >
> > > > > >
> > > > &g! t; >
> > > > > > From: gradsusr-bounces at gradsusr.org
> > > > > > [mailto:gradsusr-bounces at gradsusr.org] On Behalf Of T.
> haghroosta
> > > > > > Sent: Thursday, August 09, 2012 7:58 PM
> > > > > > To: gradsusr at gradsusr.org
> > > > > > Subject: Re: [gradsusr] Drawing something (line, point,...)
> over the map
> > > > > >
> > > > > >
> > > > > >
> > > > > > Dear Jennifer,
> > > > > >
> > > > > > I did it but it didn't work. Maybe I didn't do that correctly.
> Co!uld you
> > > > > > please explai! n more. As an example here is my work : I would
> like to
> > > > > > show points (8.3 120.6) and (9 119.3) and also the line
> between them
> > > > > > over my maps.
> > > > > >
> > > > > >
> > > > > > Latitude
> > >! ; > > >
> > > > > > longitude
> > > &g t; > >
> > > > > > 8.3
> > > > > >
> > > > > > 120.6
> > > > > >
> > > > > > 9
> > > > > >
> > > > > > 119.3
> > > > > >
> > > > > >
> > > > > >
> > > > > > Regards,
> > > > > >
> > > > > > Tahereh
> > > > > >
> > > > > >
> > > > > >
> > > > > > > From: gradsusr-request at gradsusr.org
> > > > > > > Subject: gradsusr Digest, Vol 30, Issue 19
> > > > > > > To: gradsusr at gradsusr.org
> > > > > > > Date: Thu, 9 Aug 2012 12:00:01 -0400
> > > > > > >
> > > > > > > Send gradsusr mailing list submissions to> > > >
> gradsusr at gradsusr.org
> > > > > > >
> > > > > > To subscr! ibe or unsubscribe via the World Wide Web, visit
> > > > > > > http://gradsusr.org/mailman/listinfo/gradsusr
> > > > > > > or, via email, send a message with subject or body 'help' to
> > > > > > > gradsusr-request at gradsusr.org
> > > > > > >
> > > > > > > You! can reach the person managing the list at
> > > > > > > gradsusr-owner @gradsusr.org
> > > > > > >
> > > > > > > When replying, please edit your Subject line so it is more
> specific
> > > > > > > than "Re: Contents of gradsusr digest..."
> > > > > > >
> > > > > > >
> > > > > > > Today's Topics:
> > > > > > >
> > > > > > > 1. Drawing something (line, point,...) over the map (T.
> haghroosta)
> > > > > > > 2. Re: How to calculate the pressure ! gradient? (Djordje
> Romanic)
> > > > > > > 3. Re: Dr awing so! mething (line, point,...) over the map
> > > > >!> > (Jennifer Adams)
> > > > > > >
> > > > > > >
> > > > > > >
> ----------------------------------------------------------------------
> > > > > > >
> > > > > > > Message: 1
> > > > > > > Date: Thu, 9 Aug 2012 06:29:08 +0000
> > > > > > > From: "T. haghroosta" <haghroosta at hotmail.com>
> > > > > > > Subject: [gradsusr] Drawing something (line, point,...) over
> the map
> > > > > > > To: <gradsusr at gradsusr.org>
> > > > > > > Message-ID: <SNT104-W2403A6A7F39D90ECA64A85DDCC0 at phx.gbl>
> > > > > > > Content-T! ype: text/plain; charset="windows-1256"
> > > > > > >
> > > > > > >
> > > > > > > Dear All,
> > > > > > ! >
> > > > > > > I have to repeat my question, Is it possible to draw a path
> with
> > > > > > specific coordinates? For example I would like to show the
> position or
> > > > > > the track (moving pa!th) of a typhoon on a map. Is it possible
> to put
> > > > > > some points (with specific coordinates) or lines on a map
> seperate from
> > > > > > contours?
> > > > > > >
> > > > > > > Regards,
> > > > > > >
> > > > > > > Tahereh
> > > > > > > -------------- next part --------------
> > > > > > &g! t; An HTML attachment was scrubbed...
> > > > > > > URL: http://gradsusr.org
> > > > > >
> /pipermail/gradsusr/attachments/20120809/31e826ca/attachment-0001.html
> > > > > > >
> > > > > > > ------------------------------> > > > > >
> > > > > > > Mess age: 2
> > > > > > > Date: Thu, 9 Aug 2012 08:50:25 +0200
> > > > > > > From: Djordje Romanic <djordje8 at gmail.com>
> > > > > > > Subject: Re: [gradsusr] How to ca! lculate the pressure
> gradient?
> > > > > > > To: GrADS Users Forum < gradsusr at gradsusr.org>
> > > > > > > Message-ID:
> > > > > > >
> <CACWmqDci6TS4nRbjv=RRU3bvv!GPW=Q-zRTmGoNTETK+=k3MsYw at mail.gmail.com>
> > > > > > > Content-Type: text/plain; charset="iso-8859-1"
> > > > > > >
> > > > > > > Thanks,
> > > > > > >
> > > > > > > Since I only need the pressure gradient, and not the
> pressure gradient
> > > > > > > force, I should exclude 1/rho. Just one clarification. When
> I use
> > > > > > cdiff
> > > > > > > function for pressure (e.g. in LON! direction), should I
> divide it with
> > > > > > dx
> > > > > > > or 2*dx. I believe that 2*dx would be correct.
> > > > > > >
> > > > > > > Regards,
> > > > > > > Djordje
> > > > > > >
> > > > > > >
> > > > > > > On Wed, Aug 8, 2012 at 7:08 PM, Jeff Duda <jeffd!
> uda319 at gmail.com>
> > > > > > wrote:
> > > > > > >
> > > > > > > > The pressure gradient is simply 1/rho * del(p), where
> del(p) is the
> > > > > > > > gra!dient operator, which can be displayed in Grads using
> the
> > > > >> mathematical
> > > > > > > > deco! mposition of the gradient operator (i.e.,
> derivatives in the x-
> > > > > > and
> > > > > > > > y-directions). Use cdiff for those derivatives. Note,
> you'l! l have to
> > > > > > > > define your x- and y- grid spacing values as well. See the
> examples
> > > > > > on the cdiff
> > > > > > > > help page
> <http://www.iges.org/grads/gadoc/gradfunccdiff.html> for
> > > > > > how to
> > > > > > > > do that.
> > > > > > > >
> > > > > > > > Jeff Duda
> > > > > > > >
> > > > > > > > On Wed, Aug 8, 2012 at 5:48 AM, Djordje Romanic
> > > > > > <djordje8 at gmail.com>wrote:
> > > > > > > >
> > > > > > > >> Dear Users,
> > > > > > > >>
> > > > > > > >> I have to calculate the pressure gradient in a given area
> > > > > > (Southeast
> > > > > > &!gt; >> Europe) and I have a pressure date at 2.5 x 2.5
> degrees (reanalysis
> > > > > > data).
> > > &g! t; > > > >> Does anyon! e know how to calculate it in GrADS and
> how to show the
> > > > > > results
> > > > > > > ; >> in the! vector form?
> > > > > > > >>
> > > > > > > >> Thanks in ad vance.
> > > > > > > >>
> > > > > > > >> Regards,
> > > > > > > >> Djordje Romanic
> > > > > > > >> M.Sc. in Meteorology
> > > > > > > >> Cell: +38164 254 3539
> > > > > > > >> www.linkedin.com (Djordje Romanic profile)
> > > > > > > >>
> > > > > > > >>
> > > > > > > >> _______________________________________________
> > > > > > > >> gradsusr mailing list
> > > > > > > >> gradsusr at gradsusr.org
> > > > > ! > > >> http://gradsusr.org/mailman/li!stinfo/gradsusr
> & gt; > > > > > >>
> > > > > > >>>
> > > > > > > >
> > > > > > > >
> > > > > > > > --
> > > > > > > > Jeff Duda
> > > > > > > > Graduate research assistant
> > > > > > > > University of Oklahoma School of Meteorology
> > > > > > > > Center for Analysis and Prediction of Storms
> > > > > > > >
> > > > > > > >
> > > > > > > > _______________________________________________
> > > > > > > > gradsusr mailing list
> > > > > > > > gradsusr! @gradsusr.org
> > > > > > > > http://gradsusr.org/mailma! n/listinfo/gradsusr
> > > > > > > >
> > > > > > > >
> > > > > > > -------------- next part ---------! -----
> > > > > > > An HTML attachment was scrubbed...
> > > > > > > URL:
> > > > > >
> http://gradsusr.org/pipermail/gradsusr/attachments/20120809/55f3fca3/att
> > > > > > achment-0001.html
> > > > &g!t; > >
> > > > > > > ------------------------------
> > > > > > >
> > > > > > > Message: 3
> > > > > > > Date: Thu, 9 Aug 2012 06:56:13 -0400
> > > > > > > From: Jennifer Adams <jma at cola.iges.org>
> > > > > > > Subject: Re: [gradsusr] Drawing something (line, point,...)
> over the
> > > > > > > map
> > > > > > > To: GrADS Users Forum <gradsusr at gradsusr.org>
> > > > > > > Message-ID:
> <50D53664-74F9-4A5D-9998-DE85D9E72D7A at cola.iges.org>
> > > > > > > Content-Type: text/plain; charset="us-a! scii"
> > > > > > >
> > > > > > > ; Yes. Use 'qw2xy' to convert world coordinates to x,y
> coordinates on
> > > > > > the page. Then use 'draw line'! to connect the points.
> > > > > > > --Jennifer
> > > > > > >
> > > > > > >
> > > > > > > On Aug 9, 2012, at 2:29 AM, T. haghroosta wrote:
> > > > > > >
> > > > > >!; > > Dear All,
> > > > > > > >
> > > > > > &gt; &g! t; I have to repeat my question, Is it possible to
> draw a path
> > > > > > with sp ecific coordinates? For example I would like to show
> the
> > > > > > position or the track (moving path) of a typhoon on a map. Is
> it
> > > > > > possible to put some points (with specific coordinates) or
> lines on a
> > > > > > map seperate from contours?
> > > > > > > >
> > > > > > > >! Regards,
> > > > > > > >
> > > > > > > > Tahereh
> > > > > > > > _______________________________________________
> > > > > > > > gradsusr mailing list
> > > > > > > > gradsusr at gradsusr.org
> > > > > > > > http://gradsusr.org/mailman/listinfo/gradsusr
> > > > > > >
> > > > > > > --
> > > > > > > Jennifer M. Adams
> > > > > > > IGES/COLA
> > > > > > > 4041 Powder Mill Road, Suite 302
> > > > > > > Calverton, MD 20705
> > > > > &!gt; > jma at cola.iges.org
> > > > > > >
> > > > > &gt! ; >
> > > > > > >
> > > > > > > -------------- next part --------------
> > > > > > > An HTML attachment was scrubbed...
> > > > &g! t; > > URL:
> > > > > > http://gradsusr.org/pipe
> rmail/gradsusr/attachments/20120809/20c6500c/att
> > > > > > achment-0001.html
> > > > > > >
> > > > > > > ------------------------------
> > > > > > >
> > > > > > > _______________________________________________
> > > > > > > gradsu! sr mailing list
> > > > > > > gradsusr at gradsusr.org
> > > > > > > http://gradsusr.org/mailman/listinfo/gradsusr
> > > > > > >
> > > > > > >
> > > > > > > End of gradsusr Digest, Vol 30, Issue 19
> > > > > > > ****************************************
> > > > > >
> > > > > > -------------- next part --------------
> > > > > > An HTML at!tachment was scrubbed...
> > > > > > URL:
> > > > > http://gradsusr.org/pipermail/gradsusr/attachments/20120810/77!
> 394017/attachment.html
> > > > > >
> > > > > > ------------------------------
> > > > > >
> > > > > > _______________________________________________
> > > > > > gradsusr mailing li! st
> > > > > > gradsusr at gradsusr.org
> > > > > > http://gradsusr.org/mailman/l istinfo/gradsusr
> > > > > >
> > > > > >
> > > > > > End of gradsusr Digest, Vol 30, Issue 21
> > > > > > ****************************************
> > > > >
> > > > > _______________________________________________
> > > > > gradsusr mailing list
> > > > > gradsusr at gradsusr.org
> > > > > http://gradsusr.org/mailman/listinfo/gradsusr
> > > > >
> > > > >
> > > > -------------- next part --------------
> > > > An HTML attachment was scrub! bed...
> > > > URL: http://gradsusr.org/pipermail/gradsusr/a
> ttachments/20120811/35de0e7f/attachment.html 
> > > > 
> > > > -------------------------!-----
> > > > 
> > > > _______________________________________________
> > > > gradsusr mailing list
> > > > gradsusr at gradsusr.org
> > > > http://gradsusr.org/mailman/listinfo/gradsusr
> > > > 
> > > > 
> > > > End of gradsusr Digest, Vol 30, Issue 26
> > > > ****************************************
> > 
> > Ricardo Hallak
> > 
> > Departamento de Ci?ncias Atmosf?ricas (ACA) 
> > Instituto de Astronomia, Geof?sica e Ci?ncias Atmosf?ricas (IAG) 
> > Universidade de S?o Paulo (USP) 
> > Rua do Mat?o, 1226 - Cidade Universit?ria - S?o Paulo SP 05508-900 
> > Phone.: +55 (11) 3091-2850; 3091-4703 
> > Fax: +55 (11) 3091-4714
> > 
> > 
> > -------------- next part --------------
> > An HTML attachment was scrubbed...
> > URL: htt!
> p://gradsusr.org/pipermail/gradsusr/attachments/20120813/c20fa3f0/attach
> ment.html 
> > 
> > ------------------------------
> > 
> > _______________________________________________
> > gradsusr mailing list
> > gradsusr at gradsusr.org
> > http://gradsusr.org/mailman/listinfo/gradsusr
> > 
> > 
> > End of gradsusr Digest, Vol 30, Issue 28
> > ****************************************
> 
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: http://gradsusr.org/pipermail/gradsusr/attachments/20120813/a0f1abf0/attachment.html 
> 
> ------------------------------
> 
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
> 
> 
> End of gradsusr Digest, Vol 30, Issue 30
> ****************************************
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20120813/f5ed7809/attachment-0003.html 


More information about the gradsusr mailing list