[Geoserver-users] Unable to consume NETCDF data : Couldn't determine time units from unit string 'secs'

I am attempting to consume this NETCDF file http://www.mtnweather.info/download/wrfout_d01_2015-05-14_15:00:00.gz (I unzip it before attempting to create a store). Upon doing so I receive an exception shown below (somewhat abbreviated). My question is, is there any way to overcome this exception allowing creation of a store from this file? Maybe through configuration, or hints?

01 Jun 10:42:23 WARN [org.geotools.coverage.io.netcdf.NetCDFFormat] - Unable to connect

org.geotools.data.DataSourceException: Unable to connect

at org.geotools.coverage.io.netcdf.NetCDFReader.(NetCDFReader.java:158)

at org.geotools.coverage.io.netcdf.NetCDFFormat.getReader(NetCDFFormat.java:95)

at org.geoserver.catalog.ResourcePool.getGridCoverageReader(ResourcePool.java:1436)

at org.geoserver.catalog.ResourcePool.getGridCoverageReader(ResourcePool.java:1364)

at org.geoserver.catalog.impl.CoverageStoreInfoImpl.getGridCoverageReader(CoverageStoreInfoImpl.java:59)

Caused by: org.geotools.data.DataSourceException: java.lang.IllegalArgumentException: Couldn’t determine time units from unit string ‘secs’

at org.geotools.coverage.io.netcdf.NetCDFAccess.(NetCDFAccess.java:131)

at org.geotools.coverage.io.netcdf.NetCDFDriver.connect(NetCDFDriver.java:92)

at org.geotools.coverage.io.impl.DefaultFileDriver.process(DefaultFileDriver.java:216)

at org.geotools.coverage.io.netcdf.NetCDFReader.(NetCDFReader.java:156)

… 118 more

Caused by: java.lang.RuntimeException: java.lang.IllegalArgumentException: Couldn’t determine time units from unit string ‘secs’

at org.geotools.imageio.netcdf.NetCDFImageReader.setInput(NetCDFImageReader.java:266)

at javax.imageio.ImageReader.setInput(ImageReader.java:380)

at org.geotools.coverage.io.netcdf.NetCDFAccess.(NetCDFAccess.java:120)

… 121 more

Caused by: java.lang.IllegalArgumentException: Couldn’t determine time units from unit string ‘secs’

at org.geotools.imageio.netcdf.cv.TimeCoordinateVariable$TimeBuilder.(TimeCoordinateVariable.java:79)

at org.geotools.imageio.netcdf.cv.TimeCoordinateVariable.(TimeCoordinateVariable.java:131)

at org.geotools.imageio.netcdf.cv.CoordinateVariable.create(CoordinateVariable.java:117)

at org.geotools.imageio.netcdf.NetCDFImageReader.extractCoordinatesVariable(NetCDFImageReader.java:444)

at org.geotools.imageio.netcdf.NetCDFImageReader.init(NetCDFImageReader.java:510)

at org.geotools.imageio.netcdf.NetCDFImageReader.setInput(NetCDFImageReader.java:264)

… 123 more

01 Jun 10:42:23 INFO [org.geoserver.web] - Getting list of coverages for saved store file:netcdf/mtnweather/wrfout_d01_2015-05-14_15:00:00.nc

java.lang.RuntimeException: Could not list layers for this store, an error occurred retrieving them: Failed to create reader from file:netcdf/mtnweather/wrfout_d01_2015-05-14_15:00:00.nc and hints null

at org.geoserver.web.data.layer.NewLayerPageProvider.getItemsInternal(NewLayerPageProvider.java:151)

at org.geoserver.web.data.layer.NewLayerPageProvider.getItems(NewLayerPageProvider.java:59)

at org.geoserver.web.wicket.GeoServerDataProvider.fullSize(GeoServerDataProvider.java:242)

….

Caused by: java.io.IOException: Failed to create reader from file:netcdf/mtnweather/wrfout_d01_2015-05-14_15:00:00.nc and hints null

at org.geoserver.catalog.ResourcePool.getGridCoverageReader(ResourcePool.java:1438)

at org.geoserver.catalog.ResourcePool.getGridCoverageReader(ResourcePool.java:1364)

at org.geoserver.catalog.impl.CoverageStoreInfoImpl.getGridCoverageReader(CoverageStoreInfoImpl.java:59)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:606)

at org.geoserver.catalog.impl.ModificationProxy.invoke(ModificationProxy.java:146)

at com.sun.proxy.$Proxy14.getGridCoverageReader(Unknown Source)

at org.geoserver.web.data.layer.NewLayerPageProvider.getItemsInternal(NewLayerPageProvider.java:90)

Thanks!

Steve Ferguson

NEW server: Centos 7, Geoserver 2.5.4, Postgres 9.2. Data moved from the old server.

I can connect to the NEW server’s database from MY COMPUTER using PgAdmin III, and I CAN CREATE A STORE using the new server’s database from my own computer’s Geoserver and from the old production Geoserver. BUT, I CAN NOT create a store from the NEW server’s Geoserver. I always get an “Ident authentication…” error. What is going on? See the log.

