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

T. haghroosta haghroosta at hotmail.com
Fri Aug 10 23:25:47 EDT 2012


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 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: How to calculate the pressure gradient? (Djordje Romanic)
> 2. (no subject) (Kouakou Kouadio)
> 3. Re: Drawing something (line, point,...) over the map
> (Galebonwe Ramaphane)
> 
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Fri, 10 Aug 2012 14:09:17 +0200
> From: Djordje Romanic <djordje8 at gmail.com>
> 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
> 
> 
> 
> On Thu, Aug 9, 2012 at 6:30 PM, Jeff Duda <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 implied in the definition.
> >
> > Jeff
> >
> >
> > 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 gradient 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,
> >>>> 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/listinfo/gradsusr
> >>>>
> >>>>
> >>>
> >>>
> >>> --
> >>> Jeff Duda
> >>> Graduate research assistant
> >>> University of Oklahoma School of Meteorology
> >>> Center for Analysis and Prediction of Storms
> >>>
> >>>
> >>> _______________________________________________
> >>> 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
> >>
> >>
> >
> >
> > --
> > Jeff Duda
> > Graduate research assistant
> > University of Oklahoma School of Meteorology
> > Center for Analysis and Prediction of Storms
> >
> >
> > _______________________________________________
> > 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/20120810/f6a44bc1/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: gradsusr 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/opengrads/grads line 157.
> 
> In the /opt/opengrads/Linux/ directory i can't found the file i686 but i
> met x86_64\@..
> 
> 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/attachment-0001.html 
> 
> ------------------------------
> 
> Message: 3
> Date: Fri, 10 Aug 2012 16:08:22 +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:
> <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
> 
> 
> 
> 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. Could you
> please explain 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
> 
> 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 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. Drawing something (line, point,...) over the map (T. haghroosta)
> > 2. Re: How to calculate the pressure gradient? (Djordje Romanic)
> > 3. Re: Drawing 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-Type: 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 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 
> > -------------- next part --------------
> &g! t; An HTML attachment was scrubbed...
> > URL: http://gradsusr.org
> /pipermail/gradsusr/attachments/20120809/31e826ca/attachment-0001.html 
> > 
> > ------------------------------
> > 
> > Message: 2
> > Date: Thu, 9 Aug 2012 08:50:25 +0200
> > From: Djordje Romanic <djordje8 at gmail.com>
> > Subject: Re: [gradsusr] How to calculate the pressure gradient?
> > To: GrADS Users Forum <gradsusr at gradsusr.org>
> > Message-ID:
> > <CACWmqDci6TS4nRbjv=RRU3bvvGPW=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
> > > gradient operator, which can be displayed in Grads using the
> mathematical
> > > decomposition of the gradient 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 anyon! e know how to calculate it in GrADS and how to show the
> results
> > ; >> in the vector form?
> > >>
> > >> Thanks in advance.
> > >>
> > >> 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/listinfo/gradsusr
> > >>
> > >>
> > >
> > >
> > > --
> > > Jeff Duda
> > > Graduate research assistant
> > > University of Oklahoma School of Meteorology
> > > Center for Analysis and Prediction of Storms
> > >
> > >
> > > _______________________________________________
> > > gradsusr mailing list
> > > gradsusr at 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 
> > 
> > ------------------------------
> > 
> > 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-ascii"
> > 
> > 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,
> > > 
> > &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
> > jma at cola.iges.org
> > 
> > 
> > 
> > -------------- next part --------------
> > An HTML attachment was scrubbed...
> > URL:
> http://gradsusr.org/pipermail/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 attachment was scrubbed...
> URL: http://gradsusr.org/pipermail/gradsusr/attachments/20120810/77394017/attachment.html 
> 
> ------------------------------
> 
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
> 
> 
> End of gradsusr Digest, Vol 30, Issue 21
> ****************************************
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20120811/470c377d/attachment-0003.html 


More information about the gradsusr mailing list