Hi Paddy,

the Grib-Plugin of the latest GeoServer version 2.12.x checks the file names in 
org.geotools.coverage.io.grib.GRIBFormat.

           // Check if it is a GRIB data and if the GRIB library is available
           boolean gribExtension = UnidataUtilities.isGribAvailable() && 
(fileName.contains("grb") || fileName.contains("grib"));

So, the problem could simply be that your file suffix is .grb2. Rename your 
files either to .grb or .grib and try again.

A further issue could be that the Grib-Plugin of GeoServer 2.9.1 does not 
support Grib2. Try to create a GRIB raster store for a single Grib file first 
instead of creating an ImageMosaic.

Kind regards,
Jürgen

-----------------------------------
Dr. Jürgen Seib
Deutscher Wetterdienst
TI1/K - IT-Koordination
Frankfurter Strasse 135
63067 Offenbach
Tel.: +496980622609
EMail: juergen.s...@dwd.de



Von: Padhrig Mccarthy [mailto:pa...@ucar.edu]
Gesendet: Montag, 16. Oktober 2017 23:03
An: geoserver-users@lists.sourceforge.net
Betreff: [Geoserver-users] Any hints why these .grb2 datasets fail to load as 
GRIB raster stores?

Hi-

I am trying to use GeoServer 2.9.1 to create ImageMosaics from a bunch of .grb2 
grids, and am having trouble with these two. I can't seem to even read a single 
file of either type to create a GRIB raster store. I have looked carefully at 
the logs, and there appear to be no hints beyond "Failed to create reader from 
file."

http://www.rap.ucar.edu/staff/paddy/ceil_20171016_v_180000_l_0000000.grb2
http://www.rap.ucar.edu/staff/paddy/fltcat_20171016_v_200000_l_0000000.grb2

I'm downloading the source now, to see if I can get some more detail about what 
is being logged. But this group has been a great resource in the past so I 
thought to give you all a try again.

Thank you in advance for any help,

-Paddy McCarthy
 Research Applications Lab
 National Center for Atmospheric Research
 Boulder, Colorado
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

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

Reply via email to