2015-06-02 07:35:25,024 WARN [data.store] - Error obtaining new data store
java.io.IOException
at org.geoserver.catalog.ResourcePool.getDataStore(ResourcePool.java:603)
at org.geoserver.catalog.impl.DataStoreInfoImpl.getDataStore(DataStoreInfoImpl.java:38)
at org.geoserver.web.data.store.DataAccessNewPage.onSaveDataStore(DataAccessNewPage.java:92)
at org.geoserver.web.data.store.AbstractDataAccessPage$1.onSubmit(AbstractDataAccessPage.java:163)
at org.apache.wicket.ajax.markup.html.form.AjaxSubmitLink$1.onSubmit(AjaxSubmitLink.java:68)
at org.apache.wicket.ajax.form.AjaxFormSubmitBehavior.onEvent(AjaxFormSubmitBehavior.java:143)
at org.apache.wicket.ajax.AjaxEventBehavior.respond(AjaxEventBehavior.java:177)
at org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.onRequest(AbstractDefaultAjaxBehavior.java:300)
at org.apache.wicket.request.target.component.listener.BehaviorRequestTarget.processEvents(BehaviorRequestTarget.java:119)
at org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:92)
at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1250)
at org.apache.wicket.RequestCycle.step(RequestCycle.java:1329)
at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1436)
at org.apache.wicket.RequestCycle.request(RequestCycle.java:545)
at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:484)
at org.apache.wicket.protocol.http.WicketServlet.doPost(WicketServlet.java:160)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:648)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at org.springframework.web.servlet.mvc.ServletWrappingController.handleRequestInternal(ServletWrappingController.java:159)
at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:923)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:852)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882)
at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:789)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:648)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.geoserver.filters.ThreadLocalsCleanupFilter.doFilter(ThreadLocalsCleanupFilter.java:28)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java:75)
at org.geoserver.wms.animate.AnimatorFilter.doFilter(AnimatorFilter.java:71)
at org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java:71)
at org.geoserver.filters.SpringDelegatingFilter.doFilter(SpringDelegatingFilter.java:46)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.geoserver.platform.AdvancedDispatchFilter.doFilter(AdvancedDispatchFilter.java:50)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:311)
at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:69)
at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:116)
at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83)
at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:73)
at org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:92)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:69)
at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113)
at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:73)
at org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:92)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
at org.geoserver.security.filter.GeoServerAnonymousAuthenticationFilter.doFilter(GeoServerAnonymousAuthenticationFilter.java:54)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:69)
at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:182)
at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:73)
at org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:92)
at org.geoserver.security.filter.GeoServerUserNamePasswordAuthenticationFilter.doFilter(GeoServerUserNamePasswordAuthenticationFilter.java:116)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:69)
at org.springframework.security.web.authentication.rememberme.RememberMeAuthenticationFilter.doFilter(RememberMeAuthenticationFilter.java:146)
at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:73)
at org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:92)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:69)
at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87)
at org.geoserver.security.filter.GeoServerSecurityContextPersistenceFilter$1.doFilter(GeoServerSecurityContextPersistenceFilter.java:53)
at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:73)
at org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:92)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:173)
at org.geoserver.security.GeoServerSecurityFilterChainProxy.doFilter(GeoServerSecurityFilterChainProxy.java:135)
at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)
at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.geoserver.filters.LoggingFilter.doFilter(LoggingFilter.java:76)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.geoserver.filters.GZIPFilter.doFilter(GZIPFilter.java:42)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.geoserver.filters.SessionDebugFilter.doFilter(SessionDebugFilter.java:48)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.geoserver.filters.FlushSafeFilter.doFilter(FlushSafeFilter.java:44)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:617)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:518)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1091)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:668)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1521)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1478)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.RuntimeException: Unable to obtain connection: Cannot create PoolableConnectionFactory (FATAL: Ident authentication failed for user “geoserver_user”)
at org.geotools.jdbc.JDBCDataStore.createConnection(JDBCDataStore.java:1818)
at org.geotools.jdbc.JDBCDataStore.createTypeNames(JDBCDataStore.java:938)
at org.geotools.data.store.ContentDataStore.getTypeNames(ContentDataStore.java:300)
at org.vfny.geoserver.util.DataStoreUtils.getDataAccess(DataStoreUtils.java:115)
at org.geoserver.catalog.ResourcePool.getDataStore(ResourcePool.java:563)
… 111 more
Caused by: org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (FATAL: Ident authentication failed for user “geoserver_user”)
at org.apache.commons.dbcp.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:1549)
at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1388)
at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:1044)
at org.geotools.data.jdbc.datasource.AbstractManageableDataSource.getConnection(AbstractManageableDataSource.java:48)
at org.geotools.jdbc.JDBCDataStore.createConnection(JDBCDataStore.java:1804)
… 115 more
Caused by: org.postgresql.util.PSQLException: FATAL: Ident authentication failed for user “geoserver_user”
at org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(ConnectionFactoryImpl.java:291)
at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:108)
at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:66)
at org.postgresql.jdbc2.AbstractJdbc2Connection.(AbstractJdbc2Connection.java:125)
at org.postgresql.jdbc3.AbstractJdbc3Connection.(AbstractJdbc3Connection.java:30)
at org.postgresql.jdbc3.Jdbc3Connection.(Jdbc3Connection.java:24)
at org.postgresql.Driver.makeConnection(Driver.java:393)
at org.postgresql.Driver.connect(Driver.java:267)
at org.apache.commons.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:38)
at org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:582)
at org.apache.commons.dbcp.BasicDataSource.validateConnectionFactory(BasicDataSource.java:1556)
at org.apache.commons.dbcp.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:1545)

Seems that the problem is clearly, that the database denies access from localhost. Configuration file pg_hba.conf is ok, but for some reason localhos access is still denied

When creating store using server’s name instead of localhost, the store is crated ok.

Oiva

···

Lähettäjä: Hakala Oiva (Luke) oiva.hakala@anonymised.com
Lähetetty: 2. kesäkuuta 2015 8:40
Vastaanottaja: geoserver-users@lists.sourceforge.net
Aihe: [Geoserver-users] Crazy error using Postgis database

NEW server: Centos 7, Geoserver 2.5.4, Postgres 9.2. Data moved from the old server.

I can connect to the NEW server’s database from MY COMPUTER using PgAdmin III, and I CAN CREATE A STORE using the new server’s database from my own computer’s Geoserver and from the old production Geoserver. BUT, I CAN NOT create a store from the NEW server’s Geoserver. I always get an “Ident authentication…” error. What is going on? See the log.

Or is it a Geoserver problem? We changed pg_hba.conf so that md5 was replaced with trust and now I can create a store using localhost. Is the problem, that Geoserver does not send MD5 encrypted password to Postgresql?

Oiva

···

Lähettäjä: Hakala Oiva (Luke) oiva.hakala@anonymised.com
Lähetetty: 2. kesäkuuta 2015 9:56
Vastaanottaja: geoserver-users@lists.sourceforge.net
Aihe: Re: [Geoserver-users] Crazy error using Postgis database

