Merge "ASM #16952 - Fixed the bug in the estimated precip values algorithm." into asm_14.4.1
Former-commit-id:757a3f72e8
[formerly757a3f72e8
[formerly f177c49913decebd60106cd380616c4aba24c62c]] Former-commit-id:807ac7dfbc
Former-commit-id:568a214ec4
This commit is contained in:
commit
9795afeefd
1 changed files with 5 additions and 4 deletions
|
@ -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++;
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue