ssec / sift

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

Smaller increment for arrows controlling color limits for reflectance data #369

Open gerritholl opened 1 year ago

gerritholl commented 1 year ago

Reflectance data are calibrated between 0 and 1 (mostly). When we control the color limits using the little arrows, the limits always increase or decrease by 1. This is a useful increment for brightness temperatures, but it is not useful for reflectances. For reflectances, it would be more useful if clicking those arrows would increase/decrease the corresponding value by 0.1 or 0.01. For Gamma it changes the value by 0.1, which is good.

djhoese commented 1 year ago

I suppose the smartest thing to do would be to take the min/max and choose a step based on that. I could have sworn that's how I implemented it in the past...let me see if I can find the exact piece of code.

djhoese commented 1 year ago

@ameraner side note: I wonder if I should add a "user experience" github label. This isn't exactly a bug, but is important.

djhoese commented 1 year ago

Ah looks like we don't actually set it at all for the vmin/vmax "spin boxes" so it must default to 1.0.