Opened 9 years ago
Closed 8 years ago
#1218 closed defect (invalid)
WCPS1.5_Inconsitence when query out interval between scalar and expression
Reported by: | Bang Pham Huu | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 9.3 |
Component: | petascope | Version: | development |
Keywords: | wcps 2.0, error, expression, outbound, error | Cc: | Dimitar Misev, Vlad Merticariu |
Complexity: | Medium |
Description
WCPS query, with WCPS 2.0 will throw an exception if slicing is scalar t(30)
for c in (eobstest) return encode(max(c[t(30),Lat(20.5:35.1), Long(10.5:75.3)]), "csv")
throw an exception
petascope.wcps2.error.managed.processing.OutOfBoundsSubsettingException : Invalid subsetting coordinates: 30:30 for axis t.
but with slicing is expression t(0+30)
for c in (eobstest) return encode(max(c[t(0+30),Lat(20.5:35.1), Long(10.5:75.3)]), "csv")
it will returns Rasql query
SELECT encode( max_cells(c[0 + 30,-29:100,81:109]) , "csv" ) FROM eobstest AS c with values 0
An exception should be throw as the axis slicing is invalid (outside [0,5])
Change History (2)
comment:2 by , 8 years ago
Milestone: | 10.0 → 9.3 |
---|---|
Resolution: | → invalid |
Status: | new → closed |
In WCPS 1.5, we don't support the numeric interval expression (e.g: c[i(1+1)]), close ticket.
Note:
See TracTickets
for help on using tickets.