[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

20030122: Plot Point on CIP Map



Greg,

To use GPANOT in your script, you would run the program after your 
gplot2 invocation and befor the gpend command you have, such as:

#!/bin/csh

gdplot2 << EOF
   ...
   stuff
   ....
   r

   e
EOF

gpanot << EOF2
 GDFILE   =  
 SATFIL   =  
 RADFIL   =  
 GAREA    = 22.5;-117;46.5;-64
 PROJ     = STR/90;-100;0/NM
 DEVICE   = gif|cip4.gif|1024;768
 PANEL    = 0
 CLEAR    = n
 SHAPE    = marker
 INFO     = 5/2.7
 LOCI     = #40;-105
 LINE     = 2
 CTYPE    =

EOF2

gpend



In the above GPANOT, note that CLEAR has been set to no, so that you
will overlay your gdplot2 image. The values for SHAPE, INFO, LOCI, and LINE
specify to draw a marker (SHAPE) using marker number 5 and size 2.7
(INFO), to plot at lat;lon = 40.0N, 105.0W (LOCI) and color 2 (LINE).

If you use the "phelp shape" command, you will see the instructions for
the possible markers, symbols, text, lines, etc that you can use to annotate
your plot.

Steve Chiswell
Unidata User Support




>From: Salottolo Greg <address@hidden>
>Organization: UCAR/Unidata
>Keywords: 200301282345.h0SNjO625541

>Hi Steve:
>
>We would like to plot the accident location specified by a lat/lon on the
>CIP map with a symbol (X, box etc ). This will change with each
>investigation.
>
>Thanks for the help.
>
>Greg ..
>
>-----Original Message-----
>From: Unidata Support [mailto:address@hidden]
>Sent: Tuesday, January 28, 2003 5:11 PM
>To: Salottolo Greg
>Cc: address@hidden
>Subject: 20030122: Plot Point on CIP Map 
>
>
>
>Greg,
>
>You have 3 options, depending on whether you intend to use the same
>lat/lon points repeatedly, or they change.
>
>
>1) For relatively fixed locations, or when you want to display
>a large number of points, you can create a station table of
>your locations, then use the STNPLT parameter in GDPLOT2 below to
>plot a marker at the specified station table locations.
>
>2) Use gpanot to plot the symbol, at the specified lat/lon location
>afdter running gdplot2 for an overlay.
>
>3) Use NMAP2 product generation to create a vgf file of your markers 
>and annotations (particularly useful if you have other labels, fronts,
>symbols etc to mark as well). Then, after saving the vgf filem use GPMAP
>to plot the vgf file as an overlay on your GDPLOT2 map.
>
>If you can give me a description of what and how often you want to
>mark the same point, I can make an example for you.
>
>Steve Chiswell
>Unidata User Support
>
>
>>From: Salottolo Greg <address@hidden>
>>Organization: UCAR/Unidata
>>Keywords: 200301221339.h0MDdVx25329
>
>>Good Morning:
>>
>>Below displays Current Icing Potential maps. I would like to plot a symbol
>>at a certain lat and lon. How can I modify the file to do this?
>>
>>Any help is appreciated.
>>
>>Thanks ..
>>
>>******************************
>>
>>#!/bin/csh
>>
>>gdplot2 << EOF > /dev/null
>>\$MAPFIL=hipowo.cia
>>MAP    =32
>>GDFILE =greggem_test
>>GDATTIM=allA00
>>GVCORD =HGHT
>>GLEVEL =5182
>>GAREA  =22.5;-117;46.5;-64
>>PROJ   =STR/90;-100;0/NM
>>DEV    =gif|cip4.gif|1024;768
>>PANEL  =0                                               
>>SKIP   =0                                               
>>SCALE  =2                                               
>>GDPFUN =ICNG
>>TYPE   =f
>>CONTUR =0                                               
>>LATLON =0                                               
>>LINE   =
>>FINT   =0.01;15;25;35;45;55;65;75;85;95
>>FLINE  =0;27;25;23;22;21;20;17;16;15;14
>>HILO   =                                                
>>HLSYM  =                                                
>>CLRBAR =32/V/ /-1|1.0/13/1/hw                            
>>WIND   =0                                               
>>REFVEC =                                                
>>TITLE  =32/-1/ICE - FL170 ~
>>TEXT   =1.5/13/1/hw                                        
>>CLEAR  =YES                                               
>>STREAM =                                                
>>POSN   =0                                               
>>COLORS =                                            
>>MARKER =                                           
>>GRDLBL =0                                               
>>FILTER =NO                                             
>>r
>>
>>ex
>>
>>EOF
>>gpend
>>
>>***********************
>>
>>Greg
>>
>>Gregory D. Salottolo
>>National Resource Specialist
>>Meteorology
>>National Transportation Safety Board
>>490 L'Enfant Plaza  East, SW
>>Washington D.C. 20594-0003
>>Work 202.314.6338
>>Fax 202.314.6339
>>e-mail address@hidden
>>
>>
>
>****************************************************************************
><
>Unidata User Support                                    UCAR Unidata Program
><
>(303)497-8643                                                  P.O. Box 3000
><
>address@hidden                                   Boulder, CO 80307
><
>----------------------------------------------------------------------------
><
>Unidata WWW Service                        http://www.unidata.ucar.edu/
><
>****************************************************************************
><
>