Seems that the problem is clearly, that the database denies access from localhost. Configuration file pg_hba.conf is ok, but for some reason localhos access is still denied

When creating store using server’s name instead of localhost, the store is crated ok.

Oiva


Lähettäjä: Hakala Oiva (Luke) oiva.hakala@anonymised.com
Lähetetty: 2. kesäkuuta 2015 8:40
Vastaanottaja: geoserver-users@lists.sourceforge.net
Aihe: [Geoserver-users] Crazy error using Postgis database

NEW server: Centos 7, Geoserver 2.5.4, Postgres 9.2. Data moved from the old server.

I can connect to the NEW server’s database from MY COMPUTER using PgAdmin III, and I CAN CREATE A STORE using the new server’s database from my own computer’s Geoserver and from the old production Geoserver. BUT, I CAN NOT create a store from the NEW server’s Geoserver. I always get an “Ident authentication…” error. What is going on? See the log.

Did you update the pg_hba.conf file to allow gsoserver to connect to the database for the required users?

···

From: Hakala Oiva (Luke) [mailto:oiva.hakala@anonymised.com]
Sent: 02 June 2015 06:41
To: geoserver-users@lists.sourceforge.net
Subject: [Geoserver-users] Crazy error using Postgis database

NEW server: Centos 7, Geoserver 2.5.4, Postgres 9.2. Data moved from the old server.

I can connect to the NEW server’s database from MY COMPUTER using PgAdmin III, and I CAN CREATE A STORE using the new server’s database from my own computer’s Geoserver and from the old production Geoserver. BUT, I CAN NOT create a store from the NEW server’s Geoserver. I always get an “Ident authentication…” error. What is going on? See the log.

2015-06-02 07:35:25,024 WARN [data.store] - Error obtaining new data store
java.io.IOException
at org.geoserver.catalog.ResourcePool.getDataStore(ResourcePool.java:603)
at org.geoserver.catalog.impl.DataStoreInfoImpl.getDataStore(DataStoreInfoImpl.java:38)
at org.geoserver.web.data.store.DataAccessNewPage.onSaveDataStore(DataAccessNewPage.java:92)
at org.geoserver.web.data.store.AbstractDataAccessPage$1.onSubmit(AbstractDataAccessPage.java:163)
at org.apache.wicket.ajax.markup.html.form.AjaxSubmitLink$1.onSubmit(AjaxSubmitLink.java:68)
at org.apache.wicket.ajax.form.AjaxFormSubmitBehavior.onEvent(AjaxFormSubmitBehavior.java:143)
at org.apache.wicket.ajax.AjaxEventBehavior.respond(AjaxEventBehavior.java:177)
at org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.onRequest(AbstractDefaultAjaxBehavior.java:300)
at org.apache.wicket.request.target.component.listener.BehaviorRequestTarget.processEvents(BehaviorRequestTarget.java:119)
at org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:92)
at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1250)
at org.apache.wicket.RequestCycle.step(RequestCycle.java:1329)
at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1436)
at org.apache.wicket.RequestCycle.request(RequestCycle.java:545)
at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:484)
at org.apache.wicket.protocol.http.WicketServlet.doPost(WicketServlet.java:160)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:648)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at org.springframework.web.servlet.mvc.ServletWrappingController.handleRequestInternal(ServletWrappingController.java:159)
at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:923)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:852)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882)
at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:789)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:648)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.geoserver.filters.ThreadLocalsCleanupFilter.doFilter(ThreadLocalsCleanupFilter.java:28)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java:75)
at org.geoserver.wms.animate.AnimatorFilter.doFilter(AnimatorFilter.java:71)
at org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java:71)
at org.geoserver.filters.SpringDelegatingFilter.doFilter(SpringDelegatingFilter.java:46)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.geoserver.platform.AdvancedDispatchFilter.doFilter(AdvancedDispatchFilter.java:50)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:311)
at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:69)
at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:116)
at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83)
at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:73)
at org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:92)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:69)
at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113)
at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:73)
at org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:92)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
at org.geoserver.security.filter.GeoServerAnonymousAuthenticationFilter.doFilter(GeoServerAnonymousAuthenticationFilter.java:54)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:69)
at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:182)
at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:73)
at org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:92)
at org.geoserver.security.filter.GeoServerUserNamePasswordAuthenticationFilter.doFilter(GeoServerUserNamePasswordAuthenticationFilter.java:116)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:69)
at org.springframework.security.web.authentication.rememberme.RememberMeAuthenticationFilter.doFilter(RememberMeAuthenticationFilter.java:146)
at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:73)
at org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:92)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:69)
at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87)
at org.geoserver.security.filter.GeoServerSecurityContextPersistenceFilter$1.doFilter(GeoServerSecurityContextPersistenceFilter.java:53)
at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:73)
at org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:92)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:173)
at org.geoserver.security.GeoServerSecurityFilterChainProxy.doFilter(GeoServerSecurityFilterChainProxy.java:135)
at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)
at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.geoserver.filters.LoggingFilter.doFilter(LoggingFilter.java:76)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.geoserver.filters.GZIPFilter.doFilter(GZIPFilter.java:42)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.geoserver.filters.SessionDebugFilter.doFilter(SessionDebugFilter.java:48)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.geoserver.filters.FlushSafeFilter.doFilter(FlushSafeFilter.java:44)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:617)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:518)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1091)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:668)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1521)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1478)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.RuntimeException: Unable to obtain connection: Cannot create PoolableConnectionFactory (FATAL: Ident authentication failed for user “geoserver_user”)
at org.geotools.jdbc.JDBCDataStore.createConnection(JDBCDataStore.java:1818)
at org.geotools.jdbc.JDBCDataStore.createTypeNames(JDBCDataStore.java:938)
at org.geotools.data.store.ContentDataStore.getTypeNames(ContentDataStore.java:300)
at org.vfny.geoserver.util.DataStoreUtils.getDataAccess(DataStoreUtils.java:115)
at org.geoserver.catalog.ResourcePool.getDataStore(ResourcePool.java:563)
… 111 more
Caused by: org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (FATAL: Ident authentication failed for user “geoserver_user”)
at org.apache.commons.dbcp.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:1549)
at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1388)
at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:1044)
at org.geotools.data.jdbc.datasource.AbstractManageableDataSource.getConnection(AbstractManageableDataSource.java:48)
at org.geotools.jdbc.JDBCDataStore.createConnection(JDBCDataStore.java:1804)
… 115 more
Caused by: org.postgresql.util.PSQLException: FATAL: Ident authentication failed for user “geoserver_user”
at org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(ConnectionFactoryImpl.java:291)
at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:108)
at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:66)
at org.postgresql.jdbc2.AbstractJdbc2Connection.(AbstractJdbc2Connection.java:125)
at org.postgresql.jdbc3.AbstractJdbc3Connection.(AbstractJdbc3Connection.java:30)
at org.postgresql.jdbc3.Jdbc3Connection.(Jdbc3Connection.java:24)
at org.postgresql.Driver.makeConnection(Driver.java:393)
at org.postgresql.Driver.connect(Driver.java:267)
at org.apache.commons.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:38)
at org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:582)
at org.apache.commons.dbcp.BasicDataSource.validateConnectionFactory(BasicDataSource.java:1556)
at org.apache.commons.dbcp.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:1545)

