From e109528caf528669280c66bced65756c586a3bb2 Mon Sep 17 00:00:00 2001 From: "Loubna.Bousaidi" Date: Mon, 28 Apr 2014 14:16:50 +0000 Subject: [PATCH] ASM #578 apply gross range check to the adjusted value Change-Id: Ia90bc10e6e1e1baa8f3842ade56d7551ca405e34 Conflicts: edexOsgi/com.raytheon.edex.plugin.shef/src/com/raytheon/edex/plugin/shef/database/PostShef.java Former-commit-id: d1d86dd82bfa114bf181de5cf993f2bed349ada5 --- .../src/com/raytheon/edex/plugin/shef/database/PostShef.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/edexOsgi/com.raytheon.edex.plugin.shef/src/com/raytheon/edex/plugin/shef/database/PostShef.java b/edexOsgi/com.raytheon.edex.plugin.shef/src/com/raytheon/edex/plugin/shef/database/PostShef.java index 2ced8e3adc..6c24d25f92 100644 --- a/edexOsgi/com.raytheon.edex.plugin.shef/src/com/raytheon/edex/plugin/shef/database/PostShef.java +++ b/edexOsgi/com.raytheon.edex.plugin.shef/src/com/raytheon/edex/plugin/shef/database/PostShef.java @@ -118,6 +118,7 @@ import com.raytheon.uf.edex.decodertools.time.TimeTools; * data can be posted to appropriate pe-based tables only if the data * type is not READING like in A1 code. * 02/18/2014 16572 l. Bousaidi only apply adjust factor to non missing values. + * 04/24/2014 16904 lbousaidi gross check should be applied to adjusted value. * 04/29/2014 3088 mpduff Change logging class, clean up/optimization. * Updated with more performance fixes. * 05/28/2014 3222 mpduff Fix posting time to be processed time so db doesn't show all post times the same @@ -743,6 +744,8 @@ public class PostShef { if (!dataValue.equals(ShefConstants.SHEF_MISSING)) { adjustRawValue(locId, data); } + + dataValue = data.getStringValue(); /* * multiply non-missing values of discharge values and * unspecified height values by 1000 to change units