I am attempting to expose a layer (height) from this netcdf file : 
http://54.183.9.182/wrf.nc that has a Z index as well as a time dimension. I am 
able to load and view this layer in the netcdf tools UI grid viewer, but when I 
attempt to expose it in GeoServer, I get an exception. Any advice on resolving 
this would be greatly appreciated. Thanks in advance.

The stack trace is :

Caused by: java.io.IOException
        at 
org.geotools.coverage.io.catalog.CoverageSlicesCatalog.getGranules(CoverageSlicesCatalog.java:442)
        at 
org.geotools.imageio.GeoSpatialImageReader.getImageIndex(GeoSpatialImageReader.java:151)
        at 
org.geotools.coverage.io.netcdf.NetCDFResponse.processRequest(NetCDFResponse.java:252)
        at 
org.geotools.coverage.io.netcdf.NetCDFResponse.createResponse(NetCDFResponse.java:146)
        at 
org.geotools.coverage.io.netcdf.NetCDFSource.read(NetCDFSource.java:65)
        at 
org.geotools.coverage.io.netcdf.NetCDFReader.read(NetCDFReader.java:486)
        at 
org.geoserver.catalog.SingleGridCoverage2DReader.read(SingleGridCoverage2DReader.java:143)
        at 
org.geoserver.catalog.CatalogBuilder.buildCoverage(CatalogBuilder.java:974)
        at 
org.geoserver.catalog.CatalogBuilder.buildCoverage(CatalogBuilder.java:855)
        at 
org.geoserver.web.data.layer.NewLayerPage.buildLayerInfo(NewLayerPage.java:346)
        ... 98 more
Caused by: java.lang.NullPointerException
        at 
org.geotools.coverage.io.catalog.CoverageSlicesCatalog.getGranules(CoverageSlicesCatalog.java:433)



Steve Ferguson


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

Reply via email to