Hi all,
We have configured a FMRC feature collection to aggregate data from ROMS
oceanographical model data.
Each day we have a NetCDF-CF file with data of two days afters and two days
before (five days total), with
time resolution of 3 hours.
We have a web application, lw4nc2 http://thredds.socib.es/lw4nc2/?m=wmopv2,
which access to the Best time
Series WMS service. But I don't why the wms service throws the exception
attached in the
wmopv2_best_wms_error.ncd.xml<https://mail.google.com/mail/u/0/?ui=2&ik=e6c322256a&view=att&th=13df7ffc0c8065de&attid=0.1&disp=safe&realattid=f_hfdlwho60&zw>
file.
The wms sercice throws the exception only when the time request are: all
hours of the actual day and the two days after. and
the day before at 00:00:00h. Also, for those times the opendap service
throws the exception attached in the
wmopv2_best_error.ncd.ascii.txt<https://mail.google.com/mail/u/0/?ui=2&ik=e6c322256a&view=att&th=13df808f4bed1978&attid=0.1&disp=safe&realattid=f_hfdm961j1&zw>
file.
We have test in a local Thredds with less files, first with one, then two,
three.. The same problem is reproduced.
Also, is attached the feature collection configuration
wmopv2_fmrc_feature_collection.xml<https://mail.google.com/mail/u/0/?ui=2&ik=e6c322256a&view=att&th=13df82d5a58b299f&attid=0.4&disp=safe&realattid=f_hfdno6xz3&zw>
and three sample ROMS
files:
wmopv2.zip<https://docs.google.com/a/socib.es/file/d/0B6PLQmFeeXzZMU02VDV1ZWhYUXc/edit?usp=drive_web>
Cheers,
Kristian
--
Kristian Sebastian Blalid
SOS Division: Data Center Technical
Tel: 971439860 - Fax: 971439979
E-mail: kristian.sebastian@xxxxxxxx
Error {
code = 500;
message = "NcSDArray InvalidRangeException=Illegal Range for dimension 0:
last requested 50 > max 32";
};
<?xml version="1.0" encoding="UTF-8"?>
<ServiceExceptionReport version="1.3.0"
xmlns="http://www.opengis.net/ogc"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.opengis.net/ogc
http://schemas.opengis.net/wms/1.3.0/exceptions_1_3_0.xsd">
<ServiceException>Unexpected error of type
java.lang.IllegalArgumentException </ServiceException>
<StackTrace>
<![CDATA[
uk.ac.rdg.resc.edal.cdm.DataChunk.readVariable(DataChunk.java:107)
uk.ac.rdg.resc.edal.cdm.DataChunk.readDataChunk(DataChunk.java:68)
uk.ac.rdg.resc.edal.cdm.DataReadingStrategy$2.populatePixelArray(DataReadingStrategy.java:209)
uk.ac.rdg.resc.edal.cdm.DataReadingStrategy.readData(DataReadingStrategy.java:283)
uk.ac.rdg.resc.edal.cdm.CdmUtils.readHorizontalPoints(CdmUtils.java:645)
thredds.server.wms.ThreddsScalarLayer.readHorizontalPoints(ThreddsScalarLayer.java:177)
uk.ac.rdg.resc.ncwms.controller.AbstractWmsController.readDataGrid(AbstractWmsController.java:1391)
uk.ac.rdg.resc.ncwms.controller.AbstractWmsController.getMap(AbstractWmsController.java:541)
thredds.server.wms.ThreddsWmsController.dispatchWmsRequest(ThreddsWmsController.java:172)
uk.ac.rdg.resc.ncwms.controller.AbstractWmsController.handleRequestInternal(AbstractWmsController.java:188)
org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:923)
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:852)
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882)
org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:778)
javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
thredds.servlet.filter.RequestQueryFilter.doFilter(RequestQueryFilter.java:120)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
thredds.servlet.filter.RequestPathFilter.doFilter(RequestPathFilter.java:102)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
thredds.server.RequestBracketingLogMessageFilter.doFilter(RequestBracketingLogMessageFilter.java:48)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224)
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:929)
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:405)
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:964)
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:515)
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:302)
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
java.lang.Thread.run(Thread.java:722)
]]>
</StackTrace>
</ServiceExceptionReport>
<dataset name="model_run_aggregation"
ID="operational_models/oceanographical/hydrodynamics/model_run_aggregation">
<featureCollection name="wmopv2" featureType="FMRC"
path="operational_models/oceanographical/hydrodynamics/model_run_aggregation/wmopv2">
<collection
spec="/home/ksebastian/opendap/operational_models/oceanographical/hydrodynamics/wmopv2/2013/04/roms_wmopv2_#yyyyMMdd#.nc$"
timeUnitsChange="true" recheckAfter="60 min" olderThan="5 min"/>
<fmrcConfig datasetTypes="TwoD Best Runs ConstantForecasts
ConstantOffsets Files" />
</featureCollection>
</dataset>
<dataset name="model_run_aggregation"
ID="operational_models/oceanographical/hydrodynamics/model_run_aggregation">
<featureCollection name="wmopv2" featureType="FMRC"
path="operational_models/oceanographical/hydrodynamics/model_run_aggregation/wmopv2">
<collection
spec="/home/ksebastian/opendap/operational_models/oceanographical/hydrodynamics/wmopv2/2013/04/roms_wmopv2_#yyyyMMdd#.nc$"
timeUnitsChange="true" recheckAfter="60 min" olderThan="5 min"/>
<fmrcConfig datasetTypes="TwoD Best Runs ConstantForecasts
ConstantOffsets Files" />
</featureCollection>
</dataset>