Opened 9 years ago

Closed 9 years ago

#972 closed defect (wontfix)

WCPS1.5_aggregated condense fails when subsetting outside coverage bounds

Reported by: Dimitar Misev Owned by: Bang Pham Huu
Priority: major Milestone: 10.0
Component: qlparser Version: development
Keywords: Cc:
Complexity: Medium

Description

The below query works fine:

for c in (AGDC_NAT) return
encode(

 ((condense +
 over     $ts t( imageCrsDomain(c[ansi("2008-01-03T23:40:44":"2008-02-25T23:40:44")], ansi) )
 using (c.red)[Long(148.8:149.4), Lat(-35.6:-35.0), ansi($ts)]) / 
 count((c.red)[Long(149), Lat(-35.3), ansi("2008-01-03T23:40:44":"2008-02-25T23:40:44")] > -10000)) / 15

, "PNG")

this not however

for c in (AGDC_NAT) return
encode(

 ((condense +
 over     $ts t( imageCrsDomain(c[ansi("2008-01-03T23:40:44":"2008-02-25T23:40:44")], ansi) )
 using (c.red)[Long(148.8:150.2), Lat(-35.6:-35.0), ansi($ts)]) / 
 count((c.red)[Long(149), Lat(-35.3), ansi("2008-01-03T23:40:44":"2008-02-25T23:40:44")] > -10000)) / 15

, "PNG")

In the second one the Long subset goes outside the coverage bounds, which are until 150, and for some reason this fails in rasdaman (only error in the logs is 'rasserver terminated'.
Petascope returns 'Error: Unable to get a free rasdaman server.'

Change History (4)

comment:1 by Bang Pham Huu, 9 years ago

Milestone: 9.1.x9.2

I don't have data to reproduce it, but rename ansi with 't' and choose eobtest coverage as it has same structure (Lat, Long, time (t)), the error is in syntax

for c in (eobstest) return
encode(

 ((condense  
 over     $ts x( imageCrsDomain(c[t("2008-01-03T23:40:44":"2008-02-25T23:40:44")], t) )
 using (c.red)[Long(148.8:150.2), Lat(-35.6:-35.0), t($ts)]) / 
 count((c.red)[Long(149), Lat(-35.3), t("2008-01-03T23:40:44":"2008-02-25T23:40:44")] > -10000)) / 15

, "PNG")



 TRACE [17:58:21] RasUtil@286: Parsing abstract WCPS query...
line 4:3 no viable alternative at input 'condense'
line 5:83 mismatched input 't' expecting STRING
 ERROR [17:58:21] PetascopeInterface@467: Runtime error : null
 ERROR [17:58:21] PetascopeInterface@513: Error stack trace:
RuntimeError: Runtime error while processing request: null

comment:2 by Bang Pham Huu, 9 years ago

Milestone: 9.210.0
Summary: aggregated condense fails when subsetting outside coverage boundsWCPS1.5_aggregated condense fails when subsetting outside coverage bounds

comment:3 by Bang Pham Huu, 9 years ago

Owner: changed from Vlad Merticariu to Bang Pham Huu
Status: newassigned

I think this problem is not valid in WCPS2.0 as it throw exception if try to query out of bounding box (#1049). Then can close.

comment:4 by Bang Pham Huu, 9 years ago

Resolution: wontfix
Status: assignedclosed
Note: See TracTickets for help on using tickets.