Menu

#4 Error in boxcox.default(dataObs ~ 1, lambda = seq(-2.5, 2.5,

open
None
5
2009-03-13
2009-03-13
No

A subset of the a Bsf scenario generated the following error. Not certain if this is a bug or some data problem since all the other datasets were interpolated without any problems. If this is related to the data maybe it should have an error report with more precise description/ or simpler description of problem

<?xml version="1.0" encoding="UTF-8"?>
<ns:ExceptionReport xmlns:ns="http://www.opengis.net/ows/1.1"><ns:Exception exceptionCode="NoApplicableCode"><ns:ExceptionText>Error while executing the embedded process for: org.intamap.wps.Interpolate</ns:ExceptionText></ns:Exception><ns:Exception exceptionCode="JAVA_StackTrace"><ns:ExceptionText>org.n52.wps.server.request.ExecuteRequest.call:450
org.n52.wps.server.request.ExecuteRequest.call:70
java.util.concurrent.FutureTask$Sync.innerRun:303
java.util.concurrent.FutureTask.run:138
java.util.concurrent.ThreadPoolExecutor$Worker.runTask:885
java.util.concurrent.ThreadPoolExecutor$Worker.run:907
java.lang.Thread.run:619
</ns:ExceptionText></ns:Exception><ns:Exception exceptionCode="JAVA_RootCause"><ns:ExceptionText>Error in boxcox.default(dataObs ~ 1, lambda = seq(-2.5, 2.5, len = 101), :
response variable must be positive
</ns:ExceptionText><ns:ExceptionText>org.intamap.wps.Interpolate.openRServe:-1
org.intamap.wps.Interpolate.run:-1
org.n52.wps.server.request.ExecuteRequest.call:447
org.n52.wps.server.request.ExecuteRequest.call:70
java.util.concurrent.FutureTask$Sync.innerRun:303
java.util.concurrent.FutureTask.run:138
java.util.concurrent.ThreadPoolExecutor$Worker.runTask:885
java.util.concurrent.ThreadPoolExecutor$Worker.run:907
java.lang.Thread.run:619
</ns:ExceptionText></ns:Exception></ns:ExceptionReportsudo wget -nv -q -O - --post-file=/home/jesus/WPSError.xml http://in
jesus@Liquirizia:/usr/local/apache2/cgi-bin/requests> sudo wget -nv -q -O - --post-file=/home/jesus/WPSError.xml http://intamap.aston.ac.uk:8080/intamap/WebProcessingService
<?xml version="1.0" encoding="UTF-8"?>
<ns:ExceptionReport xmlns:ns="http://www.opengis.net/ows/1.1"><ns:Exception exceptionCode="NoApplicableCode"><ns:ExceptionText>Error while executing the embedded process for: org.intamap.wps.Interpolate</ns:ExceptionText></ns:Exception><ns:Exception exceptionCode="JAVA_StackTrace"><ns:ExceptionText>org.n52.wps.server.request.ExecuteRequest.call:450
org.n52.wps.server.request.ExecuteRequest.call:70
java.util.concurrent.FutureTask$Sync.innerRun:303
java.util.concurrent.FutureTask.run:138
java.util.concurrent.ThreadPoolExecutor$Worker.runTask:885
java.util.concurrent.ThreadPoolExecutor$Worker.run:907
java.lang.Thread.run:619
</ns:ExceptionText></ns:Exception><ns:Exception exceptionCode="JAVA_RootCause"><ns:ExceptionText>Error in boxcox.default(dataObs ~ 1, lambda = seq(-2.5, 2.5, len = 101), :
response variable must be positive
</ns:ExceptionText><ns:ExceptionText>org.intamap.wps.Interpolate.openRServe:-1
org.intamap.wps.Interpolate.run:-1
org.n52.wps.server.request.ExecuteRequest.call:447
org.n52.wps.server.request.ExecuteRequest.call:70
java.util.concurrent.FutureTask$Sync.innerRun:303
java.util.concurrent.FutureTask.run:138
java.util.concurrent.ThreadPoolExecutor$Worker.runTask:885
java.util.concurrent.ThreadPoolExecutor$Worker.run:907
java.lang.Thread.run:619
</ns:ExceptionText></ns:Exception></ns:ExceptionReport>

Discussion

  • Jorge S. M. de Jesus

    WPS request that generates the error.

     
  • Jorge S. M. de Jesus

    This is not a bug. The data has some values == to 0.0 therefore the box-cox cant be performed.

    This "bug" has been moved to feature request, since the WPS or R should give a more graceful response and indicate that some values are negative/zero OR the R should have somethings that deals with this situation.

     
  • Jorge S. M. de Jesus

    • labels: 1167307 -->
    • assigned_to: williamw8 --> jskoien
     
MongoDB Logo MongoDB