Re: [thredds] Can't get THREDDS WCS GetCoverage to work

  • To: Sean Arms <sarms@xxxxxxxx>
  • Subject: Re: [thredds] Can't get THREDDS WCS GetCoverage to work
  • From: "Wright, Simon M." <smw@xxxxxxxxx>
  • Date: Wed, 7 Oct 2015 07:59:58 +0000
  • Authentication-results: spf=none (sender IP is ) smtp.mailfrom=smw@xxxxxxxxx;
  • Spamdiagnosticmetadata: NSPM
  • Spamdiagnosticoutput: 1:23
Hi Sean


1.   I don’t get a specific http error code just “This web page is not 
available.  ERR_INVALID_RESPONSE” as shown in the attached image junk.png



2.  I’ve attached a portion from the threddsServlet.log:



2015-10-07T08:45:53.002 +0100 [    226383][     132] INFO  - threddsServlet - 
Remote host: 192.168.91.2 - Request: "GET 
/thredds/wcs/smwtestwcs/chess_tas_196101.nc?service=WCS&version=1.0.0&request=GetCoverage&coverage=tas&format=NetCDF3
 HTTP/1.1"

2015-10-07T08:46:08.433 +0100 [    241814][     133] INFO  - threddsServlet - 
Remote host: 192.168.91.2 - Request: "GET 
/thredds/wcs/smwtestwcs/chess_tas_196101.nc?service=WCS&version=1.0.0&request=GetCoverage&coverage=tas&format=GeoTIFF
 HTTP/1.1"

2015-10-07T08:46:08.720 +0100 [    242101][     133] ERROR - 
thredds.server.wcs.v1_0_0_1.WcsHandler - Unknown problem.

java.lang.IllegalArgumentException: Unsupported projection = 
ucar.unidata.geoloc.projection.proj4.TransverseMercatorProjection

       at ucar.nc2.geotiff.GeotiffWriter.writeGrid(GeotiffWriter.java:156) 
~[cdm-4.6.3.jar:4.6.3]

       at ucar.nc2.geotiff.GeotiffWriter.writeGrid(GeotiffWriter.java:117) 
~[cdm-4.6.3.jar:4.6.3]

       at 
thredds.wcs.v1_0_0_1.WcsCoverage.writeCoverageDataToFile(WcsCoverage.java:251) 
~[clcommon-4.6.3.jar:4.6.3]

       at 
thredds.wcs.v1_0_0_1.GetCoverage.writeCoverageDataToFile(GetCoverage.java:168) 
~[clcommon-4.6.3.jar:4.6.3]

       at thredds.server.wcs.v1_0_0_1.WcsHandler.handleKVP(WcsHandler.java:117) 
[WcsHandler.class:?]

       at thredds.server.wcs.WCSController.doGet(WCSController.java:224) 
[WCSController.class:?]

       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
~[?:1.7.0_79]

       at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) 
~[?:1.7.0_79]

       at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 ~[?:1.7.0_79]

       at java.lang.reflect.Method.invoke(Method.java:606) ~[?:1.7.0_79]

       at 
org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:221)
 [spring-web-4.1.6.RELEASE.jar:4.1.6.RELEASE]

       at 
org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:137)
 [spring-web-4.1.6.RELEASE.jar:4.1.6.RELEASE]

       at 
org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:110)
 [spring-webmvc-4.1.6.RELEASE.jar:4.1.6.RELEASE]

       at 
org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandleMethod(RequestMappingHandlerAdapter.java:776)
 [spring-webmvc-4.1.6.RELEASE.jar:4.1.6.RELEASE]

       at 
org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:705)
 [spring-webmvc-4.1.6.RELEASE.jar:4.1.6.RELEASE]

       at 
org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:85)
 [spring-webmvc-4.1.6.RELEASE.jar:4.1.6.RELEASE]

       at 
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:959)
 [spring-webmvc-4.1.6.RELEASE.jar:4.1.6.RELEASE]

       at 
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:893)
 [spring-webmvc-4.1.6.RELEASE.jar:4.1.6.RELEASE]

       at 
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:966)
 [spring-webmvc-4.1.6.RELEASE.jar:4.1.6.RELEASE]

       at 
org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:857)
 [spring-webmvc-4.1.6.RELEASE.jar:4.1.6.RELEASE]

       at javax.servlet.http.HttpServlet.service(HttpServlet.java:620) 
