Opened 11 years ago
Closed 11 years ago
#687 closed defect (fixed)
Wrong timestamp to time numeric conversion when vector is not time versor
Reported by: | Piero Campalani | Owned by: | Piero Campalani |
---|---|---|---|
Priority: | critical | Milestone: | 9.0.x |
Component: | petascope | Version: | development |
Keywords: | timestamp conversion vector | Cc: | |
Complexity: | Easy |
Description
When the offset vector for time is not of norm 1, there is a bug in the conversion from ISO timestamp to time numeric coordinates:
subsetGridIndexes = dbMeta.getIndexesFromIrregularRectilinearAxis( covMeta.getCoverageName(), covMeta.getDomainIndexByName(axisName), --> (new BigDecimal(numLo)).subtract(domMin), --> (new BigDecimal(numHi)).subtract(domMin), indexMin, indexMax);
numLo
/numHi
are time coordinates normalized by the offset vector in time, while domMin
(the origin usually) is the absolute time coordinate within the specified CRS, not normalized by the offset vectors.
Change History (4)
comment:1 by , 11 years ago
Status: | new → accepted |
---|
comment:2 by , 11 years ago
comment:4 by , 11 years ago
Resolution: | → fixed |
---|---|
Status: | accepted → closed |
Bug fixed in changeset:dd33a59.
A new WC*S test datasets has been added too, called irr_cube_2
: an irregular time series of 2-band georectified images, see this folder] and the description in the README.
Note:
See TracTickets
for help on using tickets.
Patch upcoming (working and tested).
I want to add a new
irr_cube_2
to our systemtest before applying the patch to have the following characteristics:eobstest
)