From 5008af9587ad858eed02e7539be61566659f90a3 Mon Sep 17 00:00:00 2001 From: Nicholas Esposito Date: Wed, 15 Apr 2026 18:15:40 +0000 Subject: [PATCH] ialr changes. tested. --- .../observations/atmosphere/aircraft.yaml.j2 | 38 ++++++++++++++++++- 1 file changed, 37 insertions(+), 1 deletion(-) diff --git a/parm/jcb-gdas/observations/atmosphere/aircraft.yaml.j2 b/parm/jcb-gdas/observations/atmosphere/aircraft.yaml.j2 index 92334a3dd..7e52b2ffc 100644 --- a/parm/jcb-gdas/observations/atmosphere/aircraft.yaml.j2 +++ b/parm/jcb-gdas/observations/atmosphere/aircraft.yaml.j2 @@ -497,10 +497,46 @@ name: inflate error inflation factor: 1.5 where: - - variable: MetaData/instantaneousAltitudeRate + - variable: + name: MetaData/instantaneousAltitudeRate minvalue: 30.0 + # Inflate if IALR < 30 + - filter: Perform Action + filter variables: + - name: airTemperature + action: + name: inflate error + inflation factor: 1.5 + where: + - variable: + name: MetaData/instantaneousAltitudeRate + maxvalue: -30.0 + + # if IALR > 30, reduce IALR to 0.0 + - filter: Variable Assignment + assignments: + - name: MetaData/instantaneousAltitudeRate + type: float + value: 0.0 + where: + - variable: + name: MetaData/instantaneousAltitudeRate + minvalue: 30.0 + + # if IALR < 30, reduce IALR to 0.0 + - filter: Variable Assignment + assignments: + - name: MetaData/instantaneousAltitudeRate + type: float + value: 0.0 + where: + - variable: + name: MetaData/instantaneousAltitudeRate + maxvalue: -30.0 + + obs prior filters: # Calculates ratio_errors from GSI