Hello all,
I have a dataset that works correctly with the grid subset, ncWMS, and
any other NetCDF tool I can come across. It is failing with the THREDDS
NetCDF subset when requesting point data.
Dataset:
http://staging.asascience.com:8989/thredds/catalog/Cadiz/Currents/catalo
g.html?dataset=Cadiz/Currents/EGM200_3.nc
Point Subset:
http://staging.asascience.com:8989/thredds/ncss/grid/Cadiz/Currents/EGM2
00_3.nc/pointDataset.html
Request: http://staging.asascience.com:8989
/thredds/ncss/grid/Cadiz/Currents/EGM200_3.nc?var=u_wind,v_wind&latitude
=35&longitude=-6&temporal=point&accept=xml&point=true&time_end=present&t
ime_duration=P3D
Trace:
2009-07-08T17:32:13.277 -0400 [ 5142656][ 167] ERROR -
thredds.server.ncSubset.GridServlet - GridServlet.processGridAsPoint
java.lang.ArrayIndexOutOfBoundsException
at ucar.ma2.Index2D.setDirect(Index2D.java:135)
at ucar.ma2.ArrayDouble$D2.get(ArrayDouble.java:295)
at
ucar.nc2.dataset.CoordinateAxis2D.getCoordValue(CoordinateAxis2D.java:75
)
at
ucar.nc2.dt.grid.GridCoordSys.getLatLon(GridCoordSys.java:1026)
at
ucar.nc2.dt.grid.GridAsPointDataset.readData(GridAsPointDataset.java:100
)
at
thredds.server.ncSubset.GridPointWriter.write(GridPointWriter.java:253)
at
thredds.server.ncSubset.GridServlet.processGridAsPoint(GridServlet.java:
259)
at
thredds.server.ncSubset.GridServlet.doGet(GridServlet.java:171)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:206)
at
thredds.servlet.filter.RequestQueryFilter.doFilter(RequestQueryFilter.ja
va:121)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:206)
at
thredds.servlet.filter.RequestPathFilter.doFilter(RequestPathFilter.java
:105)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:206)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:233)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:191)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authenticator
Base.java:433)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:128)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:102)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
java:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:2
93)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:84
9)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(
Http11Protocol.java:583)
at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)
at java.lang.Thread.run(Unknown Source)
Is this most likely caused by an incorrect dataset?
Kyle Wilcox
ASA | Science. Services. Solutions.
Consider the environment before printing this email