This is complicated. Below you can see the basic pg_hba.conf settings on my own computer (not a production server). With these settings localhost connection works fine.

Our system manager tries to get things working, but I am not sure what changes he has tested. The only working solution was to replace md5 with trust in some of those lines. Then localhost connection started to work.

How would you change the file?

Oiva

local all postgres peer
local all all peer
host all all 127.0.0.1/32 md5
host all all ::1/128 md5

···

Lähettäjä: Kirk, Victor VICTOR.KIRK@anonymised.com
Lähetetty: 2. kesäkuuta 2015 12:13
Vastaanottaja: Hakala Oiva (Luke); geoserver-users@anonymised.com.net
Aihe: RE: Crazy error using Postgis database

Did you update the pg_hba.conf file to allow gsoserver to connect to the database for the required users?

From: Hakala Oiva (Luke) [mailto:oiva.hakala@anonymised.com]
Sent: 02 June 2015 06:41
To: geoserver-users@lists.sourceforge.net
Subject: [Geoserver-users] Crazy error using Postgis database

NEW server: Centos 7, Geoserver 2.5.4, Postgres 9.2. Data moved from the old server.

I can connect to the NEW server’s database from MY COMPUTER using PgAdmin III, and I CAN CREATE A STORE using the new server’s database from my own computer’s Geoserver and from the old production Geoserver. BUT, I CAN NOT create a store from the NEW server’s Geoserver. I always get an “Ident authentication…” error. What is going on? See the log.

Dear Steve,
I'll ping one of the devs about this problem, to me it looks like we
are unable to recognize the units for the time dimension as "secs"
does not look CF compliant to me.

Just for the records, which version of GeoServer are you using?

Regards,
Simone Giannecchini

GeoServer Professional Services from the experts!
Visit http://goo.gl/it488V for more information.

Ing. Simone Giannecchini
@simogeo
Founder/Director

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 333 8128928

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------
AVVERTENZE AI SENSI DEL D.Lgs. 196/2003
Le informazioni contenute in questo messaggio di posta elettronica e/o
nel/i file/s allegato/i sono da considerarsi strettamente riservate.
Il loro utilizzo è consentito esclusivamente al destinatario del
messaggio, per le finalità indicate nel messaggio stesso. Qualora
riceviate questo messaggio senza esserne il destinatario, Vi preghiamo
cortesemente di darcene notizia via e-mail e di procedere alla
distruzione del messaggio stesso, cancellandolo dal Vostro sistema.
Conservare il messaggio stesso, divulgarlo anche in parte,
distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità
diverse, costituisce comportamento contrario ai principi dettati dal
D.Lgs. 196/2003.

The information in this message and/or attachments, is intended solely
for the attention and use of the named addressee(s) and may be
confidential or proprietary in nature or covered by the provisions of
privacy act (Legislative Decree June, 30 2003, no.196 - Italy's New
Data Protection Code).Any use not in accord with its purpose, any
disclosure, reproduction, copying, distribution, or either
dissemination, either whole or partial, is strictly forbidden except
previous formal approval of the named addressee(s). If you are not the
intended recipient, please contact immediately the sender by
telephone, fax or e-mail and delete the information in this message
that has been received in error. The sender does not give any warranty
or accept liability as the content, accuracy or completeness of sent
messages and accepts no responsibility for changes made after they
were sent or for other risks which arise as a result of e-mail
transmission, viruses, etc.

On Mon, Jun 1, 2015 at 9:41 PM, Ferguson, Steve -FS <sferguson@anonymised.com> wrote:

I am attempting to consume this NETCDF file
http://www.mtnweather.info/download/wrfout_d01_2015-05-14_15:00:00.gz (I
unzip it before attempting to create a store). Upon doing so I receive an
exception shown below (somewhat abbreviated). My question is, is there any
way to overcome this exception allowing creation of a store from this file?
Maybe through configuration, or hints?

01 Jun 10:42:23 WARN [org.geotools.coverage.io.netcdf.NetCDFFormat] - Unable
to connect

org.geotools.data.DataSourceException: Unable to connect

        at
org.geotools.coverage.io.netcdf.NetCDFReader.<init>(NetCDFReader.java:158)

        at
org.geotools.coverage.io.netcdf.NetCDFFormat.getReader(NetCDFFormat.java:95)

        at
org.geoserver.catalog.ResourcePool.getGridCoverageReader(ResourcePool.java:1436)

        at
org.geoserver.catalog.ResourcePool.getGridCoverageReader(ResourcePool.java:1364)

        at
org.geoserver.catalog.impl.CoverageStoreInfoImpl.getGridCoverageReader(CoverageStoreInfoImpl.java:59)

Caused by: org.geotools.data.DataSourceException:
java.lang.IllegalArgumentException: Couldn't determine time units from unit
string 'secs'

        at
org.geotools.coverage.io.netcdf.NetCDFAccess.<init>(NetCDFAccess.java:131)

        at
