spidru / JGribX

Java GRIB-1/GRIB-2 decoder
MIT License
34 stars 14 forks source link

Remove map helper methods to support android platform and enable GRIB2's with sections 2 #11

Closed kubovy closed 3 years ago

kubovy commented 3 years ago

The Map.ofEntries is not supported in android platform. Replaced this with initializing the constant maps in respective static initializers.

Actually skip section 2 in GRIB2 to allow reading of other sections.

Public access to GRIB2's coords and data to allow sequential data processing.

kubovy commented 3 years ago

With those changes I can now read: https://openskiron.org/en/icon-gribs and https://openskiron.org/en/cosmo-gribs

spidru commented 3 years ago

Hi @kubovy, thanks for the pull request. I will have a closer look in the coming days.