5

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.

4 Answers 4

3

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.

2

http://fwtools.maptools.org/

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

1
  • 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. Commented Jan 10, 2011 at 16:47
1

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

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

0

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.

1
  • Haven't seen that one before. I'll give it a look. Thanks! Commented Feb 23, 2011 at 20:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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