Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dataset NaNs not rendered as transparent #413

Open
ameraner opened this issue May 7, 2024 · 0 comments
Open

Dataset NaNs not rendered as transparent #413

ameraner opened this issue May 7, 2024 · 0 comments
Labels
bug Something isn't working component: scene graph EUM-WIP This issue is (scheduled to) being worked on by EUM

Comments

@ameraner
Copy link
Collaborator

ameraner commented May 7, 2024

Ported from EUM Gitlab issue 152

Issue description
When loading a dataset that contains NaNs, the NaN values are rendered as black, rather than transparent, making they display of such datasets on top of other layers less useful.

How to recreate

  1. Load a SEVIRI image (e.g. VIS008 channel)
  2. Load an AVHRR granule for the same time period (e.g. channel 4)
  3. Change driving layer to AVHRR.

As can be seen in the screen shot below, with the AVHRR granule loaded on top of the SEVIRI full disk image, all pixels outside the actual AVHRR granule are shown as black, hence hiding the SEVIRI image below. Only if the transparency of the AVHRR layer is increased, we start to see the SEVIRI image (second screen shot).

Expected behavior
NaNs shall be rendered as transparent, such that no increase in transparency of the upper layer is needed in order to see data outside the AVHRR granule.

Other remarks
This is not only a problem for LEO data, but also for GEO data not covering the full disk. E.g. if you would like to display a L2 cloud product (with NaNs for all cloud-free pixels) on top of a L15/L1C image.

image
image

Copying the comments from EUM issue 152:
image
image

@ameraner ameraner added bug Something isn't working component: scene graph EUM-WIP This issue is (scheduled to) being worked on by EUM labels May 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working component: scene graph EUM-WIP This issue is (scheduled to) being worked on by EUM
Projects
None yet
Development

No branches or pull requests

1 participant