Opened 6 years ago

Closed 6 years ago

#2086 closed defect (fixed)

WCPS: Bad error on invalid slicing on irregular axis

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

Description

WCPS query:

for $c in (S2G5_32632_60m_L1C) 
return
  encode( 
     $c.B9[ ansi( "2018-05-25" ), E( 410827.77 : 423495.85 ), N( 5955107.75 : 5963032.78 ) ]
   - $c.B9[ ansi( "2018-04-25" ), E( 410827.77 : 423495.85 ), N( 5955107.75 : 5963032.78 ) ]
, "png")

Error returned:

Error processing shorthand trim() operator expression. Reason: Input lower bound '114' is greater than upper bound '114' in direct positions list of irregular axis 'ansi'.

Apparrently this means that the slicing at "2018-04-25" is not valid (this date doesn't exist. This is not clear at all from the returned error.

Change History (2)

comment:1 by Bang Pham Huu, 6 years ago

Cc: Vlad Merticariu added
Summary: Bad error on invalid slicingWCPS: Bad error on invalid slicing on irregular axis

comment:2 by Bang Pham Huu, 6 years ago

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