Weather rain m (Water Overlay): Difference between revisions

From Tygron Support wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(8 intermediate revisions by 2 users not shown)
Line 5: Line 5:
|-
|-
|{{anchor|RAIN_M|[[rain_m_(Water_Overlay)|RAIN_M]]}}
|{{anchor|RAIN_M|[[rain_m_(Water_Overlay)|RAIN_M]]}}
|end-time, m
|{{time sequence end}}, m
|An [[Attribute array|array]] of values, each pair indicating until what time that period of rain will last and how much rain will fall in that period.
|An [[Attribute array|array]] of values, each pair indicating until what time that period of rain will last and how much rain will fall in that period.
|}
|}
==Single rain value to Rain Array==
When only one value is provided, it will be internally converted to a rain array. The single value then represents the amount of rain, and the default rain duration is 7200 seconds (2 hours).
For example: when a weather has a rain attribute defined with a value of 0.040 (m), it is converted to the array: 7200 0.040. This means that a total of 0.04 m (40 mm) of rain will fall, evenly spread over 7200 seconds (2 hours).
When you want the rain to fall in a shorter time period, for example the first hour, you would have to write: 3600 0.04
Also note that you can delay the rain , with for example 1200 0 3600 0.04, where the first 20 minutes no rain will fall and in the 40 minutes after it, 40 mm will fall.
{{Editor steps|title=manually adjust the RAIN_M attribute|In the [[Water Overlay]] select ''Keys''.|Click on "Edit" next to where it says "Weather:".|Select ''Attributes''.|Add or remove values from the RAIN_M array.}}
{{Editor steps|title=manually adjust the RAIN_M attribute|In the [[Water Overlay]] select ''Keys''.|Click on "Edit" next to where it says "Weather:".|Select ''Attributes''.|Add or remove values from the RAIN_M array.}}
{{article end
|notes=* A maximum of {{array max|pairs}} can be defined.
|seealso=
* [[Rain area (Water Overlay)]]
* [[Rain result type (Water Overlay)]]
* [[Last rain result type (Water Overlay)]]
}}
{{WaterOverlay simulation data nav}}
{{WaterOverlay simulation data nav}}
{{Water Module buttons}}

Latest revision as of 16:07, 30 November 2023

Attribute Unit Description
RAIN_M end-time, m An array of values, each pair indicating until what time that period of rain will last and how much rain will fall in that period.

Single rain value to Rain Array

When only one value is provided, it will be internally converted to a rain array. The single value then represents the amount of rain, and the default rain duration is 7200 seconds (2 hours).

For example: when a weather has a rain attribute defined with a value of 0.040 (m), it is converted to the array: 7200 0.040. This means that a total of 0.04 m (40 mm) of rain will fall, evenly spread over 7200 seconds (2 hours).

When you want the rain to fall in a shorter time period, for example the first hour, you would have to write: 3600 0.04 Also note that you can delay the rain , with for example 1200 0 3600 0.04, where the first 20 minutes no rain will fall and in the 40 minutes after it, 40 mm will fall.

How to manually adjust the RAIN_M attribute:
  1. In the Water Overlay select Keys.
  2. Click on "Edit" next to where it says "Weather:".
  3. Select Attributes.
  4. Add or remove values from the RAIN_M array.

Notes

  • A maximum of 10.000 values (5.000 pairs) can be defined.

See also