Opened 7 years ago
Closed 7 years ago
#1682 closed defect (fixed)
RasdaPy_Cannot parse the result from sdom()
Reported by: | Bang Pham Huu | Owned by: | Bang Pham Huu |
---|---|---|---|
Priority: | major | Milestone: | 9.5 |
Component: | rasdapy | Version: | development |
Keywords: | Cc: | Dimitar Misev, Vlad Merticariu | |
Complexity: | Medium |
Description
With this query
select sdom(c) from test_mr as c
RasdaPy throws exception because it cannot parse to a Rasdaman array.
File "/home/rasdaman/TEST/rasdapy/rasdapy/core.py", line 489, in _execute_read return self._get_next_element() File "/home/rasdaman/TEST/rasdapy/rasdapy/core.py", line 568, in _get_next_element metadata.spatial_domain)) File "/home/rasdaman/TEST/rasdapy/rasdapy/utils.py", line 222, in convert_data_stream_from_bin temp = convert_data_from_bin(dtype["type"], data) File "/home/rasdaman/TEST/rasdapy/rasdapy/utils.py", line 133, in convert_data_from_bin raise Exception("Unknown Data type provided") Exception: Unknown Data type provided
it should return array of intervals in Python, e.g: this collection contains 2 arrays
[ [0:250, 0:210], [0:250, 0:210] ]
Note:
See TracTickets
for help on using tickets.
will be fixed in the patch for ticket:1685