aivazis / qed

A web based visualizer of large datasets
BSD 2-Clause "Simplified" License
4 stars 6 forks source link

NISAR GUNW phase display does not allow full adjustment of color scale #55

Closed EJFielding closed 3 months ago

EJFielding commented 4 months ago

Displaying the phase layer of NISAR GUNW files only allows phase between 0 and 2 pi or 0 and 4 pi radians to be selected in the color scale adjustment. This makes it not usable for most GUNW files.

EJFielding commented 4 months ago

Here is a screenshot from QED displaying an ISCE2 UNW file that has the same problem. The display settings tool only allows the unwrapped phase color scale to go from 0 to 2-pi. It seems that all but a tiny area of this particular interferogram is outside that range and shown as "no data". Note that /home/jovyan/scr/ is a symbolic link that I have that is actually /scratch/fielding/. ISCE2_ALOS2_phase

aivazis commented 4 months ago

@EJFielding, things should be better now, after 208011200ac4a7d25a3c52f848746fd780245b38. do you mind giving it a try?

the initial range limits are still a bit too wide for many of the images i've tried, making the selection of a sensible value range a bit too twitchy for my taste. i have some ideas about how to fix that, so that's next.

Also, let's find some time for me to show you how you can simplify the process of installing updates on the on-demand system so staying current with progress is not painful. Also, i can show you how to mount your scratch area as a persistent archive, which will help with doing the same for your favorite s3 buckets

aivazis commented 4 months ago

Here is a screenshot for the GUNW in the NISAR product samples web site:

gunw
parosen commented 4 months ago

Eric, you should respond to Michael if this is working for you. He prioritized fixing it, and would appreciate rapid feedback.

EJFielding commented 4 months ago

Sorry, I missed the post on GitHub

Sent from Outlook for iOShttps://aka.ms/o0ukef


From: Paul Rosen @.> Sent: Friday, March 15, 2024 4:23:33 PM To: aivazis/qed @.> Cc: Fielding, Eric J (US 329A) @.>; Mention @.> Subject: [EXTERNAL] Re: [aivazis/qed] NISAR GUNW phase display does not allow full adjustment of color scale (Issue #55)

Eric, you should respond to Michael if this is working for you. He prioritized fixing it, and would appreciate rapid feedback.

— Reply to this email directly, view it on GitHubhttps://urldefense.us/v3/__https://github.com/aivazis/qed/issues/55*issuecomment-2000620336__;Iw!!PvBDto6Hs4WbVuu7!Jvk2ndrHrdV_4dht0IhAdFu5BXXS7FXBUO1YS7uaGvyELANk3Jg2hS8pPfVRNTN2QdNbEiuReCPIZZ-5Rn31dhI_V4TmfQf2z9U$, or unsubscribehttps://urldefense.us/v3/__https://github.com/notifications/unsubscribe-auth/ABXK4SEXVXJWVORKIPMA3QLYYN7HLAVCNFSM6AAAAABEH74N62VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMBQGYZDAMZTGY__;!!PvBDto6Hs4WbVuu7!Jvk2ndrHrdV_4dht0IhAdFu5BXXS7FXBUO1YS7uaGvyELANk3Jg2hS8pPfVRNTN2QdNbEiuReCPIZZ-5Rn31dhI_V4Tmd77asmc$. You are receiving this because you were mentioned.Message ID: @.***>

EJFielding commented 4 months ago

Thanks to some additional help from Michael with an extra fix and debugging, I got a reasonable display of an unwrapped interferogram from the 2024 Japan earthquake. This has a larger range of phase values from -13 to +24 radians, so it was important to adjust the color scale.

ISCE2-unw-display

This is from an ISCE2 alos2App processing, so the "no data" where there was no good unwrapped phase is set to zero radians.

I used the qed.zip file that Michael created for the NISAR On-demand system, so this is not yet in the main version.

EJFielding commented 4 months ago

I would like to make another related request to allow us to set the zero unwrapped phase to black or white, since it is "no data". Should I open another issue?

aivazis commented 4 months ago

yes, please. something to the effect to allow a "no-data" value to have a configurable color. i was going to use transparent, which let's the background color through, but maybe you prefer something different