Opened 9 years ago

Last modified 8 years ago

#1233 closed defect

WCPS1.5_Error when parsing imageCrsDomain in axis — at Initial Version

Reported by: Bang Pham Huu Owned by:
Priority: major Milestone: 9.3
Component: petascope Version: development
Keywords: WCPS 2.0, error in reducing, imageCrsdomain error Cc: Dimitar Misev, Alex Dumitru, Vlad Merticariu
Complexity: Medium

Description

WCPS query

for c in ( mr ), d in (rgb) return avg(
 scale( c[i(120:150), j(120:150)], 
imageCrsDomain(d[i:"CRS:1"(10:20), j:"CRS:1"(10:20)]) 
 )
)

returns error in WCPS 2.0

<ows:Exception exceptionCode="RuntimeError">
<ows:ExceptionText>
petascope.wcps2.error.managed.processing.WCPSProcessingError :
 A parsing error occurred at position=1:76. 
Offending symbol is=[@34,76:89='imageCrsDomain',<78>,1:76]. 
Parser message=no viable alternative at input 'avg(scale(c[i(120:150),j(120:150)],imageCrsDomain'.
</ows:ExceptionText>
</ows:Exception>
</ows:ExceptionReport>

while returns Rasql query in WCPS 1.0

select avg_cells(
  scale( c[120:150,60:90], [10:20,10:20] )
) 
from rgb AS d, mr AS c where oid(d)=45057 and oid(c)=45569

and value "170.44628099173553"

Change History (0)

Note: See TracTickets for help on using tickets.