Opened 8 years ago

Closed 8 years ago

#1400 closed defect (fixed)

WCPS_Multiple scalar values from coverage condenser has error incompatible axes number

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

Description

(filter 3D result by WCPS with a 2D coverage), so, the query, (test_eobstest is 3D and test_filter is 2D, both have same boundary Lat, Long). The query will calculate the total value from test_eobstest if at the same coordinates, test_filter value is > -9999.

for c in (test_eobstest), d in (test_filter) 
return encode (
             coverage outputCov 
              over $px x(imageCrsdomain(c, Lat)),
                   $py y(imageCrsdomain(c, Long)) 
            values condense + 
                        over $pt t(imageCrsdomain(c, t)) 
                        using (c[Lat($px), Long($py), t($pt)]) 
                            * (d[Lat($px), Long($py)] > -9999), 
                        "png")


However, this query will have error in Petascope

Coverages 'test_eobstest' ('test_eobstestAxes' axes) and 'test_filter' ('test_filterAxes' axes) don't have the same number of axes

Change History (1)

comment:1 by Bang Pham Huu, 8 years ago

Resolution: fixed
Status: newclosed

patch was accepted, close ticket.

Note: See TracTickets for help on using tickets.