Opened 7 years ago
Closed 7 years ago
#1738 closed defect (fixed)
Petascope_Fix the problem with comparison of coefficients from WCST_Import
Reported by: | Bang Pham Huu | Owned by: | Bang Pham Huu |
---|---|---|---|
Priority: | major | Milestone: | 9.6 |
Component: | petascope | Version: | development |
Keywords: | Cc: | Dimitar Misev, Vlad Merticariu | |
Complexity: | Medium |
Description
There is a problem with the comparison of coefficients from WCST_Import when importing a grib file of ECMF.
The result is double, e.g:
irregular datetime (arrow library). 0.04166666666666666666666666667
However, in Petascope, the coefficient is in BigDecimal and value is different, e.g:
0.04166666666666666666666666666666666666666666666667
So a fix needed to add a small epsilon number to consider both numbers are the same.
Change History (3)
follow-up: 2 comment:1 by , 7 years ago
comment:3 by , 7 years ago
Component: | wcst_import → petascope |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
add a small epsilon to what number?