[servlet-api-3.0.jar:?]

       at 
org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:842)
 [spring-webmvc-4.1.6.RELEASE.jar:4.1.6.RELEASE]

       at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) 
[servlet-api-3.0.jar:?]

       at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
 [tomcat-catalina-7.0.52.jar:7.0.52]

       at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
 [tomcat-catalina-7.0.52.jar:7.0.52]

       at 
thredds.servlet.filter.RequestQueryFilter.doFilter(RequestQueryFilter.java:118) 
[RequestQueryFilter.class:?]

       at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
 [tomcat-catalina-7.0.52.jar:7.0.52]

       at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
 [tomcat-catalina-7.0.52.jar:7.0.52]

       at 
thredds.servlet.filter.RequestCORSFilter.doFilterInternal(RequestCORSFilter.java:49)
 [RequestCORSFilter.class:?]

       at 
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
 [spring-web-4.1.6.RELEASE.jar:4.1.6.RELEASE]

       at 
org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:344)
 [spring-web-4.1.6.RELEASE.jar:4.1.6.RELEASE]

       at 
org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:261)
 [spring-web-4.1.6.RELEASE.jar:4.1.6.RELEASE]

       at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
 [tomcat-catalina-7.0.52.jar:7.0.52]

       at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
 [tomcat-catalina-7.0.52.jar:7.0.52]

       at 
thredds.servlet.filter.RequestPathFilter.doFilter(RequestPathFilter.java:94) 
[RequestPathFilter.class:?]

       at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
 [tomcat-catalina-7.0.52.jar:7.0.52]

       at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
 [tomcat-catalina-7.0.52.jar:7.0.52]

       at 
thredds.server.RequestBracketingLogMessageFilter.doFilter(RequestBracketingLogMessageFilter.java:81)
 [RequestBracketingLogMessageFilter.class:?]

       at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
 [tomcat-catalina-7.0.52.jar:7.0.52]

       at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
 [tomcat-catalina-7.0.52.jar:7.0.52]

       at 
org.apache.logging.log4j.web.Log4jServletFilter.doFilter(Log4jServletFilter.java:71)
 [log4j-web-2.2.jar:2.2]

       at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
 [tomcat-catalina-7.0.52.jar:7.0.52]

       at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
 [tomcat-catalina-7.0.52.jar:7.0.52]

       at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
 [tomcat-catalina-7.0.52.jar:7.0.52]

       at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
 [tomcat-catalina-7.0.52.jar:7.0.52]

       at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
 [tomcat-catalina-7.0.52.jar:7.0.52]

       at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170) 
[tomcat-catalina-7.0.52.jar:7.0.52]

       at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98) 
[tomcat-catalina-7.0.52.jar:7.0.52]

       at 
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950) 
[tomcat-catalina-7.0.52.jar:7.0.52]

       at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
 [tomcat-catalina-7.0.52.jar:7.0.52]

       at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408) 
[tomcat-catalina-7.0.52.jar:7.0.52]

       at 
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1040)
 [tomcat-coyote-7.0.52.jar:7.0.52]

       at 
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
 [tomcat-coyote-7.0.52.jar:7.0.52]

       at 
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:313)
 [tomcat-coyote-7.0.52.jar:7.0.52]

       at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) 
[?:1.7.0_79]

       at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) 
[?:1.7.0_79]

       at java.lang.Thread.run(Thread.java:745) [?:1.7.0_79]

2015-10-07T08:46:08.735 +0100 [    242116][     133] INFO  - threddsServlet - 
Request Completed - 400 - -1 - 302

2015-10-07T08:46:08.842 +0100 [    242223][     134] INFO  - threddsServlet - 
Remote host: 192.168.91.2 - Request: "GET 
/thredds/wcs/smwtestwcs/chess_tas_196101.nc?service=WCS&version=1.0.0&request=GetCoverage&coverage=tas&format=GeoTIFF
 HTTP/1.1"

2015-10-07T08:46:09.117 +0100 [    242498][     134] ERROR - 
thredds.server.wcs.v1_0_0_1.WcsHandler - Unknown problem.

java.lang.IllegalArgumentException: Unsupported projection = 
ucar.unidata.geoloc.projection.proj4.TransverseMercatorProjection

       at ucar.nc2.geotiff.GeotiffWriter.writeGrid(GeotiffWriter.java:156) 
