Opened 3 hours ago
#2844 assigned defect
FIX - nested subsets return wrong grid indices in WCPS
Reported by: | Bang Pham Huu | Owned by: | Bang Pham Huu |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | petascope | Version: | 10.4 |
Keywords: | Cc: | Dimitar Misev | |
Complexity: | Medium |
Description
For example this WCPS query:
for c in (temperature_new) return encode(avg(c[ansi("2024-06-01":"2024-06-30")][ansi("2024-06-01T06:00")]), "csv")
returns
c[12671:13390,0:56,0:656,0:1376][6,0:56,0:656,0:1376]
note that 6
is wrong, it should return 12671 + 6 = 12677
Note:
See TracTickets
for help on using tickets.