Opened 8 years ago

Closed 8 years ago

#1338 closed defect (fixed)

WCPS1.5_Incompatible error between constant coverage and existing coverage

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

Description

WCPS query 42-filter_calculation.test

for c in (mr) return encode((unsigned char)
  coverage filteredImage
    over $px x(1:100),
              $py y(1:100)
    values
                  (
                    condense +
                          over $kx x(-1:1),
                                 $ky y(-1:1)
                          using
                               ((((double)coverage kernel
                                         over $x x (-1:1),
                                         $y y(-1:1)
                                         value list < -1; 0; 1; -2; 0; 2;-1; 0; 1 >) [x($kx),y($ky)])
                        *(c[i($px+$kx),j($py+$ky)])/(8*5.13712275))
                     )
, "png", "nodata=0")

error in WCPS 1.5

 Incompatible operation between coverages kernel and 
mr/$$DEFAULT_COVERAGE$$*$$DEFAULT_COVERAGE$$.

and return Rasql in WCPS 1.0

select encode((char)(
marray i_i in [1:100, 1:100] 
values condense + 
over i_j in [-1:1, -1:1] 
using ((((((double)(< [-1:1, -1:1] 1, 0, 1, 2, 0, 2, 1, 0, 1>)) 
[i_j[0],i_j[1]])
*((c) [(i_i[0])+(i_j[0]),(i_i[1])+(i_j[1])])))/((8)*(5.13712275)))), 
"PNG", "nodata=0;") from mr AS c where oid(c)=1025

Change History (1)

comment:1 by Bang Pham Huu, 8 years ago

Resolution: fixed
Status: newclosed

The ticket was fixed in patch ticket 1188, close ticket.

Note: See TracTickets for help on using tickets.