~[cdm-4.6.3.jar:4.6.3]

       at ucar.nc2.geotiff.GeotiffWriter.writeGrid(GeotiffWriter.java:117) 
~[cdm-4.6.3.jar:4.6.3]

       at 
thredds.wcs.v1_0_0_1.WcsCoverage.writeCoverageDataToFile(WcsCoverage.java:251) 
~[clcommon-4.6.3.jar:4.6.3]

       at 
thredds.wcs.v1_0_0_1.GetCoverage.writeCoverageDataToFile(GetCoverage.java:168) 
~[clcommon-4.6.3.jar:4.6.3]

       at thredds.server.wcs.v1_0_0_1.WcsHandler.handleKVP(WcsHandler.java:117) 
[WcsHandler.class:?]

       at thredds.server.wcs.WCSController.doGet(WCSController.java:224) 
[WCSController.class:?]

       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
~[?:1.7.0_79]

       at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) 
~[?:1.7.0_79]

       at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 ~[?:1.7.0_79]

       at java.lang.reflect.Method.invoke(Method.java:606) ~[?:1.7.0_79]

       at 
org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:221)
 [spring-web-4.1.6.RELEASE.jar:4.1.6.RELEASE]

       at 
org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:137)
 [spring-web-4.1.6.RELEASE.jar:4.1.6.RELEASE]

       at 
org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:110)
 [spring-webmvc-4.1.6.RELEASE.jar:4.1.6.RELEASE]

       at 
org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandleMethod(RequestMappingHandlerAdapter.java:776)
 [spring-webmvc-4.1.6.RELEASE.jar:4.1.6.RELEASE]

       at 
org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:705)
 [spring-webmvc-4.1.6.RELEASE.jar:4.1.6.RELEASE]

       at 
org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:85)
 [spring-webmvc-4.1.6.RELEASE.jar:4.1.6.RELEASE]

       at 
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:959)
 [spring-webmvc-4.1.6.RELEASE.jar:4.1.6.RELEASE]

       at 
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:893)
 [spring-webmvc-4.1.6.RELEASE.jar:4.1.6.RELEASE]

       at 
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:966)
 [spring-webmvc-4.1.6.RELEASE.jar:4.1.6.RELEASE]

       at 
org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:857)
 [spring-webmvc-4.1.6.RELEASE.jar:4.1.6.RELEASE]

       at javax.servlet.http.HttpServlet.service(HttpServlet.java:620) 
[servlet-api-3.0.jar:?]

       at 
org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:842)
 [spring-webmvc-4.1.6.RELEASE.jar:4.1.6.RELEASE]

       at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) 
[servlet-api-3.0.jar:?]

       at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
 [tomcat-catalina-7.0.52.jar:7.0.52]

       at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
 [tomcat-catalina-7.0.52.jar:7.0.52]

       at 
thredds.servlet.filter.RequestQueryFilter.doFilter(RequestQueryFilter.java:118) 
[RequestQueryFilter.class:?]

       at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
 [tomcat-catalina-7.0.52.jar:7.0.52]

       at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
 [tomcat-catalina-7.0.52.jar:7.0.52]

       at 
thredds.servlet.filter.RequestCORSFilter.doFilterInternal(RequestCORSFilter.java:49)
 [RequestCORSFilter.class:?]

       at 
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
 [spring-web-4.1.6.RELEASE.jar:4.1.6.RELEASE]

       at 
org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:344)
 [spring-web-4.1.6.RELEASE.jar:4.1.6.RELEASE]

       at 
org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:261)
 [spring-web-4.1.6.RELEASE.jar:4.1.6.RELEASE]

       at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
 [tomcat-catalina-7.0.52.jar:7.0.52]

       at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
 [tomcat-catalina-7.0.52.jar:7.0.52]

       at 
thredds.servlet.filter.RequestPathFilter.doFilter(RequestPathFilter.java:94) 
[RequestPathFilter.class:?]

       at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
 [tomcat-catalina-7.0.52.jar:7.0.52]

       at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
 [tomcat-catalina-7.0.52.jar:7.0.52]

       at 
thredds.server.RequestBracketingLogMessageFilter.doFilter(RequestBracketingLogMessageFilter.java:81)
 [RequestBracketingLogMessageFilter.class:?]

       at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
 [tomcat-catalina-7.0.52.jar:7.0.52]

       at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
 [tomcat-catalina-7.0.52.jar:7.0.52]

       at 