org.geotools.coverage.io.netcdf.NetCDFDriver.connect(NetCDFDriver.java:92)

        at
org.geotools.coverage.io.impl.DefaultFileDriver.process(DefaultFileDriver.java:216)

        at
org.geotools.coverage.io.netcdf.NetCDFReader.<init>(NetCDFReader.java:156)

        ... 118 more

Caused by: java.lang.RuntimeException: java.lang.IllegalArgumentException:
Couldn't determine time units from unit string 'secs'

        at
org.geotools.imageio.netcdf.NetCDFImageReader.setInput(NetCDFImageReader.java:266)

        at javax.imageio.ImageReader.setInput(ImageReader.java:380)

        at
org.geotools.coverage.io.netcdf.NetCDFAccess.<init>(NetCDFAccess.java:120)

        ... 121 more

Caused by: java.lang.IllegalArgumentException: Couldn't determine time units
from unit string 'secs'

        at
org.geotools.imageio.netcdf.cv.TimeCoordinateVariable$TimeBuilder.<init>(TimeCoordinateVariable.java:79)

        at
org.geotools.imageio.netcdf.cv.TimeCoordinateVariable.<init>(TimeCoordinateVariable.java:131)

        at
org.geotools.imageio.netcdf.cv.CoordinateVariable.create(CoordinateVariable.java:117)

        at
org.geotools.imageio.netcdf.NetCDFImageReader.extractCoordinatesVariable(NetCDFImageReader.java:444)

        at
org.geotools.imageio.netcdf.NetCDFImageReader.init(NetCDFImageReader.java:510)

        at
org.geotools.imageio.netcdf.NetCDFImageReader.setInput(NetCDFImageReader.java:264)

        ... 123 more

01 Jun 10:42:23 INFO [org.geoserver.web] - Getting list of coverages for
saved store file:netcdf/mtnweather/wrfout_d01_2015-05-14_15:00:00.nc

java.lang.RuntimeException: Could not list layers for this store, an error
occurred retrieving them: Failed to create reader from
file:netcdf/mtnweather/wrfout_d01_2015-05-14_15:00:00.nc and hints null

        at
org.geoserver.web.data.layer.NewLayerPageProvider.getItemsInternal(NewLayerPageProvider.java:151)

        at
org.geoserver.web.data.layer.NewLayerPageProvider.getItems(NewLayerPageProvider.java:59)

        at
org.geoserver.web.wicket.GeoServerDataProvider.fullSize(GeoServerDataProvider.java:242)

….

Caused by: java.io.IOException: Failed to create reader from
file:netcdf/mtnweather/wrfout_d01_2015-05-14_15:00:00.nc and hints null

        at
org.geoserver.catalog.ResourcePool.getGridCoverageReader(ResourcePool.java:1438)

        at
org.geoserver.catalog.ResourcePool.getGridCoverageReader(ResourcePool.java:1364)

        at
org.geoserver.catalog.impl.CoverageStoreInfoImpl.getGridCoverageReader(CoverageStoreInfoImpl.java:59)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

        at java.lang.reflect.Method.invoke(Method.java:606)

        at
org.geoserver.catalog.impl.ModificationProxy.invoke(ModificationProxy.java:146)

        at com.sun.proxy.$Proxy14.getGridCoverageReader(Unknown Source)

        at
org.geoserver.web.data.layer.NewLayerPageProvider.getItemsInternal(NewLayerPageProvider.java:90)

Thanks!

Steve Ferguson

------------------------------------------------------------------------------

_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Simone,

I have tried with 2.7.0 and 2.7.1. I was able to check out and run with the latest geotools source code and reproduce the problem there as well. In looking at their source code they will only accept "second" or "seconds" and not "secs" so that was the problem. Thanks for getting back to me. I'll talk to the person who produces our NETCDF to see if they have any control over the format of the time in our file.

Steve Ferguson

-----Original Message-----
From: simboss1@...84... [mailto:simboss1@…84…] On Behalf Of Simone Giannecchini
Sent: Thursday, June 11, 2015 11:23 AM
To: Ferguson, Steve -FS
Cc: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] Unable to consume NETCDF data : Couldn't determine time units from unit string 'secs'

Dear Steve,
I'll ping one of the devs about this problem, to me it looks like we are unable to recognize the units for the time dimension as "secs"
does not look CF compliant to me.

Just for the records, which version of GeoServer are you using?

Regards,
Simone Giannecchini

GeoServer Professional Services from the experts!
Visit http://goo.gl/it488V for more information.

Ing. Simone Giannecchini
@simogeo
Founder/Director

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 333 8128928

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------
AVVERTENZE AI SENSI DEL D.Lgs. 196/2003
Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate.
Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema.
Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.

The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.

On Mon, Jun 1, 2015 at 9:41 PM, Ferguson, Steve -FS <sferguson@...102...> wrote:

I am attempting to consume this NETCDF file
http://www.mtnweather.info/download/wrfout_d01_2015-05-14_15:00:00.gz
(I unzip it before attempting to create a store). Upon doing so I
receive an exception shown below (somewhat abbreviated). My question
is, is there any way to overcome this exception allowing creation of a store from this file?
Maybe through configuration, or hints?

01 Jun 10:42:23 WARN [org.geotools.coverage.io.netcdf.NetCDFFormat] -
Unable to connect

org.geotools.data.DataSourceException: Unable to connect

        at
org.geotools.coverage.io.netcdf.NetCDFReader.<init>(NetCDFReader.java:
158)

        at
org.geotools.coverage.io.netcdf.NetCDFFormat.getReader(NetCDFFormat.ja
va:95)

        at
org.geoserver.catalog.ResourcePool.getGridCoverageReader(ResourcePool.
java:1436)

        at
org.geoserver.catalog.ResourcePool.getGridCoverageReader(ResourcePool.
java:1364)

        at
org.geoserver.catalog.impl.CoverageStoreInfoImpl.getGridCoverageReader
(CoverageStoreInfoImpl.java:59)

Caused by: org.geotools.data.DataSourceException:
java.lang.IllegalArgumentException: Couldn't determine time units from
unit string 'secs'

        at
