[thredds] Mysterious netcdf subset error.

THREDDS Listers - 

Anyone seen this before? 

An example url to cause it is:
http://cida.usgs.gov/thredds/ncss/grid/UofIMETDATA?var=max_air_temperature&north=40&west=-90&east=-89&south=39&horizStride=1&time_start=1979-01-01T00%3A00%3A00Z&time_end=1979-01-01T00%3A00%3A00&timeStride=1

Gives this in the thredds servlet log:
/thredds/ncss/grid/UofIMETDATA?var=max_air_temperature&north=40&west=-90&east=-89&south=39&horizStride=1&time_start=1979-01-01T00%3A00%3A00Z&time_end=1979-01-01T00%3A00%3A00&timeStride=1
 HTTP/1.1"
2014-01-13T11:33:04.553 -0600 [  35639830][   15705] ERROR - threddsServlet - 
Exception handled in AbstractNcssDataRequestController
java.lang.IllegalArgumentException: Update Attribute must have same type or 
original = char
        at ucar.nc2.iosp.netcdf3.N3header.updateAttribute(N3header.java:1041)
        at ucar.nc2.iosp.netcdf3.N3iosp.updateAttribute(N3iosp.java:771)
        at ucar.nc2.NetcdfFileWriter.updateAttribute(NetcdfFileWriter.java:654)
        at 
ucar.nc2.dt.grid.NetcdfCFWriter.updateAttribute(NetcdfCFWriter.java:509)
        at 
ucar.nc2.dt.grid.NetcdfCFWriter.updateGeospatialRanges(NetcdfCFWriter.java:484)
        at 
ucar.nc2.dt.grid.NetcdfCFWriter.makeOrTestSize(NetcdfCFWriter.java:312)
        at ucar.nc2.dt.grid.NetcdfCFWriter.makeFile(NetcdfCFWriter.java:195)
        at 
thredds.server.ncSubset.controller.GridDataController.makeGridFile(GridDataController.java:417)
        at 
thredds.server.ncSubset.controller.GridDataController.spatialSubset(GridDataController.java:174)
        at 
thredds.server.ncSubset.controller.GridDataController.getGridSubset(GridDataController.java:121)
        at sun.reflect.GeneratedMethodAccessor122.invoke(Unknown Source)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at 
org.springframework.web.method.support.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:219)
        at 
org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:132)
        at 
org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:104)
        at 
org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandleMethod(RequestMappingHandlerAdapter.java:745)
        at 
org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:686)
        at 
org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:80)
        at 
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:925)
        at 
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:856)
        at 
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:936)
        at 
org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:827)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
        at 
org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:812)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
        at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at 
thredds.servlet.filter.RequestQueryFilter.doFilter(RequestQueryFilter.java:120)
        at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at 
thredds.servlet.filter.RequestPathFilter.doFilter(RequestPathFilter.java:102)
        at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at 
thredds.server.RequestBracketingLogMessageFilter.doFilter(RequestBracketingLogMessageFilter.java:48)
        at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
        at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
        at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:470)
        at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
        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:298)
        at 
org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:861)
        at 
org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:579)
        at 
org.apache.tomcat.util.net.AprEndpoint$SocketWithOptionsProcessor.run(AprEndpoint.java:2056)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:619)

This happens for all datasets on the server I’ve tested. Unfortunately I’m not 
certain when NetCDF-Subset was last working, this server is primarily used for 
OPeNDAP, but we have ncss on as a convenience. 

Thanks for any guidance on this one!

- Dave
  • 2014 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the thredds archives: