ssec / sift

A visualization application for satellite imagery
http://sift.ssec.wisc.edu/
GNU General Public License v3.0
46 stars 14 forks source link

Add an "inverse" toggle to "Fit to data" (at least for terrestrial IR channels) #368

Open gerritholl opened 1 year ago

gerritholl commented 1 year ago

When applying the "linear" colormap to terrestrial IR channels, we can either set minimum < maximum for dark clouds, or maximum < minimum for bright clouds. The latter is more conventional. When the user chooses "Fit to data", the lowest BT becomes black and the highest BT becomes white (minimum < maximum).

It would be nice to have a little checkbox "invert", that would invert the fitting process, such that the lowest BT becomes white and the highest BT becomes black. This checkbox could be located on the same line where the text "Fit to data:" and the buttons "Current time" and "All times" are located.

Another option for the same effect would be a general option to invert the colormap.

djhoese commented 1 year ago

I forget exactly what these buttons look like off the top of my head, but what about just another button? That way there isn't a weird checkbox that only has an effect for a single click of a button. If you clicked the reset button the invert isn't going to do anything.

Hhhmmm...but you'd have to have two buttons wouldn't you? One for current time and one for all times. Yeah maybe extra buttons just for the invert variants of these isn't a good idea.