geodesymiami / insarmaps

3 stars 0 forks source link

Color on displacement incorrect #80

Closed stackTom closed 1 year ago

stackTom commented 1 year ago

With all this reference point changes, a new bug has been introduced where coloring on the fly on displacement yields wrong results.

Examples to come.

stackTom commented 1 year ago

Example URL: https://insarmaps.miami.edu/start/-0.8063/-91.1374/13.0834?flyToDatasetCenter=false&startDataset=S1_IW3_106_1177_1182_20161119_20180525&pointLat=-0.81225&pointLon=-91.15171&refPointLat=-0.82923&refPointLon=-91.16045&minScale=-5&maxScale=5&startDate=20170506&endDate=20170729&colorscale=displacement

After zooming in, on the fly recoloring would yield a different (incorrect) colored dataset. Bug was due to certain functions in FeatureSelector.js not taking into account whether they were in displacement vs velocity recoloring mode.

stackTom commented 1 year ago

Fixed.