NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

To learn about what's going on, see About the Archive Site.


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

19990826: Color Allocation



Dave,

The best solution would be to comment out the nwx and ntrans options from
the ntl launcher in the $NAWIPS/tables/ntl/ntl.tbl file if you want the
color table functionality without the other program options.

Steve Chiswell
Unidata User Support

On Thu, 26 Aug 1999, David J. Knight wrote:

> Hi Chiz,
> > 
> > Ntl will place a tool launcher on your screen and allocate the color map,
> > or report a failure if you do not have enough colors available. By
> > default, ntl will try to allocate 128 satellite colors, 33 gempak graphics
> > colors and 16 radar colors = 177 total colors. If you have fewer
> > than 177 colors available, then a message to how many colors are available
> > will printed out by ntl. If your default visual is not 8 bit, then you
> > will receive a NCALOC -46 message.
> 
> Is it possible to have an individual program (like nsat for instance)
> allocate all the colors it might need when started up.
> Better, can you tell nsat how many colors to use when it
> is started up from the command line?
> 
> I'd rather not have people use ntl right now since we do not
> have the pqact.conf set up for all its capabilities
> (and frankly weather beats the heck out of the ntl equivalant
> for our purposes). I'd rather not have users complain that
> all functions do not work, and, I'd rather not go through
> the trouble of making them all work... (right now nsat
> and garp are the only non-standard gempak programs I tell
> people about - we used to use ntrans a little as well, but
> its limited capabilities quickly lost favour). I'm stongly
> leaning toward only supporting the best apps for a particular
> purpose rather than keeping them all alive...
> 
> David
> 
> 
> 
>