I am doing a RGB image using python for GOES16 Air Mass product, I extract the information for the range of interest like this:
RED[RED < -26.2] = -26.2
RED[RED > 0.6] = 0.6
GREEN[GREEN < -43.2] = -43.2
GREEN[GREEN > 6.7] = 6.7
BLUE[BLUE < 243.9] = 243.9
BLUE[BLUE > 208.5] = 208.5
And makes the RGB:
RGB = np.zeros((5424,5424,3))
RGB[:,:,0] = (RED-np.min(RED))/(np.max(RED)-np.min(RED))
RGB[:,:,1] = (GREEN-np.min(GREEN))/(np.max(GREEN)-np.min(GREEN))
RGB[:,:,2] = (BLUE-np.min(BLUE))/(np.max(BLUE)-np.min(BLUE))
I think it's ok because it works in the generation of other products, like S02 or Volcanic Ash. The problem is that I am getting a yellowish image (like there is no contribution for the blue color), and I don't know what is wrong.