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

[GEMPAK #ORZ-184019]: using states of Argentina map in GEMPAK



Gustavo,

I believe it's simply a matter of MAP color.  to get the white background I'm 
guessing you either modified coltbl.xwp or executed GPCOLOR before GPMAP.  
either way, you'll want to control your map colors with additional MAP 
definitions.  i've provided an example below, but this assumes the default 
black map background color.

in GPMAP, with 

$mapfil = hipowo.cia + histar.uni
map = 5/1/2 + 2/1/1

I was able to produce the following map:

http://i.imgur.com/ZXZMD.gif

However, I'm not entirely sure why you're not seeing s. american country 
boundaries plotted with the same color as argentinian states.  also it seems 
that the state boundaries are being plotted with color = 11 (pink!) while MAP = 
1/1.

Regardless of this, I'd suggest you try the multiple map color definition (map 
= 5/1/2 + 2/1/1) to see if this fixes the problem.

If not I'd like to see the entire script that produces the image you linked, 
and also would like to see your current $GEMTBL/colors/coltbl.xwp

Best,

Michael James
Unidata

> Hi Tom
> 
> I'm using Argentinean province plots, with gpmap. It worked nice but for
> a reason I don't know it stopped to plot another countries like Chile,
> Uruguay and Brazil.
> 
> As I've read your support help, with gpmap, the maps you want can be
> indicated by a command like this:
> 
> mapfil =  hipowo.cia + histar.uni
> 
> There is more information below about this problem. Could you please
> orientate me?
> 
> Best regards,
> Gustavo
> 
> Ps
> The script is:
> 
> /home/ldm/gpitt/arg_super.exe
> 
> Where the gpmaps part is:
> gpmap << EOFMAP
> mapfil =  hipowo.cia + histar.uni
> AREA =  -65;-110;-10;-40
> GAREA =  -55;-85;-20;-45
> SATFIL   =
> RADFIL   =
> IMCBAR   =
> DATTIM   = ${hour}
> COLORS   = 32;4;17;18;7;32
> MAP      = 1/1
> LATLON   = 1/2///5;5
> TITLE    =
> CLEAR    = n
> PANEL    = all
> DEVICE   = gif | /home/ldm/web/sup/argobs${date}_${hour}.gif | 850
> ; 850
> PROJ     = CED
> FILTER   = 1
> TEXT     = .7/1/HW
> LUTFIL   =
> STNPLT   =
> CLRBAR   = 0
> LINE     = 2
> 
> 
> Run
> .....
> 
> And example of it is:
> 
> http://www.unidata.at.fcen.uba.ar/sup/argobs20110221_13.gif
> Can you see that it's missing Uruguay, Chile and so on???
> 
> Ps2
> Can it be that the settings change as some scripts run? I don't know
> where the problem is!!!
> 
> 
> On Mon, 07 Feb 2011 17:29:11 -0700, "Unidata Support" wrote:
> > Hi Gustavo,
> >
> > re: GEMPAK map of the states of Argentina
> >> thank you... I uncompressed it .. all right...
> >> I could test it .. using "gpmap" yet I found some
> >> difficulty to run with our scripts. For example
> >>
> >> /home/ldm/gpitt/arg_super.exe
> >>
> >> Here it runs  "sfmap" in order to plot metars
> >> but I don't realize how to add the new map.
> >>
> >> Have I used both "sfmap" plus "gpmap" at the same time?
> >>
> >> I you can help me I would appreciate since
> >> I 'm trying without any hit. Maybe you have a template
> >> or something like that...
> >
> > The following should be the information you need:
> >
> > http://www.unidata.ucar.edu/software/gempak/tutorial/maps.html
> >
> > An example of using $MAPFIL is included at the end of GPMAP / 3.1.4
> > section.
> >
> >
> http://www.unidata.ucar.edu/software/gempak/tutorial/3.1_mapping.html#3.1.4
> >
> > Please let us know if this helps...
> >
> > Cheers,
> >
> > Tom
> 


Ticket Details
===================
Ticket ID: ORZ-184019
Department: Support GEMPAK
Priority: Normal
Status: Open