[gradsusr] Drawing something (line, point,...) over the map
Galebonwe Ramaphane
GRamaphane at gov.bw
Fri Aug 10 10:08:22 EDT 2012
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-0003.html
More information about the gradsusr
mailing list