Hi, is there a matlab function to read .grib2 files (these are files similar to netcdf but Matlab nclibraries cant seem to be able to read them) thank you

3 views (last 30 days)
Hi, I need to read .grib2 files fast. I m currently using a java toolbox (njvarget) to read them but it takes a lot of time as the files are many. Is there a way to read them faster (changing function or reformatting them?)? thank you

Answers (1)

Marius
Marius on 25 Oct 2017
Hi Thalia,
If you just want to read grb2 files. You may want to check out nctoolbox (https://github.com/nctoolbox/nctoolbox/).
You find some documentation here (https://github.com/nctoolbox/nctoolbox/wiki).
It is not explicitly fast. Although at least I did not make the experince that pygrib or the netCDF-Java API are significantly faster.
A word of warning: It does not work out of a Proxy network. Best of luck.

Categories

Find more on Data Import and Analysis in Help Center and File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!