org.geotools.coverage.io.netcdf.NetCDFAccess.<init>(NetCDFAccess.java:
131)

        at
org.geotools.coverage.io.netcdf.NetCDFDriver.connect(NetCDFDriver.java
:92)

        at
org.geotools.coverage.io.impl.DefaultFileDriver.process(DefaultFileDri
ver.java:216)

        at
org.geotools.coverage.io.netcdf.NetCDFReader.<init>(NetCDFReader.java:
156)

        ... 118 more

Caused by: java.lang.RuntimeException: java.lang.IllegalArgumentException:
Couldn't determine time units from unit string 'secs'

        at
org.geotools.imageio.netcdf.NetCDFImageReader.setInput(NetCDFImageRead
er.java:266)

        at javax.imageio.ImageReader.setInput(ImageReader.java:380)

        at
org.geotools.coverage.io.netcdf.NetCDFAccess.<init>(NetCDFAccess.java:
120)

        ... 121 more

Caused by: java.lang.IllegalArgumentException: Couldn't determine time
units from unit string 'secs'

        at
org.geotools.imageio.netcdf.cv.TimeCoordinateVariable$TimeBuilder.<ini
t>(TimeCoordinateVariable.java:79)

        at
org.geotools.imageio.netcdf.cv.TimeCoordinateVariable.<init>(TimeCoord
inateVariable.java:131)

        at
org.geotools.imageio.netcdf.cv.CoordinateVariable.create(CoordinateVar
iable.java:117)

        at
org.geotools.imageio.netcdf.NetCDFImageReader.extractCoordinatesVariab
le(NetCDFImageReader.java:444)

        at
org.geotools.imageio.netcdf.NetCDFImageReader.init(NetCDFImageReader.j
ava:510)

        at
org.geotools.imageio.netcdf.NetCDFImageReader.setInput(NetCDFImageRead
er.java:264)

        ... 123 more

01 Jun 10:42:23 INFO [org.geoserver.web] - Getting list of coverages
for saved store
file:netcdf/mtnweather/wrfout_d01_2015-05-14_15:00:00.nc

java.lang.RuntimeException: Could not list layers for this store, an
error occurred retrieving them: Failed to create reader from
file:netcdf/mtnweather/wrfout_d01_2015-05-14_15:00:00.nc and hints
null

        at
org.geoserver.web.data.layer.NewLayerPageProvider.getItemsInternal(New
LayerPageProvider.java:151)

        at
org.geoserver.web.data.layer.NewLayerPageProvider.getItems(NewLayerPag
eProvider.java:59)

        at
org.geoserver.web.wicket.GeoServerDataProvider.fullSize(GeoServerDataP
rovider.java:242)

….

Caused by: java.io.IOException: Failed to create reader from
file:netcdf/mtnweather/wrfout_d01_2015-05-14_15:00:00.nc and hints
null

        at
org.geoserver.catalog.ResourcePool.getGridCoverageReader(ResourcePool.
java:1438)

        at
org.geoserver.catalog.ResourcePool.getGridCoverageReader(ResourcePool.
java:1364)

        at
org.geoserver.catalog.impl.CoverageStoreInfoImpl.getGridCoverageReader
(CoverageStoreInfoImpl.java:59)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j
ava:57)

        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess
orImpl.java:43)

        at java.lang.reflect.Method.invoke(Method.java:606)

        at
org.geoserver.catalog.impl.ModificationProxy.invoke(ModificationProxy.
java:146)

        at com.sun.proxy.$Proxy14.getGridCoverageReader(Unknown
Source)

        at
org.geoserver.web.data.layer.NewLayerPageProvider.getItemsInternal(New
LayerPageProvider.java:90)

Thanks!

Steve Ferguson

----------------------------------------------------------------------
--------

_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Hi Steve,

I think we have missed a couple of entries related to time units from the UDUNIT package.

I will work on fixing them:
https://osgeo-org.atlassian.net/browse/GEOT-5144

Hope this helps.

Cheers,

Daniele

···

On Thu, Jun 11, 2015 at 8:34 PM, Ferguson, Steve -FS <sferguson@anonymised.com> wrote:

Simone,

I have tried with 2.7.0 and 2.7.1. I was able to check out and run with the latest geotools source code and reproduce the problem there as well. In looking at their source code they will only accept “second” or “seconds” and not “secs” so that was the problem. Thanks for getting back to me. I’ll talk to the person who produces our NETCDF to see if they have any control over the format of the time in our file.

Steve Ferguson

-----Original Message-----
From: simboss1@anonymised.com [mailto:simboss1@anonymised.com] On Behalf Of Simone Giannecchini
Sent: Thursday, June 11, 2015 11:23 AM
To: Ferguson, Steve -FS
Cc: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] Unable to consume NETCDF data : Couldn’t determine time units from unit string ‘secs’

Dear Steve,
I’ll ping one of the devs about this problem, to me it looks like we are unable to recognize the units for the time dimension as “secs”
does not look CF compliant to me.

Just for the records, which version of GeoServer are you using?

Regards,
Simone Giannecchini

GeoServer Professional Services from the experts!
Visit http://goo.gl/it488V for more information.

Ing. Simone Giannecchini
@simogeo
Founder/Director

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 333 8128928

http://www.geo-solutions.it
http://twitter.com/geosolutions_it


AVVERTENZE AI SENSI DEL D.Lgs. 196/2003
Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate.
Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema.
Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.

The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy’s New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.

On Mon, Jun 1, 2015 at 9:41 PM, Ferguson, Steve -FS <sferguson@anonymised.com> wrote:

I am attempting to consume this NETCDF file
http://www.mtnweather.info/download/wrfout_d01_2015-05-14_15:00:00.gz
(I unzip it before attempting to create a store). Upon doing so I
receive an exception shown below (somewhat abbreviated). My question
is, is there any way to overcome this exception allowing creation of a store from this file?
Maybe through configuration, or hints?

01 Jun 10:42:23 WARN [org.geotools.coverage.io.netcdf.NetCDFFormat] -
Unable to connect

org.geotools.data.DataSourceException: Unable to connect

