Opened 11 years ago
Closed 7 years ago
#758 closed enhancement (fixed)
Evaluate the use of fixed number of decimal places in numeric representations
Reported by: | Piero Campalani | Owned by: | Vlad Merticariu |
---|---|---|---|
Priority: | major | Milestone: | Future |
Component: | petascope | Version: | development |
Keywords: | significant figures decimal digits | Cc: | Dimitar Misev, Peter Baumann, Vlad Merticariu |
Complexity: | Medium |
Description
While the current policy on numerical representations (both coordinates and data values) is to reach the highest precision possible, it is common practice to deliver data with a fixed number of either decimal places or significant figures.
As far as I understand, a fixed representation is useful when interpreting the data uncertainty, and it can help a software implementation choosing the best data type to use (float, double, etc) to store values associated to a given data component.
Regarding data values, this feature should be embedded in the encoding phase of rasdaman
directly (via a parameter which shall be taken from petascopedb::ps_quantity.significant_figures
).
Regarding coordinates (both absolute and relative), a deeper inspection should be done. Maybe using fixed 15 decimal places like GDAL does.
Change History (5)
comment:1 by , 11 years ago
comment:2 by , 9 years ago
Cc: | added; removed |
---|---|
Milestone: | 9.1 → 9.2 |
comment:3 by , 9 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:4 by , 8 years ago
Milestone: | 9.2 → Future |
---|
comment:5 by , 7 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
It has been used BigDecimal in Petascope for a long time, so can be closed here.
sounds like an interesting idea to deliberate in the future. Tricky numeric effects are luring, so serious investigations will be required for sure.