Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Are there any good libraries for accessing GRIB2 data in .Net? Specifically, I want to be able to quickly pull subsets of weather data from a grib2 file based on time and location.

share|improve this question
up vote 2 down vote accepted

http://fwtools.maptools.org/

With FWTools there are .NET wrappers for the GDAL, which can read .GRB (GRIB2) files.

share|improve this answer
    
Wonderful. I'll give it a shot tonight, but from what I read I think it may work. If so, I'll accept your answer. – Todd Benning Jan 10 '11 at 16:47

GribApi.NET is now freely available. It supports reading and writing GRIB 1 and 2 files.

Disclosure: I am the author of the C# wrapper.

share|improve this answer

GribCS gives fine grained access to grib files. Using GDAL you might be loosing some interesting information.

http://sourceforge.net/projects/gribcs/files/

share|improve this answer

I have no experience with .NET, but the standard c library for accessing grib2 files is g2clib. You could call the functions of that dll. I think it is better than using gdal, because you are more likely to cover every aspect of the grib2 definition.

share|improve this answer
    
Haven't seen that one before. I'll give it a look. Thanks! – Todd Benning Feb 23 '11 at 20:04

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.