Dear SNAP-Team,
I am using SNAP for my teaching at university since years, but I never took the time to report some errors in SNAP which exist since years. I want to change this now and I will try to post existing problems in SNAP during the next weeks while I am teaching my winter classes.
First Problem:
The histogram tool doesn’t refresh properly.
When you open a histogram tool for a single band and change the parameters (#bins, min, max) you should be able to refresh the view (refresh view button) every time when changing at least one of the options (right?). But this doesn’t work. When you change the bins, it very often works and the “refresh view” button becomes available again. But when you just change min or max, it doesn’t work.
Example:
Let`s say you set the bins to 512, the min to 10 and the max to 255. Now you press “refresh view”. Now you get a histogram. Afterwards, you want to change the min to zero. But after changing the number, the “refresh view” is not available again. Even when you use enter after setting the new value for min. This is a big problem, when you try to adjust your histogram to the possible value range of your data (for an export and data comparison) and are still experimenting with the appropriate setting as my students do a lot. My students often get very frustrated, because they have to try out different setups and this programming mistake hinders them.
Furthermore a wish:
The “thinking in bins” is very problematic for simple Integer data - lets say 8bit Landsat 7 data. Bins are not really useful for this type of data. Furthermore, the right setting within the histogram tool is very strange now. If you want to have bin centers that directly match the integer values and if you want to capture all possible values from 0 to 255, then you have to select the following setup:
#bins: 256
min: -0.5
max: 255.5
This is not very intuitive, not a single student understands, why this is so complicated. Even I don’t understand. Can`t you add an option for integer data? I often use the “copy data to clipboard” function and let my students create “band histogram comparisons”, but this is much easier when bot histograms of diffent bands are exported with the same “bins”/categories.
I hope I could explain my concerns/the problems in an understandable way. Please feel free to ask questions if something remains unclear.
Best regards,
Geo