How to read grib files in Matlab 2019A in Windows Environment?
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
SVUser
le 9 Août 2019
Réponse apportée : Jacob Halbrooks
le 25 Sep 2024
Dear all,
I would like to ask if there is any robust approach that Matlab suggests for reading grib files with Matlab 2019A in Windows 10 environment.
I am aware of the nctoolbox which performed generally well until Matlab 2017A, but later there were some Java dependencies problems (see https://github.com/nctoolbox/nctoolbox/issues/111) that made grib files reading problematic. I did not find yet any proposed and feasible solution to this problem.
Matlab provides an integrated package for netcdf files but no integrated solution for grib files, while this file format is very popular. Thus, reading these files immediately in Matlab is not supported despite their popularity.
I tried to find if there is any way to read directly these files in Matlab or if Matlab proposes any series of predefined steps that somebody should follow in order to read them but I have not found any.
If someone is aware of any Matlab solution in Windows environment his feedback would be very helpful.
2 commentaires
Réponse acceptée
Jacob Halbrooks
le 25 Sep 2024
As of R2023b, you can read data from a GRIB file (.grb, .grib, .grib2) using the Mapping Toolbox readgeoraster function. You can also get information about a GRIB file by using the georasterinfo function. These functions were enhanced in R2024b to support GRIB files that use CCSDS compression.
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Data Import and Analysis dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!