Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

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

3 Answers 3

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

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

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

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.