On 26 Jul 2015, at 1:41 am, Miles Jordan <[email protected]> wrote:
> 
> On 26 Jul 2015, at 1:22 am, Miles Jordan <[email protected] 
> <mailto:[email protected]>> wrote:
>> 
>> I updated to 2.7.1.1 and can no longer add grib stores. 
>> 
>> "Could not list layers for this store, an error occurred retrieving them: 
>> Failed to create reader from file:data/Pacific.grb and hints null"
> 
> I found this open bug: https://osgeo-org.atlassian.net/browse/GEOS-7115 
> <https://osgeo-org.atlassian.net/browse/GEOS-7115> and it seems to be the 
> same thing, so I’l add some info there.


Doing some more looking into this.

I cloned the git repo and set up eclipse to run geoserver with the following 
dependencies on the class path in the run configuration:
 
 - the grib project + its automatically added dependencies
 - jai*.jar
 - gt-netcdf jar
 - gt-grib jar

I ran from within Eclipse and it worked… and then I realised my mistake (for 
want of a better word). I had included versions of gt-grib and gt-netcdf from 
another folder, from a build on July 13, 2015 - but that had made it work. So 
it looks like this is a geotools problem.

I confirmed by replacing with the latest versions of these jars and figured out 
that it was only the gt-grib jar that was causing the issue. So the problem is 
likely to be in there somewhere, or one of its dependencies.

This seems to be the only thing applicable that was merged around that time: 
https://github.com/geotools/geotools/pull/906 
<https://github.com/geotools/geotools/pull/906> (upgrading NetCDF)

I can’t immediately identify what would be causing it, but does seem to be 
related to upgrading NetCDF. Maybe someone else with a bit more knowledge of it 
would be able to easily see what’s happening.

Cheers,

Miles

------------------------------------------------------------------------------
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to