org.apache.logging.log4j.web.Log4jServletFilter.doFilter(Log4jServletFilter.java:71)
 [log4j-web-2.2.jar:2.2]

       at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
 [tomcat-catalina-7.0.52.jar:7.0.52]

       at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
 [tomcat-catalina-7.0.52.jar:7.0.52]

       at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
 [tomcat-catalina-7.0.52.jar:7.0.52]

       at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
 [tomcat-catalina-7.0.52.jar:7.0.52]

       at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
 [tomcat-catalina-7.0.52.jar:7.0.52]

       at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170) 
[tomcat-catalina-7.0.52.jar:7.0.52]

       at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98) 
[tomcat-catalina-7.0.52.jar:7.0.52]

       at 
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950) 
[tomcat-catalina-7.0.52.jar:7.0.52]

       at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
 [tomcat-catalina-7.0.52.jar:7.0.52]

       at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408) 
[tomcat-catalina-7.0.52.jar:7.0.52]

       at 
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1040)
 [tomcat-coyote-7.0.52.jar:7.0.52]

       at 
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
 [tomcat-coyote-7.0.52.jar:7.0.52]

       at 
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:313)
 [tomcat-coyote-7.0.52.jar:7.0.52]

       at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) 
[?:1.7.0_79]

       at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) 
[?:1.7.0_79]

       at java.lang.Thread.run(Thread.java:745) [?:1.7.0_79]

2015-10-07T08:46:09.119 +0100 [    242500][     134] INFO  - threddsServlet - 
Request Completed - 400 - -1 - 277

2015-10-07T08:46:14.147 +0100 [    247528][     135] INFO  - threddsServlet - 
Remote host: 192.168.91.2 - Request: "GET 
/thredds/wcs/smwtestwcs/chess_tas_196101.nc?service=WCS&version=1.0.0&request=GetCoverage&coverage=tas&format=GeoTIFF
 HTTP/1.1"

2015-10-07T08:46:14.450 +0100 [    247831][     135] ERROR - 
thredds.server.wcs.v1_0_0_1.WcsHandler - Unknown problem.

java.lang.IllegalArgumentException: Unsupported projection = 
ucar.unidata.geoloc.projection.proj4.TransverseMercatorProjection

       at ucar.nc2.geotiff.GeotiffWriter.writeGrid(GeotiffWriter.java:156) 
~[cdm-4.6.3.jar:4.6.3]

       at ucar.nc2.geotiff.GeotiffWriter.writeGrid(GeotiffWriter.java:117) 
~[cdm-4.6.3.jar:4.6.3]

       at 
thredds.wcs.v1_0_0_1.WcsCoverage.writeCoverageDataToFile(WcsCoverage.java:251) 
~[clcommon-4.6.3.jar:4.6.3]

       at 
thredds.wcs.v1_0_0_1.GetCoverage.writeCoverageDataToFile(GetCoverage.java:168) 
~[clcommon-4.6.3.jar:4.6.3]

       at thredds.server.wcs.v1_0_0_1.WcsHandler.handleKVP(WcsHandler.java:117) 
[WcsHandler.class:?]

       at thredds.server.wcs.WCSController.doGet(WCSController.java:224) 
[WCSController.class:?]

       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
~[?:1.7.0_79]

       at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) 
~[?:1.7.0_79]

       at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 ~[?:1.7.0_79]

       at java.lang.reflect.Method.invoke(Method.java:606) ~[?:1.7.0_79]

       at 
org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:221)
 [spring-web-4.1.6.RELEASE.jar:4.1.6.RELEASE]

       at 
org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:137)
 [spring-web-4.1.6.RELEASE.jar:4.1.6.RELEASE]

       at 
org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:110)
 [spring-webmvc-4.1.6.RELEASE.jar:4.1.6.RELEASE]

       at 
org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandleMethod(RequestMappingHandlerAdapter.java:776)
 [spring-webmvc-4.1.6.RELEASE.jar:4.1.6.RELEASE]

       at 
org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:705)
 [spring-webmvc-4.1.6.RELEASE.jar:4.1.6.RELEASE]

       at 
org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:85)
 [spring-webmvc-4.1.6.RELEASE.jar:4.1.6.RELEASE]

       at 
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:959)
 [spring-webmvc-4.1.6.RELEASE.jar:4.1.6.RELEASE]

       at 
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:893)
 [spring-webmvc-4.1.6.RELEASE.jar:4.1.6.RELEASE]

       at 
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:966)
 [spring-webmvc-4.1.6.RELEASE.jar:4.1.6.RELEASE]

       at 
org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:857)
 [spring-webmvc-4.1.6.RELEASE.jar:4.1.6.RELEASE]

       at javax.servlet.http.HttpServlet.service(HttpServlet.java:620) 
[servlet-api-3.0.jar:?]

       at 
org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:842)
 [spring-webmvc-4.1.6.RELEASE.jar:4.1.6.RELEASE]

       at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) 
[servlet-api-3.0.jar:?]

       at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
 [tomcat-catalina-7.0.52.jar:7.0.52]

       at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
 [tomcat-catalina-7.0.52.jar:7.0.52]

       at 
thredds.servlet.filter.RequestQueryFilter.doFilter(RequestQueryFilter.java:118) 
[RequestQueryFilter.class:?]

       at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
 [tomcat-catalina-7.0.52.jar:7.0.52]

       at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
 [tomcat-catalina-7.0.52.jar:7.0.52]

       at 
thredds.servlet.filter.RequestCORSFilter.doFilterInternal(RequestCORSFilter.java:49)
 [RequestCORSFilter.class:?]

       at 
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
 [spring-web-4.1.6.RELEASE.jar:4.1.6.RELEASE]

       at 
org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:344)
 [spring-web-4.1.6.RELEASE.jar:4.1.6.RELEASE]

       at 
org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:261)
 [spring-web-4.1.6.RELEASE.jar:4.1.6.RELEASE]

       at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
 [tomcat-catalina-7.0.52.jar:7.0.52]

       at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
 [tomcat-catalina-7.0.52.jar:7.0.52]

       at 
thredds.servlet.filter.RequestPathFilter.doFilter(RequestPathFilter.java:94) 
[RequestPathFilter.class:?]

       at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
 [tomcat-catalina-7.0.52.jar:7.0.52]

       at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
 [tomcat-catalina-7.0.52.jar:7.0.52]

       at 
thredds.server.RequestBracketingLogMessageFilter.doFilter(RequestBracketingLogMessageFilter.java:81)
 [RequestBracketingLogMessageFilter.class:?]

       at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
 [tomcat-catalina-7.0.52.jar:7.0.52]

       at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
 [tomcat-catalina-7.0.52.jar:7.0.52]

       at 
org.apache.logging.log4j.web.Log4jServletFilter.doFilter(Log4jServletFilter.java:71)
 [log4j-web-2.2.jar:2.2]

       at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
 [tomcat-catalina-7.0.52.jar:7.0.52]

       at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
 [tomcat-catalina-7.0.52.jar:7.0.52]

       at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
 [tomcat-catalina-7.0.52.jar:7.0.52]

       at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
 [tomcat-catalina-7.0.52.jar:7.0.52]

       at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
 [tomcat-catalina-7.0.52.jar:7.0.52]

       at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170) 
[tomcat-catalina-7.0.52.jar:7.0.52]

       at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98) 
[tomcat-catalina-7.0.52.jar:7.0.52]

       at 
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950) 
[tomcat-catalina-7.0.52.jar:7.0.52]

       at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
 [tomcat-catalina-7.0.52.jar:7.0.52]

       at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408) 
[tomcat-catalina-7.0.52.jar:7.0.52]

       at 
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1040)
 [tomcat-coyote-7.0.52.jar:7.0.52]

       at 
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
 [tomcat-coyote-7.0.52.jar:7.0.52]

       at 
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:313)
 [tomcat-coyote-7.0.52.jar:7.0.52]

       at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) 
[?:1.7.0_79]

       at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) 
[?:1.7.0_79]

       at java.lang.Thread.run(Thread.java:745) [?:1.7.0_79]

2015-10-07T08:46:14.452 +0100 [    247833][     135] INFO  - threddsServlet - 
Request Completed - 400 - -1 - 305


This shows a successful WCS request for a coverage with a NetCDF3 format and 
then a failed WCS request for the same coverage with a GeoTiff format.  An 
unsupported projection exception is shown which is strange as the WCS NetCDF3 
request works for this dataset.




Many thanks, best wishes, Simon.


From: Sean Arms [mailto:sarms@xxxxxxxx]
Sent: 06 October 2015 18:13
To: Wright, Simon M. <smw@xxxxxxxxx>
Cc: thredds@xxxxxxxxxxxxxxxx
Subject: Re: [thredds] Can't get THREDDS WCS GetCoverage to work

Greetings Simon,

Two quick questions.

1) When you say that you get "error messages saying the web page is not 
available" when requesting a GeoTIFF, do you get a specific http error code?

2) Have you checked your TDS log files to see if there are any errors that show 
up?

Thanks!

Sean

On Fri, Oct 2, 2015 at 8:28 AM, Wright, Simon M. 
<smw@xxxxxxxxx<mailto:smw@xxxxxxxxx>> wrote:
Hi Richard and THREDDS mailing list

Many thanks for your rapid response.  And many thanks for finding the 
school-boy error I was making!  Looks like I need to check my URLs a bit closer.

So, now I'm specifying the correct syntax for the WCS request, I can get 
GeoTIFF or NetCDF3 responses from THREDDS.  However, I've noticed somethings 
that baffling me further.

For a netCDF file with the following metadata:

netcdf 
Z:/thredds/smwtestwcs/chess_tas_196101_modified.nc<http://chess_tas_196101_modified.nc>
 {
  dimensions:
    time = 31;
    x = 656;
    y = 1057;
  variables:
    int crs;
      :long_name = "coordinate_reference_system";
      :grid_mapping_name = "transverse_mercator";
      :EPSG_code = "EPSG:27700";
      :semi_major_axis = 6377563.396; // double
      :semi_minor_axis = 6356256.91; // double
      :inverse_flattening = 299.3249646; // double
      :latitude_of_projection_origin = 49.0; // double
      :longitude_of_projection_origin = -2.0; // double
      :false_easting = 400000.0; // double
      :false_northing = -100000.0; // double
      :scale_factor_at_projection_origin = 0.9996012717; // double
      :_CoordinateTransformType = "Projection";
      :_CoordinateAxes = "x y";

    float lat(y=1057, x=656);
      :_CoordinateAxisType = "Lat";
      :long_name = "latitude of grid box centre";
      :standard_name = "latitude";
      :units = "degrees_north";
      :_FillValue = -99999.0f; // float
      :grid_mapping = "crs";

    float lon(y=1057, x=656);
      :_CoordinateAxisType = "Lon";
      :long_name = "longitude of grid box centre";
      :standard_name = "longitude";
      :units = "degrees_east";
      :_FillValue = -99999.0f; // float
      :grid_mapping = "crs";

    float tas(time=31, y=1057, x=656);
      :_FillValue = -99999.0f; // float
      :standard_name = "air_temperature";
      :long_name = "Near-Surface Air Temperature";
      :units = "K";
      :grid_mapping = "crs";
      :comment = "1.2m above surface";
      :_CoordinateAxes = "x y time";
      :_coordinates = "time y x";

    float time(time=31);
      :units = "days since 1961-01-01";
      :calendar = "gregorian";
      :long_name = "Time in days since 1961-01-01";
      :_FillValue = -99999.0f; // float
      :_CoordinateAxisType = "Time";

    float x(x=656);
      :long_name = "easting - OSGB36 grid reference";
      :standard_name = "projection_x_coordinate";
      :units = "m";
      :point_spacing = "even";
      :_FillValue = -99999.0f; // float
      :_CoordinateAxisType = "GeoX";

    float y(y=1057);
      :long_name = "northing - OSGB36 grid reference";
      :standard_name = "projection_y_coordinate";
      :units = "m";
      :point_spacing = "even";
      :_FillValue = -99999.0f; // float
      :_CoordinateAxisType = "GeoY";

  // global attributes:
  :title = "Near-Surface Air Temperature";
  :description = "Near-Surface Air Temperature (K) at 1km resolution over Great 
Britain";
  :date_created = "2015-01-22";
  :geospatial_lat_min = 49.770996f; // float
  :geospatial_lat_max = 59.395187f; // float
  :geospatial_lon_min = -9.004521f; // float
  :geospatial_lon_max = 2.491239f; // float
  :time_coverage_start = "1961-01-01";
  :time_coverage_end = "1961-01-31";
  :Conventions = "CF-1.6";
  :NCO = "4.3.7";
  :version = "v1.0";
  :featureType = "GRID";
}

