## Custom Color Lookup Table

I have been working on creating a new Color Look-Up Table (a CLUT or LUT) for GOES-R series satellite imagery. As mentioned on my main GOES Page, GOES is color blind. That is, it does not “see” in Red Green Blue (RGB), there is no ‘green’ channel. The ABI has 16 separate bands, and of these bands 02 and 13 are used to create a false-color image. The Near-Infrared Band or ‘veggie” (which is referred to because of the strong elected signal from the vegetated surface can be used to fill in the green wavelength.

In the software goestools, Color images are generated by comparing different parts of the visual/infrared spectrum against a lookup table. The default CLUT in goestools was developed by Harry Dove-Robinson over at wx-star.com and without his insight, I would be still working on creating my version!
I am using the same wx-star goes16 band 02 curve developed by wx-star.

This took a lot of trial and error, but here is Version 2.8
On the left is the ‘stock” WX-Star LUT with 20% Saturation that comes by default with goestools.

On the right is my version of the CLUT to enhance landmass imagery. In order to enhance the landmass while also not making the clouds too white and losing cloud layer details took a bit of finessing. which is why portions here over northern South America look a bit grey-blue.

This new CLUT is an experiment, and I still need a “Winter” season to see if the tilt of the earth in relation to the sun will render the Northern Hemisphere too “blue”.

#### How to add my version of the CLUT to Goestools.

This is the way I have been doing this through the testing phase and this has worked for me

2. SSH into your PI with PuTTY or whatever you use
3. Copy and move the new CLUT with the same filename to your \home\pi\goes directory.
Again I put it here during all the testing because I did not want to change file permissions or have it overwritten in a future goestools update.
4. Navigate to your goestools folder:
cd /usr/share/goestools/

5. Open your goesproc-goesr.conf file with this command

sudo nano goesproc-goesr.conf

6. Edit the goesproc-goesr.conf and add the following to the top of the file:
NOTE: There are two scripts, you should add one or the other, depending on which satellite you are receiving. You could also add both if you wish, as I sometimes move my dish to point at GOES17.

##### FOR GOES 16 ONLY
# GOES-16 ABI false color CUSTOMLUT VERSION 2.8 and jpg.
[[handler]]
type = "image"
origin = "goes16"
regions = [ "fd" ]
channels = [ "ch02", "ch13" ]
directory = "./goes16/{region:short|lower}/CUSTOMLUT/{time:%Y-%m-%d}"
filename = "GOES16_{region:short}_FC_CUSTOMLUT{time:%Y%m%dT%H%M%SZ}"
format = "jpg"
json = false

[handler.remap.ch02]
path = "/usr/share/goestools/wxstar/wxstar_goes16_ch02_curve.png"

[handler.lut]

[[handler.map]]

[[handler.map]]
path = "/usr/share/goestools/ne/ne_50m_admin_1_states_provinces_lakes.json"
##### FOR GOES 17 ONLY
# GOES-17  ABI false color CUSTOMLUT VERSION 2.8 and jpg.
[[handler]]
type = "image"
origin = "goes17"
regions = [ "fd", "m1", "m2" ]
channels = [ "ch02", "ch13" ]
directory = "./goes17/{region:short|lower}/CUSTOMLUT/{time:%Y-%m-%d}"
filename = "GOES17_{region:short}_FC_CUSTOMLUT{time:%Y%m%dT%H%M%SZ}"
format = "jpg"
json = false

# This reuses the GOES-16 contrast curve assuming it is identical
[handler.remap.ch02]
path = "/usr/share/goestools/wxstar/wxstar_goes16_ch02_curve.png"

# This reuses the GOES-16 LUT assuming it is identical
[handler.lut]

[[handler.map]]

[[handler.map]]


7. After you have edited the file , Ctrl-X then Yes, then save as the original file name, goesproc-goesr.conf

sudo reboot