Opened 7 years ago

Last modified 7 years ago

#1676 closed defect

rasdapy: arrays have wrong dimension and wrong sdom — at Initial Version

Reported by: Dimitar Misev Owned by: Bang Pham Huu
Priority: major Milestone: 9.5
Component: applications Version: development
Keywords: Cc: Peter Baumann, Vlad Merticariu
Complexity: Medium

Description

Executing a query like select encode(mr2, "png") from mr2 results in a 3D array with size 22623 (number of cells).

This is wrong, the output from rasql is a 1D array with size 22624.

I'm not sure why the array is 3D at all (some hard-coded solution); the size bug is likely because rasdapy takes the upper bound from the sdom [0:22623] and doesn't add 1 to it when calculating the size.

Change History (0)

Note: See TracTickets for help on using tickets.