Paddy,

is this the World Meteorological Organization (WMO) header added by the US National Weather Service Telecommunications Gateway? If so, this is fixed in GeoTools 15.2 / GeoServer 2.9.2 and later:

[GEOT-5524] Incorrect detection of GRIB files with WMO header
https://osgeo-org.atlassian.net/browse/GEOT-5524

Kind regards,
Ben.

On 19/10/17 05:53, Padhrig Mccarthy wrote:
Thank you all for your suggestions. They encouraged me to dig deeper into
our problem.

The issue ended up being that the National Weather Service (the source of
these two grids) is adding a 32-byte header to the files. GeoTools checks
that grib files start with the characters GRIB, which was no longer the
case with the prepended header.

We had to connect to our GeoServer instance via a remote debugger to figure
out the problem. If anyone is curious about how to do that, please contact
me. It was challenging to figure out, but I'm sure will prove helpful as we
work with GeoServer more.

Thanks again for your help.

-Paddy McCarthy
  Research Applications Lab
  National Center for Atmospheric Research
  Boulder, Colorado


--
Ben Caradoc-Davies <b...@transient.nz>
Director
Transient Software Limited <http://transient.nz/>
New Zealand

------------------------------------------------------------------------------
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