Search code examples
javadictionarydecodegrib

Java GRIB files opener


I'm currently working on a project of a mobile application that can show weather forecast on map (e.g. PocketGrib). I decided to use GRIB files but I don't know how to decode them. I found a library JGRIB to open those but I haven't figured out how to use it yet. The best way to me would be to convert GRIB data to txt and parse it further in my way to get needed values.

Does anyone have experience with it? Any tips are appreciated. Sorry for my poor English.


Solution

  • It's possible to use the NetCDF-java library to open GRIB files: https://www.unidata.ucar.edu/software/thredds/current/netcdf-java/documentation.htm