I can get a NetCDF3 file returned when I request the tas variable but not a 
GeoTIFF file.  Furthermore, if I request NetCDF3 or GeoTIFF files for the lon 
and lat variables I just get error messages saying the web page is not 
available.

Is there an obvious reason why?  Do I need to include additional elements in 
the netCDF metadata?  Or am I doing something else wrong?



Many thanks for any help anyone can provide, best wishes, Simon.


>-----Original Message-----
>From: Signell, Richard [mailto:rsignell@xxxxxxxx<mailto:rsignell@xxxxxxxx>]
>Sent: 02 October 2015 13:22
>To: Wright, Simon M. <smw@xxxxxxxxx<mailto:smw@xxxxxxxxx>>
>Cc: thredds@xxxxxxxxxxxxxxxx<mailto:thredds@xxxxxxxxxxxxxxxx>
>Subject: Re: [thredds] Can't get THREDDS WCS GetCoverage to work
>
>Simon,
>
>I think you just don't have your syntax quite right -- you need to specify
>"coverage=tas".
>
>So instead of this:
>http://localhost:8080/thredds/wcs/smwtestwcs/chess_tas_196101_modified.nc?serv
>ice=WCS&version=1.0.0&request=GetCoverage=tas&time=1961-01-
>31T00:00:00Z&format=GeoTIFF
>
>Try this:
>http://localhost:8080/thredds/wcs/smwtestwcs/chess_tas_196101_modified.nc?serv
>ice=WCS&version=1.0.0&request=GetCoverage&coverage=tas&time=1961-01-
>31T00:00:00Z&format=GeoTIFF
>
>
>Just to see if there was some issue with the latest release, I tried a WCS
>GetCoverage request on our TDS 4.6.3 server and it seems okay:
>
>wget -O test.tif
>"http://geoport-
>dev.whoi.edu/thredds/wcs/bathy/gom03_v10?request=GetCoverage&service=WCS&versi<http://dev.whoi.edu/thredds/wcs/bathy/gom03_v10?request=GetCoverage&service=WCS&versi>
>on=1.0.0&format=GeoTIFF&coverage=topo&bbox=-70.8,41.10,-70.0,41.70"
>
>-Rich
>
>On Fri, Oct 2, 2015 at 3:42 AM, Wright, Simon M. 
><smw@xxxxxxxxx<mailto:smw@xxxxxxxxx>> wrote:
>> Dear All
>>
>>
>>
>> Can anyone help me with trying to get a WCS 1.0.0 GetCoverage request
>> to work with THREDDS?
>>
>>
>>
>> I'm using THREDDS 4.6.3 and get expected XML responses when I attempt
>> WCS GetCapabilities and DescribeCoverage requests.  However, when I
>> attempt a GetCoverage request, with format equal to GeoTIFF or
>> NetCDF3, I get a "This web page is not available ERR_INVALID_RESPONSE"
>> error and when I show the details I'm told that "The web page at...
>> ...might be temporarily down or it may have moved permenantly to a new web
>address."
>>
>>
>>
>> I tried this initially with gridded data in a British National Grid
>> projection and the GetCoverage request fails.  I therefore created a
>> dummy netCDF file with a latitude longitude projection and have
>> configured a THREDDS instance in a VM on my local machine to test but
>> I am still getting the same error - the GetCapabilities and
>> DescribeCoverage requests work and the GetCoverage request fails.
>>
>>
>>
>> The form of the WCS requests I'm attempting are as follows:
>>
>> http://localhost:8080/thredds/wcs/smwtestwcs/chess_tas_196101_modified
>> .nc?service=WCS&version=1.0.0&request=GetCapabilities
>>
>> http://localhost:8080/thredds/wcs/smwtestwcs/chess_tas_196101_modified
>> .nc?service=WCS&version=1.0.0&request=DescribeCoverage&coverage=tas
>>
>> http://localhost:8080/thredds/wcs/smwtestwcs/chess_tas_196101_modified
>> .nc?service=WCS&version=1.0.0&request=GetCoverage=tas&time=1961-01-31T
>> 00:00:00Z&format=GeoTIFF
>>
>> http://localhost:8080/thredds/wcs/smwtestwcs/chess_tas_196101_modified
>> .nc?service=WCS&version=1.0.0&request=GetCoverage=tas&time=1961-01-31T
>> 00:00:00Z&format=NetCDF3
>>
>>
>>
>> I have used ToolsUI 4.6 to check that the dummy netCDF file is OK and
>> I can successfully display the gridded data in a netCDF file using the
>> FeatureTypes | Grid tab.  I can also display the dummy netCDF file in
>> the
>> Godiva2 viewer in the VM THREDDS instance.
>>
>>
>>
>> The metadata header of the dummy netCDF file is as follows:
>>
>>
>>
>> netcdf C:/smw/Workspace/THREDDS_WCS/Data02/dummy.nc<http://dummy.nc> {
>>
>>   dimensions:
>>
>>     latitude = 6;
>>
>>     longitude = 12;
>>
>>   variables:
>>
>>     float latitude(latitude=6);
>>
>>       :_CoordinateAxisType = "Lat";
>>
>>       :units = "degrees_north";
>>
>>
>>
>>     int crs;
>>
>>       :grid_mapping_name = "latitude_longitude";
>>
>>       :longitude_of_prime_meridian = 0.0; // double
>>
>>       :semi_major_axis = 6378137.0; // double
>>
>>       :inverse_flattening = 298.257225363; // double
>>
>>       :_CoordinateTransformType = "Projection";
>>
>>       :_CoordinateAxes = "x y";
>>
>>
>>
>>     float longitude(longitude=12);
>>
>>       :_CoordinateAxisType = "Lon";
>>
>>       :units = "degrees_east";
>>
>>
>>
>>     float pressure(latitude=6, longitude=12);
>>
>>       :_CoordinateAxes = "x y";
>>
>>       :coordinates = "y x";
>>
>>       :long_name = "Pressure";
>>
>>       :units = "hPa";
>>
>>       :grid_mapping = "crs";
>>
>>
>>
>>     float temperature(latitude=6, longitude=12);
>>
>>       :_CoordinateAxes = "x y";
>>
>>       :coordinates = "y x";
>>
>>       :long_name = "Temperature";
>>
>>       :units = "celsius";
>>
>>       :grid_mapping = "crs";
>>
>>
>>
>>   // global attributes:
>>
>>   :cdm_data_type = "GRID";
>>
>>   :Conventions = "CF-1.0";
>>
>>   :featureType = "GRID";
>>
>> }
>>
>>
>>
>> The netCDF file in the British National Grid can also be displayed in
>> ToolsUI 4.6 and Godiva2 viewers.
>>
>>
>>
>> Can anyone shed any light on what I might be doing wrong and why I
>> can't get a GetCoverage WVS request to work?
>>
>>
>>
>>
>>
>>
>>
>> Many thanks, best wishes, Simon.
>>
>>
>>
>>
>>
>> ________________________________
>> This message (and any attachments) is for the recipient only. NERC is
>> subject to the Freedom of Information Act 2000 and the contents of
>> this email and any reply you make may be disclosed by NERC unless it
>> is exempt from release under the Act. Any material supplied to NERC
>> may be stored in an electronic records management system.
>> ________________________________
>>
>> _______________________________________________
>> thredds mailing list
>> thredds@xxxxxxxxxxxxxxxx<mailto:thredds@xxxxxxxxxxxxxxxx>
>> For list information or to unsubscribe,  visit:
>> http://www.unidata.ucar.edu/mailing_lists/
>
>
>
>--
>Dr. Richard P. Signell   (508) 457-2229<tel:%28508%29%20457-2229>
>USGS, 384 Woods Hole Rd.
>Woods Hole, MA 02543-1598
________________________________
 This message (and any attachments) is for the recipient only. NERC is subject 
to the Freedom of Information Act 2000 and the contents of this email and any 
reply you make may be disclosed by NERC unless it is exempt from release under 
the Act. Any material supplied to NERC may be stored in an electronic records 
management system.
________________________________

_______________________________________________
thredds mailing list
thredds@xxxxxxxxxxxxxxxx<mailto:thredds@xxxxxxxxxxxxxxxx>
For list information or to unsubscribe,  visit: 
http://www.unidata.ucar.edu/mailing_lists/

________________________________
This message (and any attachments) is for the recipient only. NERC is subject 
to the Freedom of Information Act 2000 and the contents of this email and any 
reply you make may be disclosed by NERC unless it is exempt from release under 
the Act. Any material supplied to NERC may be stored in an electronic records 
management system.
________________________________

Attachment: junk.png
Description: junk.png

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