Combo Overlay with masking: Difference between revisions

From Tygron Support wiki
Jump to navigation Jump to search
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{being updated}}
This page describes a use case for implementing a [[Combo Overlay|combo overlay]].
This page describes a use case for implementing a [[Combo Overlay|combo overlay]].


Line 14: Line 16:
==Formula==
==Formula==


We want to only show the highest rainfall values, so we want to use all values that are greater then 49 cm (0,049m), and only of the last toimeframe (25 in this case). This gives us the following formula
We want to only show the highest rainfall values, so we want to use all values that are greater then 49 cm (0,049m), and only of the last timeframe (25 in this case). Using  the [[Combo Overlay#Operators|operators table]], this gives us the following formula:


<code>MUL(GTE(A25, 0.049), A25)</code>
<code>MUL(GTE(A25, 0.049), A25)</code>
Line 28: Line 30:
Image:Enter_formula_in_field2.jpg|Enter the formula in the Formula field
Image:Enter_formula_in_field2.jpg|Enter the formula in the Formula field
image:Custom_legend_combo_with_features2.jpg|Adjust a custom legend
image:Custom_legend_combo_with_features2.jpg|Adjust a custom legend
Image:Select_Update_Now1.jpg|Select 'Update Now'
Image:Select_Update_Now2.jpg|Select 'Update Now'
</gallery>
</gallery>
{{clear}}
{{clear}}

Latest revision as of 08:35, 10 December 2020

Please note: This page is currently being updated.


This page describes a use case for implementing a combo overlay.

Use Case Description

How can I 'mask' (filter out) all values of a rainfall overlay that is not of the highest range? In this case we use the default highest range of 50 cm or more.

For this we need to add a rainfall overlay and a formula we can use to mask the values that are too low.

Formula

We want to only show the highest rainfall values, so we want to use all values that are greater then 49 cm (0,049m), and only of the last timeframe (25 in this case). Using the operators table, this gives us the following formula:

MUL(GTE(A25, 0.049), A25)

Where A25 is the last time frame of the rainfall overlay.

How to

How to add a Combo Overlay with masking:
  1. Add a rainfall overlay (give it a significant rain event)
  2. Add a Combo Overlay and select the rainfall overlays in slot A
  3. Enter the formula in the Formula field
  4. Enable and adjust a custom legebnd as desired
  5. Select 'Update Now' in case auto-update was disabled