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

[GEMPAK #DMR-506008]: Adding New Entries to IMGTYP.TBL

This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.


  • Subject: [GEMPAK #DMR-506008]: Adding New Entries to IMGTYP.TBL
  • Date: Fri, 15 Oct 2010 16:20:18 -0600

Andrew,

I know there are some products that have 256-value lutfil, though most have 
between 90 - 128 colors specified. 

The actual code, however, scales to 95 colors if the entries in the lutfil are 
greater than that number, so you may have difficulty representing and 
displaying your area files with a perfect 1-to-1 correspondence between data 
value and color. This obvious isn't an ideal way to display satellite images 
but it's how GEMPAK works at this point (this 95 color standard has been a 
thorn in my side for a while now).

You may need to play around with the entries inyour lutfil to see if you get 
the result you're after (remember that after any change made to imgtyp.tbl, 
you'll have to exit and re-run whatever gplt program you are using).

Michael



> Michael,
> 
> You brought up an important point where I may have been unclear or mistaken.
> Suppose that I have 256 very specific colors, such as a cloud mask, that I 
> would like to apply.
> If they're assigned pixel values of 0 to 255 in the image, then the first 
> entry in the table will select the color of '0', and so forth?
> 
> Thanks,
> Andrew
> 
> 

Ticket Details
===================
Ticket ID: DMR-506008
Department: Support GEMPAK
Priority: Normal
Status: Open