Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#247 closed defect (fixed)

WCPS domain() returns empty

Reported by: j.oosthoek@… Owned by: pcampalani
Priority: blocker Milestone: 8.4
Component: petascope Version: 8.3
Keywords: wcps, xmlquery, domain Cc: pcampalani, dmisev, pbaumann, 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 Changed 4 years ago by pbaumann

  • 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 Changed 4 years ago by pcampalani

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 Changed 4 years ago by pcampalani

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 Changed 4 years ago by dmisev

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 Changed 4 years ago by pbaumann

  • Owner changed from dmisev to pcampalani
  • Status changed from new to assigned

looks like this is in the realm of Piero.

comment:6 Changed 4 years ago by dmisev

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 Changed 4 years ago by pcampalani

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

comment:8 Changed 4 years ago by pcampalani

  • Resolution set to fixed
  • Status changed from assigned to closed

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 Changed 4 years ago by dmisev

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