Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#247 closed defect (fixed)

WCPS domain() returns empty

Reported by: j.oosthoek@… Owned by: Piero Campalani
Priority: blocker Milestone: 8.4
Component: petascope Version: 8.3
Keywords: wcps, xmlquery, domain Cc: Piero Campalani, Dimitar Misev, Peter Baumann, abeccati
Complexity: Medium

Description

WCPS: for data in ( FRT0000C51807S ) return domain(data,x,http://kahlua.eecs.jacobs-university.de:8080/def/crs/PS/0/1/)
On: http://planetserver.jacobs-university.de:8080/petascope/wcps

in wcps.server.core.ProcessCoveragesRequest.java the xmlQuery is an empty String. The WCPS query should be added to the WCPS system tests.

Change History (9)

comment:1 by Peter Baumann, 11 years ago

Cc: abeccati added

indeed, duringthe fixing process this should be added to the system test (something that regularly is supposed to happen during fixing). However, we need a minimal query (cannot put large datasets into the test) - can you find a minimal failing query?

comment:2 by Piero Campalani, 11 years ago

A note: with rasdaman 8.3.1 this query used to work:

...
TRACE [15:26:29] DomainElement@124: Domain Element { Name: 'x', Type: 'x', NumLow: '1.0', NumHi: '1.0', StrLow: 'null', StrHi: 'null', CrsSet: '[CRS:1]'}
TRACE [15:26:29] RangeElement@63: Range Element { Name 'dynamic_type', Type 'unsigned int'}
DEBUG [15:26:29] ProcessCoveragesRequest@114: Final metadata result: (137.41706848123,137.6572721532)
DEBUG [15:26:29] WcpsServlet@177: -------------------------------------------------------
DEBUG [15:26:29] WcpsServlet@197: metadata result, no rasql to execute
DEBUG [15:26:29] WcpsServlet@200: WCPS: done 

Whereas Tomcat log now looks like this (since xmlQuery is now empty instead):

...
TRACE [14:31:26] DomainElement@125: Domain Element { Name: 'x', Type: 'x', NumLow: '1.0', NumHi: '1.0', StrLow: 'null', StrHi: 'null', CrsSet: '[CRS:1]'}
TRACE [14:31:26] RangeElement@67: Range Element { name 'dynamic_type', type 'unsigned int'}
DEBUG [14:31:26] ProcessCoveragesRequest@115: Final metadata result:
DEBUG [14:31:26] WcpsServlet@179: -------------------------------------------------------
DEBUG [14:31:26] WcpsServlet@199: metadata result, no rasql to execute
DEBUG [14:31:26] WcpsServlet@202: WCPS: done

comment:3 by Piero Campalani, 11 years ago

Minimal query should look like

for c in (mean_summer_airtemp) return     
  domain(c,x,"http://www.opengis.net/def/crs/EPSG/0/4326") 

comment:4 by Dimitar Misev, 11 years ago

We don't have mean_summer_airtemp in the WCPS tests, maybe this one:

for c in (eobstest) return     
  domain(c,x,"http://www.opengis.net/def/crs/EPSG/0/4326") 

comment:5 by Peter Baumann, 11 years ago

Owner: changed from Dimitar Misev to Piero Campalani
Status: newassigned

looks like this is in the realm of Piero.

comment:6 by Dimitar Misev, 11 years ago

We can close it?

commit 85feef34b747bec2963fb1f2efc6436634cdf181
Author: Piero Campalani <cmppri@unife.it>
Date:   Tue Dec 18 11:36:37 2012 +0100

    Fix domain() WCPS request (ticket #247).

comment:7 by Piero Campalani, 11 years ago

I asked Jelmer (the reporter) to check himself, within this week, otherwise I was meant to close it tomorrow, lest we forget.

comment:8 by Piero Campalani, 11 years ago

Resolution: fixed
Status: assignedclosed

Jelmer cannot check this right now (RPM installation), so I'll close it.

@Jelmer: please re-open the ticket in case the problem persists for you.

comment:9 by Dimitar Misev, 11 years ago

Complexity: Medium
Milestone: 8.4
Note: See TracTickets for help on using tickets.