METAR: transfer the snow/rain intensity to /environment
This commit is contained in:
parent
02e06a5670
commit
3d6d0cb172
1 changed files with 34 additions and 0 deletions
|
@ -112,6 +112,40 @@
|
||||||
<output>/environment/config/aloft/entry[0]/visibility-m</output>
|
<output>/environment/config/aloft/entry[0]/visibility-m</output>
|
||||||
</filter>
|
</filter>
|
||||||
|
|
||||||
|
<filter>
|
||||||
|
<!--
|
||||||
|
transfer the rain intensity to the target environment
|
||||||
|
-->
|
||||||
|
<name>MetarController:rain-norm</name>
|
||||||
|
<type>noise-spike</type>
|
||||||
|
<max-rate-of-change>1.0</max-rate-of-change>
|
||||||
|
<enable>
|
||||||
|
<condition>
|
||||||
|
<property>/environment/metar/valid</property>
|
||||||
|
<property>/environment/params/metar-updates-environment</property>
|
||||||
|
</condition>
|
||||||
|
</enable>
|
||||||
|
<input>/environment/metar/rain-norm</input>
|
||||||
|
<output>/environment/rain-norm</output>
|
||||||
|
</filter>
|
||||||
|
|
||||||
|
<filter>
|
||||||
|
<!--
|
||||||
|
transfer the snow intensity to the target environment
|
||||||
|
-->
|
||||||
|
<name>MetarController:snow-norm</name>
|
||||||
|
<type>noise-spike</type>
|
||||||
|
<max-rate-of-change>1.0</max-rate-of-change>
|
||||||
|
<enable>
|
||||||
|
<condition>
|
||||||
|
<property>/environment/metar/valid</property>
|
||||||
|
<property>/environment/params/metar-updates-environment</property>
|
||||||
|
</condition>
|
||||||
|
</enable>
|
||||||
|
<input>/environment/metar/snow-norm</input>
|
||||||
|
<output>/environment/snow-norm</output>
|
||||||
|
</filter>
|
||||||
|
|
||||||
<!-- interpolate the wind vector's components -->
|
<!-- interpolate the wind vector's components -->
|
||||||
<filter>
|
<filter>
|
||||||
<name>MetarController:wind-from-north-fps</name>
|
<name>MetarController:wind-from-north-fps</name>
|
||||||
|
|
Loading…
Reference in a new issue