none
Decode/Show Grib2 files on Bing Maps

Answers

  • I don't have any direct experience of GRIB but, having read a little about it, it seems like a relatively straightforward binary-encoded format. You'll need to convert it into something usable first - the GRIBtoXML application seems like a reasonable place to start - http://www.tecepe.com.br/nav/vrtool/gribtoxml.htm

    One you've got the data in readable XML format or similar then you can process it and add the elements it contains to a new shapelayer on the map.


    twitter: @alastaira blog: http://alastaira.wordpress.com/

    Tuesday, February 14, 2012 10:16 AM
    Moderator

All replies

  • I don't have any direct experience of GRIB but, having read a little about it, it seems like a relatively straightforward binary-encoded format. You'll need to convert it into something usable first - the GRIBtoXML application seems like a reasonable place to start - http://www.tecepe.com.br/nav/vrtool/gribtoxml.htm

    One you've got the data in readable XML format or similar then you can process it and add the elements it contains to a new shapelayer on the map.


    twitter: @alastaira blog: http://alastaira.wordpress.com/

    Tuesday, February 14, 2012 10:16 AM
    Moderator
  • Your idea sounded good but that software didn't work for me, It keeps giving me error and never converts, propbably my grib files are not in the same format. I also check some links in that website, there are some tools to decode Grib files but they are mainly for C, i am lloking for a .NET C# solution, and converting will be another process thats why I can not use XML conversion but thanks for idea, it was helpful.

    ANC

    Tuesday, February 14, 2012 7:20 PM
  • If you are feeling adventurous you could write a binary reader for this: http://www.wmo.int/pages/prog/www/WMOCodes/Guides/GRIB/GRIB1-Contents.html

    http://rbrundritt.wordpress.com

    Wednesday, February 15, 2012 9:42 AM
    Owner
  • Those are actually Grib2 files as mentioned in the title, guide can be found here: http://dss.ucar.edu/docs/formats/grib2/grib2doc/

    I'm now testing degrib console application to convert them into ESRI shape file then I will be using SharpMap to embed into Bing Maps, hope that will do it. If that doesn't work, will probably write my own binary reader for GRIB2 files.

    Thank you all for your replies.


    ANC

    Wednesday, February 15, 2012 7:50 PM