How to read grib files in Matlab 2019A in Windows Environment?

조회 수: 3 (최근 30일)
SVUser
SVUser 2019년 8월 9일
답변: Jacob Halbrooks 2024년 9월 25일
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
Ayman Esmat
Ayman Esmat 2020년 7월 27일
I am facing a similar issue.
Did you find any solution?
zdarova_koresh
zdarova_koresh 2020년 8월 1일
There is NetCDF/GRIB reader but I'm facing problems using it.

댓글을 달려면 로그인하십시오.

채택된 답변

Jacob Halbrooks
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개)

카테고리

Help CenterFile Exchange에서 Data Import and Analysis에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by