Issue #234
Change-Id: If943dfd5a9c39c57301e8636c1af62d8eaaad4af Former-commit-id:67e34f7097
[formerly5f87120aba
] [formerly67e34f7097
[formerly5f87120aba
] [formerly51ceba057c
[formerly 1c0633daccad7e9f20b444c86fa15fa11cadd0e7]]] Former-commit-id:51ceba057c
Former-commit-id:730bab53a2
[formerly72e3a9f407
] Former-commit-id:72e0e8cdb5
This commit is contained in:
parent
93814cfacc
commit
4c6f7e4299
1 changed files with 5 additions and 5 deletions
|
@ -77,8 +77,8 @@ import com.vividsolutions.jts.io.WKTWriter;
|
|||
* ------------ ---------- ----------- --------------------------
|
||||
* 02/11/2009 1981 dhladky Initial Creation.
|
||||
* 09/03/2013 DR 13083 gzhang Added getZRvalue2() to fix an error.
|
||||
* 12/20/2013 DR 16894 gzhang Fixed getZRvalue2() bias issue.
|
||||
* </pre>
|
||||
*
|
||||
* @author dhladky
|
||||
* @version 1.0
|
||||
*/
|
||||
|
@ -1945,16 +1945,16 @@ public class ScanUtils {
|
|||
if (zValue >= 2) {
|
||||
zValue = MIN_DHR_DBZ + ((zValue - 2) * DHR_DBZ_STEP);
|
||||
double rlogMult = Math.log10(coefficent);
|
||||
rValue = bias*(Math.pow(10.0, ((zValue-10.0*rlogMult)/(10.0*power))));
|
||||
rValue = /*bias* */(Math.pow(10.0, ((zValue-10.0*rlogMult)/(10.0*power))));
|
||||
|
||||
// hail cap check
|
||||
if (rValue > hailCap) {
|
||||
return (float) (MM_TO_INCH * hailCap);
|
||||
rValue = /*return (float) */(/*MM_TO_INCH * */hailCap);
|
||||
}
|
||||
} else {
|
||||
return (float) rValue;
|
||||
rValue = /*return */(float) rValue;
|
||||
}
|
||||
|
||||
return (float) (MM_TO_INCH * rValue);
|
||||
return (float) (bias*MM_TO_INCH * rValue);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue