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

20050308: McIDAS Bcakground Colors (cont.)



>From: Unidata Support <address@hidden>
>Organization: UCAR/Unidata
>Keywords: 200503072346.j27Nkbv2002185 McIDAS EU WWDISP PC CW

Hi again Paul,

OK, I am now at a workstation where I can test commands and send you
what I find works:


>I am plottong out the mosaic radar images but wouldnlike a background
>color of white instead of black...but i cant figure out how to do that.

Here is what I did:

- display a NEXRCOMP 1km national composite base reflectivity product:

IMGDISP NEXRCOMP/1KN0R-NAT LINELE=1500 2368 PLACE=C MAG=-5 -5 EU=BREF24 SU=X 
ALL=26 SF=YES REFRESH='EG GRA=(GRA);MAP FILE=OUTLUSAM MCOL=1 WID=1 
GRA=(GRA);BAR (GRA) SU=X X COL=7 ORIENT=VER;TE ?LASTFRM (GRA)'

- list out the display/colors used in the BREF24 enhancement:

EU TABLE
 Brightness  Blue      Green      Red
  min max   min max   min max   min max
  --- ---   --- ---   --- ---   --- ---
    0   2     0   0     0   0     0   0
    3  85     2 128     0   0     0   0
   86  96   240 240   240 240     0   0
   97 107   144 144   144 144     0   0
  108 119    80  80   224 224   128 128
  120 130    64  64   184 184   100 100
  131 141    48  48   144 144    72  72
  142 153    32  32   104 104    44  44
  154 164    16  16    64  64    16  16
  165 175    16  16   192 192   240 240
  176 187    32  32   128 128   240 240
  188 198    32  32    16  16   240 240
  199 209     0   0     0   0   144 144
  210 221   128 128    32  32   176 176
  222 232   160 160    64  64   202 202
  233 243   255 255   255 255   255 255
  244 255   224 224   128 128   255 255
EU: Done

- change the black background to white:

EU MAKE 0 2 WHITE

All white (bright white) seems kind of glaring, so I toned it down to
a gray shade:

EU MAKE 0 2 GRAY

>Also, on the WWDISP i am trying only the watches...but there is a label
>that says warnings...anyway to get rid of that?

I tried:

WWDISP TYPE=SEVWATCH TORWATCH WINWATCH FLOODWATCH TIME=0 23:59:59

and now see the 'Warning' label that you want to get rid of.  It looks
to me that putting up the 'Warning' label when no warning is asked for
is a deficiency/bug in WWDISP.  The only thing I can offer you at this
point is a procedure on how to blank out the label using CW:

- find the location of the center of the label 'Warning' in TV coordinates
  (this will depend on the size of your frame).  For my 700x950 frame, 
  the center of 'Warning' is at 650x64.

- use CW to fill/erase the graphics under the cursor:

PC T 650 64
CW 0 X 15 100

You will probably have to play with the values for PC and CW a bit, but
once you find a set that works for your display, it can easily be
incorporated into scripts that produce displays.

Cheers,

Tom
--
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.