at
org.geotools.coverage.io.netcdf.NetCDFReader.(NetCDFReader.java:
158)

at
org.geotools.coverage.io.netcdf.NetCDFFormat.getReader(NetCDFFormat.ja
va:95)

at
org.geoserver.catalog.ResourcePool.getGridCoverageReader(ResourcePool.
java:1436)

at
org.geoserver.catalog.ResourcePool.getGridCoverageReader(ResourcePool.
java:1364)

at
org.geoserver.catalog.impl.CoverageStoreInfoImpl.getGridCoverageReader
(CoverageStoreInfoImpl.java:59)

Caused by: org.geotools.data.DataSourceException:
java.lang.IllegalArgumentException: Couldn’t determine time units from
unit string ‘secs’

at
org.geotools.coverage.io.netcdf.NetCDFAccess.(NetCDFAccess.java:
131)

at
org.geotools.coverage.io.netcdf.NetCDFDriver.connect(NetCDFDriver.java
:92)

at
org.geotools.coverage.io.impl.DefaultFileDriver.process(DefaultFileDri
ver.java:216)

at
org.geotools.coverage.io.netcdf.NetCDFReader.(NetCDFReader.java:
156)

… 118 more

Caused by: java.lang.RuntimeException: java.lang.IllegalArgumentException:
Couldn’t determine time units from unit string ‘secs’

at
org.geotools.imageio.netcdf.NetCDFImageReader.setInput(NetCDFImageRead
er.java:266)

at javax.imageio.ImageReader.setInput(ImageReader.java:380)

at
org.geotools.coverage.io.netcdf.NetCDFAccess.(NetCDFAccess.java:
120)

… 121 more

Caused by: java.lang.IllegalArgumentException: Couldn’t determine time
units from unit string ‘secs’

at
org.geotools.imageio.netcdf.cv.TimeCoordinateVariable$TimeBuilder.(TimeCoordinateVariable.java:79)

at
org.geotools.imageio.netcdf.cv.TimeCoordinateVariable.(TimeCoord
inateVariable.java:131)

at
org.geotools.imageio.netcdf.cv.CoordinateVariable.create(CoordinateVar
iable.java:117)

at
org.geotools.imageio.netcdf.NetCDFImageReader.extractCoordinatesVariab
le(NetCDFImageReader.java:444)

at
org.geotools.imageio.netcdf.NetCDFImageReader.init(NetCDFImageReader.j
ava:510)

at
org.geotools.imageio.netcdf.NetCDFImageReader.setInput(NetCDFImageRead
er.java:264)

… 123 more

01 Jun 10:42:23 INFO [org.geoserver.web] - Getting list of coverages
for saved store
file:netcdf/mtnweather/wrfout_d01_2015-05-14_15:00:00.nc

java.lang.RuntimeException: Could not list layers for this store, an
error occurred retrieving them: Failed to create reader from
file:netcdf/mtnweather/wrfout_d01_2015-05-14_15:00:00.nc and hints
null

at
org.geoserver.web.data.layer.NewLayerPageProvider.getItemsInternal(New
LayerPageProvider.java:151)

at
org.geoserver.web.data.layer.NewLayerPageProvider.getItems(NewLayerPag
eProvider.java:59)

at
org.geoserver.web.wicket.GeoServerDataProvider.fullSize(GeoServerDataP
rovider.java:242)

….

Caused by: java.io.IOException: Failed to create reader from
file:netcdf/mtnweather/wrfout_d01_2015-05-14_15:00:00.nc and hints
null

at
org.geoserver.catalog.ResourcePool.getGridCoverageReader(ResourcePool.
java:1438)

at
org.geoserver.catalog.ResourcePool.getGridCoverageReader(ResourcePool.
java:1364)

at
org.geoserver.catalog.impl.CoverageStoreInfoImpl.getGridCoverageReader
(CoverageStoreInfoImpl.java:59)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j
ava:57)

at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess
orImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:606)

at
org.geoserver.catalog.impl.ModificationProxy.invoke(ModificationProxy.
java:146)

at com.sun.proxy.$Proxy14.getGridCoverageReader(Unknown
Source)

at
org.geoserver.web.data.layer.NewLayerPageProvider.getItemsInternal(New
LayerPageProvider.java:90)

Thanks!

Steve Ferguson




Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users



Geoserver-users mailing list
Geoserver-users@anonymised.comsts.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

==
GeoServer Professional Services from the experts! Visit
http://goo.gl/it488V for more information.

Ing. Daniele Romagnoli
Senior Software Engineer

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272

http://www.geo-solutions.it
http://twitter.com/geosolutions_it


AVVERTENZE AI SENSI DEL D.Lgs. 196/2003

Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.

The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy’s New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.

Dear Steve,
the fix has been commited on both master and 13.x series.

Hope this helps.
Daniele

···

On Fri, Jun 12, 2015 at 9:51 AM, Daniele Romagnoli <daniele.romagnoli@anonymised.com> wrote:

Hi Steve,

I think we have missed a couple of entries related to time units from the UDUNIT package.

I will work on fixing them:
https://osgeo-org.atlassian.net/browse/GEOT-5144

Hope this helps.

Cheers,

Daniele

On Thu, Jun 11, 2015 at 8:34 PM, Ferguson, Steve -FS <sferguson@anonymised.com> wrote:

Simone,

I have tried with 2.7.0 and 2.7.1. I was able to check out and run with the latest geotools source code and reproduce the problem there as well. In looking at their source code they will only accept “second” or “seconds” and not “secs” so that was the problem. Thanks for getting back to me. I’ll talk to the person who produces our NETCDF to see if they have any control over the format of the time in our file.

Steve Ferguson

-----Original Message-----
From: simboss1@anonymised.com… [mailto:simboss1@anonymised.com] On Behalf Of Simone Giannecchini
Sent: Thursday, June 11, 2015 11:23 AM
To: Ferguson, Steve -FS
Cc: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] Unable to consume NETCDF data : Couldn’t determine time units from unit string ‘secs’

Dear Steve,
I’ll ping one of the devs about this problem, to me it looks like we are unable to recognize the units for the time dimension as “secs”
does not look CF compliant to me.

