From 6cc0f6c27c33ee1418a807e0775ab1d850877644 Mon Sep 17 00:00:00 2001 From: Torsten Dreyer Date: Thu, 23 Feb 2012 20:23:37 +0100 Subject: [PATCH] Environment: use linear interpolation for wind Interpolation over time for wind used to be an exponential (low-pass) filter and is now a noise-spike (linear) filter, This should slow down wharp9 waves. --- Environment/environment.xml | 2 +- Environment/interpolator.xml | 60 +++++++++++-------------------- Environment/metarinterpolator.xml | 12 +++---- 3 files changed, 28 insertions(+), 46 deletions(-) diff --git a/Environment/environment.xml b/Environment/environment.xml index a65419ee9..9b17450e7 100644 --- a/Environment/environment.xml +++ b/Environment/environment.xml @@ -330,7 +330,7 @@ - 60.0 + 0.05 diff --git a/Environment/interpolator.xml b/Environment/interpolator.xml index af1503b70..23b702670 100644 --- a/Environment/interpolator.xml +++ b/Environment/interpolator.xml @@ -26,9 +26,7 @@ EnvironmentInterpolator:temperature-sea-level-degc - - /environment/config/enabled - + /environment/config/enabled /environment/config/interpolated/temperature-sea-level-degc /environment/temperature-sea-level-degc @@ -39,9 +37,7 @@ EnvironmentInterpolator:dewpoint-sea-level-degc - - /environment/config/enabled - + /environment/config/enabled /environment/config/interpolated/dewpoint-sea-level-degc /environment/dewpoint-sea-level-degc @@ -58,9 +54,7 @@ noise-spike 0.03 - - /environment/config/enabled - + /environment/config/enabled /environment/config/interpolated/pressure-sea-level-inhg /environment/pressure-sea-level-inhg @@ -69,9 +63,7 @@ EnvironmentInterpolator:visibility-m - - /environment/config/enabled - + /environment/config/enabled @@ -91,9 +83,7 @@ EnvironmentInterpolator:wind-from-north - - /environment/config/enabled - + /environment/config/enabled @@ -103,16 +93,14 @@ /environment/config/interpolated/wind-from-north-fps /environment/wind-from-north-fps - exponential - 5 + noise-spike + 0.5 EnvironmentInterpolator:wind-from-east - - /environment/config/enabled - + /environment/config/enabled @@ -122,8 +110,8 @@ /environment/config/interpolated/wind-from-east-fps /environment/wind-from-east-fps - exponential - 5 + noise-spike + 0.5 @@ -138,16 +126,14 @@ /environment/wind-from-down-fps - exponential - 0.5 + noise-spike + 2.0 EnvironmentInterpolator:turbulence-raw-magnitude - - /environment/config/enabled - + /environment/config/enabled @@ -159,16 +145,14 @@ /environment/config/interpolated/turbulence/magnitude-norm /environment/turbulence/raw-magnitude-norm - exponential - 1 + noise-spike + 0.2 EnvironmentInterpolator:turbulence-magnitude - - /environment/config/enabled - + /environment/config/enabled @@ -186,9 +170,7 @@ EnvironmentInterpolator:turbulence-rate - - /environment/config/enabled - + /environment/config/enabled /environment/config/interpolated/turbulence/rate-hz /environment/turbulence/rate-hz @@ -205,16 +187,16 @@ EnvironmentInterpolator:wave:wind-from-east-fps /environment/config/boundary/entry[0]/wind-from-east-fps /environment/sea/surface/wind-from-east-fps - exponential - /environment/sea/config/wind-filter-time + noise-spike + /environment/sea/config/wind-filter-time EnvironmentInterpolator:wave:wind-from-north-fps /environment/config/boundary/entry[0]/wind-from-north-fps /environment/sea/surface/wind-from-north-fps - exponential - /environment/sea/config/wind-filter-time + noise-spike + /environment/sea/config/wind-filter-time MetarController:wind-from-north-fps - exponential - 30 + noise-spike + 1.0 /environment/metar/valid @@ -163,8 +163,8 @@ MetarController:wind-from-east-fps - exponential - 30 + noise-spike + 1.0 /environment/metar/valid @@ -396,8 +396,8 @@ MetarController:cloud-alpha - exponential - 5 + noise-spike + 0.2 /environment/metar/valid