Convert GRIB to JSON object
<p>Previously I have worked on a project that reads and displays wind direction forecast using GRIB data retrieved from the following NOAA website:</p>

<p><a href="http://nomads.ncep.noaa.gov/cgi-bin/filter_gfs_1p00.pl" rel="nofollow">http://nomads.ncep.noaa.gov/cgi-bin/filter_gfs_1p00.pl</a></p>

<p>The GRIB data downloaded is then converted to JSON object using utility tool 'grib2json'.</p>

<p>However, I was asked to take in GRIB data from the following Japan website instead:</p>

<p><a href="http://www.wis-jma.go.jp/d/o/RJTD/GRIB/Global_Spectral_Model/Latitude_Longitude/1.25_1.25/60.0_-20.0_60.0_200.0/925hPa/" rel="nofollow">http://www.wis-jma.go.jp/d/o/RJTD/GRIB/Global_Spectral_Model/Latitude_Longitude/1.25_1.25/60.0_-20.0_60.0_200.0/925hPa/</a></p>

<p>However, I realized that the GRIB format for both sources is different. And the utility 'grib2json' does not work on GRIB data from Japan.</p>

<p>I need help on how to convert the Japan GRIB data to JSON so that I can still reuse my source codes to display the wind direction forecast.</p>