Just for the records, which version of GeoServer are you using?

Regards,
Simone Giannecchini

GeoServer Professional Services from the experts!
Visit http://goo.gl/it488V for more information.

Ing. Simone Giannecchini
@simogeo
Founder/Director

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 333 8128928

http://www.geo-solutions.it
http://twitter.com/geosolutions_it


AVVERTENZE AI SENSI DEL D.Lgs. 196/2003
Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate.
Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema.
Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.

The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy’s New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.

On Mon, Jun 1, 2015 at 9:41 PM, Ferguson, Steve -FS <sferguson@anonymised.com> wrote:

I am attempting to consume this NETCDF file
http://www.mtnweather.info/download/wrfout_d01_2015-05-14_15:00:00.gz
(I unzip it before attempting to create a store). Upon doing so I
receive an exception shown below (somewhat abbreviated). My question
is, is there any way to overcome this exception allowing creation of a store from this file?
Maybe through configuration, or hints?

01 Jun 10:42:23 WARN [org.geotools.coverage.io.netcdf.NetCDFFormat] -
Unable to connect

org.geotools.data.DataSourceException: Unable to connect

at
org.geotools.coverage.io.netcdf.NetCDFReader.(NetCDFReader.java:
158)

at
org.geotools.coverage.io.netcdf.NetCDFFormat.getReader(NetCDFFormat.ja
va:95)

at
org.geoserver.catalog.ResourcePool.getGridCoverageReader(ResourcePool.
java:1436)

at
org.geoserver.catalog.ResourcePool.getGridCoverageReader(ResourcePool.
java:1364)

at
org.geoserver.catalog.impl.CoverageStoreInfoImpl.getGridCoverageReader
(CoverageStoreInfoImpl.java:59)

Caused by: org.geotools.data.DataSourceException:
java.lang.IllegalArgumentException: Couldn’t determine time units from
unit string ‘secs’

at
org.geotools.coverage.io.netcdf.NetCDFAccess.(NetCDFAccess.java:
131)

at
org.geotools.coverage.io.netcdf.NetCDFDriver.connect(NetCDFDriver.java
:92)

at
org.geotools.coverage.io.impl.DefaultFileDriver.process(DefaultFileDri
ver.java:216)

at
org.geotools.coverage.io.netcdf.NetCDFReader.(NetCDFReader.java:
156)

… 118 more

Caused by: java.lang.RuntimeException: java.lang.IllegalArgumentException:
Couldn’t determine time units from unit string ‘secs’

at
org.geotools.imageio.netcdf.NetCDFImageReader.setInput(NetCDFImageRead
er.java:266)

at javax.imageio.ImageReader.setInput(ImageReader.java:380)

at
org.geotools.coverage.io.netcdf.NetCDFAccess.(NetCDFAccess.java:
120)

… 121 more

Caused by: java.lang.IllegalArgumentException: Couldn’t determine time
units from unit string ‘secs’

at
org.geotools.imageio.netcdf.cv.TimeCoordinateVariable$TimeBuilder.(TimeCoordinateVariable.java:79)

at
org.geotools.imageio.netcdf.cv.TimeCoordinateVariable.(TimeCoord
inateVariable.java:131)

at
org.geotools.imageio.netcdf.cv.CoordinateVariable.create(CoordinateVar
iable.java:117)

at
org.geotools.imageio.netcdf.NetCDFImageReader.extractCoordinatesVariab
le(NetCDFImageReader.java:444)

at
org.geotools.imageio.netcdf.NetCDFImageReader.init(NetCDFImageReader.j
ava:510)

at
org.geotools.imageio.netcdf.NetCDFImageReader.setInput(NetCDFImageRead
er.java:264)

… 123 more

01 Jun 10:42:23 INFO [org.geoserver.web] - Getting list of coverages
for saved store
file:netcdf/mtnweather/wrfout_d01_2015-05-14_15:00:00.nc

java.lang.RuntimeException: Could not list layers for this store, an
error occurred retrieving them: Failed to create reader from
file:netcdf/mtnweather/wrfout_d01_2015-05-14_15:00:00.nc and hints
null

at
org.geoserver.web.data.layer.NewLayerPageProvider.getItemsInternal(New
LayerPageProvider.java:151)

at
org.geoserver.web.data.layer.NewLayerPageProvider.getItems(NewLayerPag
eProvider.java:59)

at
org.geoserver.web.wicket.GeoServerDataProvider.fullSize(GeoServerDataP
rovider.java:242)

….

Caused by: java.io.IOException: Failed to create reader from
file:netcdf/mtnweather/wrfout_d01_2015-05-14_15:00:00.nc and hints
null

at
org.geoserver.catalog.ResourcePool.getGridCoverageReader(ResourcePool.
java:1438)

at
org.geoserver.catalog.ResourcePool.getGridCoverageReader(ResourcePool.
java:1364)

at
org.geoserver.catalog.impl.CoverageStoreInfoImpl.getGridCoverageReader
(CoverageStoreInfoImpl.java:59)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j
ava:57)

at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess
orImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:606)

at
org.geoserver.catalog.impl.ModificationProxy.invoke(ModificationProxy.
java:146)

at com.sun.proxy.$Proxy14.getGridCoverageReader(Unknown
Source)

at
org.geoserver.web.data.layer.NewLayerPageProvider.getItemsInternal(New
LayerPageProvider.java:90)

Thanks!

Steve Ferguson




Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users



Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

==
GeoServer Professional Services from the experts! Visit
http://goo.gl/it488V for more information.

Ing. Daniele Romagnoli
Senior Software Engineer

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272

http://www.geo-solutions.it
http://twitter.com/geosolutions_it


AVVERTENZE AI SENSI DEL D.Lgs. 196/2003

Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.

The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy’s New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.

==
GeoServer Professional Services from the experts! Visit
http://goo.gl/it488V for more information.

Ing. Daniele Romagnoli
Senior Software Engineer

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272

http://www.geo-solutions.it
http://twitter.com/geosolutions_it


AVVERTENZE AI SENSI DEL D.Lgs. 196/2003

Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.

The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy’s New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.