Opened 6 years ago

Closed 6 years ago

#1872 closed defect (fixed)

Petascope_Translation to grid indices is wrong when coverage imported in descending order

Reported by: Bang Pham Huu Owned by: Bang Pham Huu
Priority: major Milestone: 9.7
Component: petascope Version: development
Keywords: Cc: Dimitar Misev, Vlad Merticariu
Complexity: Medium

Description

for c in (test_import_order_descending_irregular_time_netcdf) return encode(c[ansi("2003-01-17T00:00:00.000Z")], "application/gml+xml")

as c is imported in descending order (import from coverage's origin to bottom) and the sdom© on time axis is [-6:0].

However, generated grid index for time axis is 6 outside of [-6:0].

SELECT encode(c[6,0:17999,-3600:719], "json" ) FROM test_import_order_descending_irregular_time_netcdf AS c

Change History (1)

comment:1 by Bang Pham Huu, 6 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.