Read .GRIB2 files in Matlab
    26 Ansichten (letzte 30 Tage)
  
       Ältere Kommentare anzeigen
    
    thalia
 am 18 Mai 2017
  
    
    
    
    
    Beantwortet: Jacob Halbrooks
    
 am 25 Sep. 2024
            Hi, I am currently using a java toolbox (nc/nj varget) to read .grib2 files in Matlab. However, the files are a many and the process takes a lot of time. I was wondering if
a) is there a faster function in matlab to read .grib2 files? b) will converting them to another format will help?
I ve tried converting them to binary and reading them using fread and fread it is faster but I have to use wgrib2 to convert them in Linux first so its a lot of pre-processing.
Any feedback appreciated Thank you
0 Kommentare
Akzeptierte Antwort
  Jacob Halbrooks
    
 am 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 Kommentare
Weitere Antworten (1)
  KSSV
      
      
 am 18 Mai 2017
        
      Bearbeitet: Walter Roberson
      
      
 am 12 Jul. 2018
  
      Check this link in file exchange.... https://in.mathworks.com/matlabcentral/fileexchange/21579-netcdf-grib-reader
0 Kommentare
Siehe auch
Kategorien
				Mehr zu Data Import and Analysis finden Sie in Help Center und File Exchange
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


