How to read grib files in Matlab 2019A in Windows Environment?
조회 수: 3 (최근 30일)
이전 댓글 표시
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
채택된 답변
Jacob Halbrooks
2024년 9월 25일
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
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Data Import and Analysis에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!