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

[BUG] Rainfall forecast layer colour not consistent when 2+ layers active #1544

Open
tenda1-wbm opened this issue Aug 17, 2024 · 1 comment

Comments

@tenda1-wbm
Copy link

tenda1-wbm commented Aug 17, 2024

Who notified us about the bug?

Tendai Mbwanda

Describe the bug

The colour of the "Rainfall forecast" layer is altered by (de)activating the "Cropland" layer, except outside the spatial extent of the other layer. Or probably some map algebra is done and what is displayed is the mix of the two colours. As a result, when "Rainfall forecast" and "Cropland" are both activated, you will predominantly see the colour of "Cropland" unless the two layers do not overlap. It then becomes difficult to determine the amount of rainfall that is forecast, even though the square shows the extent of the forecast.

To Reproduce

Steps to reproduce the behavior:

  1. Ensure you are looking at the Drought prediction view of the platform during a trigger.
  2. Drag the map up until you see "MASAKA", "Kaliziso" and "Rakai" in the viewport.
  3. Activate the "Rainfall forecast" layer.
  4. Activate the "Cropland" layer.
  5. Observe the colour changes in the orange square.

Expected behavior

I expected the colour of the "Rainfall forecast" square to persist even after activating "Cropland", and that of "Cropland" to be retained as well. Alternatively, I would've expected to still be able to determine the correct amount of rainfall forecast after activating the other layer. See screenshots 3 and 4 for comparison with another layer that is not "Cropland".

Screenshots

Only Rainfall forecast activated
image

Only Cropland activated
image

Rainfall forecast and Cropland activated
image

Rainfall forecast and Population activated
image

Desktop (please complete the following information):

  • OS: Windows 10
  • Browser: Firefox 128.0.3 (64-bit)
@tenda1-wbm
Copy link
Author

The bug can also be seen here with 3 layers active after following the 5 steps laid out in the issue and then activating a third layer. In this case "Population".

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant