geodesymiami / insarmaps

3 stars 0 forks source link

Bug in map display using 'displacement' #42

Closed falkamelung closed 3 years ago

falkamelung commented 3 years ago

There is a bug with the displacement scale. When you click on half-scale, double-scale it does not always do what it is supposed to do to. It goes first in the wrong direction: half-scale halfs the numbers in the colorscale legend but doubles the numbers used for display. I ended up with three different maps for the same numbers in the colorscale legend

https://insarmaps.miami.edu/start/19.8701/-154.5694/8.1013?flyToDatasetCenter=false&startDataset=S1_IW23_124_0060_0063_20141213_20191229&pointLat=19.39984&pointLon=-155.30419&minScale=-40&maxScale=40&startDate=20180420&endDate=20180725&colorscale=displacement

image

https://insarmaps.miami.edu/start/19.8701/-154.5694/8.1013?flyToDatasetCenter=false&startDataset=S1_IW23_124_0060_0063_20141213_20191229&pointLat=19.39984&pointLon=-155.30419&minScale=-40&maxScale=40&startDate=20180420&endDate=20180725&colorscale=displacement

image

https://insarmaps.miami.edu/start/20.0374/-154.4069/8.0773?flyToDatasetCenter=false&startDataset=S1_IW23_124_0060_0063_20141213_20191229&minScale=-40&maxScale=40&colorscale=displacement

image
stackTom commented 3 years ago

Hmm. I am unsure how to reproduce. Can you tell me how to reproduce this? I clicked on all three links, and I get the same plot for all three.

stackTom commented 3 years ago

Fixed. Please check it. Please check it, but it seems working good now on my end (I figured out how to reproduce the error).