Opened 2 years ago

Closed 18 months ago

#972 closed defect (wontfix)

WCPS1.5_aggregated condense fails when subsetting outside coverage bounds

Reported by: dmisev Owned by: bphamhuu
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 Changed 19 months ago by bphamhuu

  • Milestone changed from 9.1.x to 9.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 Changed 19 months ago by bphamhuu

  • Milestone changed from 9.2 to 10.0
  • Summary changed from aggregated condense fails when subsetting outside coverage bounds to WCPS1.5_aggregated condense fails when subsetting outside coverage bounds

comment:3 Changed 18 months ago by bphamhuu

  • Owner changed from vmerticariu to bphamhuu
  • Status changed from new to assigned

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 Changed 18 months ago by bphamhuu

  • Resolution set to wontfix
  • Status changed from assigned to closed
Note: See TracTickets for help on using tickets.