Merge "ASM #16952 - Fixed the bug in the estimated precip values algorithm." into asm_14.4.1

Former-commit-id: 757a3f72e8 [formerly 757a3f72e8 [formerly f177c49913decebd60106cd380616c4aba24c62c]]
Former-commit-id: 807ac7dfbc
Former-commit-id: 568a214ec4
This commit is contained in:
Juliya Dynina 2014-12-24 07:57:10 -05:00 committed by Gerrit Code Review
commit 9795afeefd

View file

@ -33,6 +33,7 @@ import com.raytheon.viz.mpe.util.DailyQcUtils.Station;
* Date Ticket# Engineer Description
* ------------ ---------- ----------- --------------------------
* Mar 31, 2009 snaples Initial creation
* Dec 22, 2014 #16952 lbousaidi fixed the eratic estimate values.
*
* </pre>
*
@ -145,10 +146,10 @@ public class EstMissingStations {
} else {
padj = pdata[j].stn[i].frain[h].data;
}
fdist = 1 / (testdist + fdist);
fdata = padj / (testdist + fdata);
fdist += 1 / testdist;
fdata += padj / testdist;
l++;
}