Hi Jason, The unexpected color is GEMPAK's input character limit being exceeded for the FLINE definition, so the last color remap does not take (;8=0:153:204) When this happens it's best to move to a custom colorfile, a modified coltbl.xwp in the present working directory of your script. In this way you can control the specific RGB values of all colors rather than only a few. I tested and confirmed this works, simply add this file to pwd and use FLINE=2;3;4;5;6;7;8 > I read that I should be able to make colors based on rgb parameters in > gempak and also do this for the filling of contours. However I tried doing > this and the colors got messed up. Attached is my script. Can you help me > to tweak this script so I can get desired results. I want to start with > white and graduate build up to blue then go from blue to cyan and then into > green colors for wave heights of 1.5,2,2.5,3,3.5,4,4.5. > > gdcntr << E1WV > GDFILE=wave_file > GDATTIM=F024 > GLEVEL=0 > GVCORD=none > GFUNC=htsgw > TEXT=M/1/2/121 > CINT=1.5;2;2.5;3;3.5;4;4.5 > LINE=1/12/3/1 > PROJ=ced > GAREA=26.9;-93.3;51.0;-25.8 > PANEL=0;.6;1;.95/32/1/3 > CTYPE=F > FINT=1.5;2;2.5;3;3.5;4;4.5 > FLINE=2=240:240:240;3=200:200:255;4=150:150:255;5=100:100:255;6=50:50:255;7=0:0:255;8=0:153:204 > CLRBAR=1/h/UC/0.5;0.97/0.35;0.02|0.55/2/111/1/l/hw > MAP=1 > LATLON=0 > TITLE=0 > CLEAR=no > r > > E1WV > > > The contours after height 4, the color should be blue green but for some > strange reason it is brown. How can I get this color in fline to appear > blue green. That is color 8 in the fline reference. > > Thank you for your help. > > -Jason > -- > Jason Snyder PhD > > Ticket Details =================== Ticket ID: NAB-762187 Department: Support GEMPAK Priority: Normal Status: Open =================== NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.
Attachment:
coltbl.xwp
Description: Binary data