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

Jennifer Adams jma at cola.iges.org
Thu Aug 9 14:07:53 EDT 2012


You must have already drawn a plot of something in order to set up the scaling environment for converting world to xy coordinates. Then use these commands


ga-> q w2xy 120.6 8.3
X = 8.19231  Y = 2.36538
ga-> q w2xy 119.3 9
X = 2.35897  Y = 6.13462
ga-> draw line 8.19231 2.36538  2.35897  6.13462


The args to draw line are the results returned by the two 'q w2xy' commands. 
--Jennifer




On Aug 9, 2012, at 1:58 PM, T. haghroosta wrote:

> 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/attachment-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/attachment-0001.html 
> > 
> > ------------------------------
> > 
> > _______________________________________________
> > gradsu! sr mailing list
> > gradsusr at gradsusr.org
> > http://gradsusr.org/mailman/listinfo/gradsusr
> > 
> > 
> > End of gradsusr Digest, Vol 30, Issue 19
> > ****************************************
> _______________________________________________
> 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/ae26b572/attachment-0003.html 


More information about the gradsusr mailing list