How to unzip .bz2 file in Matlab?
    19 views (last 30 days)
  
       Show older comments
    
How can I unzip the following .bz2 automatically in Matlab to reveal the grib file inside?
clear all
close all
fullURL1 = sprintf('https://opendata.dwd.de/weather/nwp/icon/grib/00/clch/icon_global_icosahedral_single-level_2020122000_000_CLCH.grib2.bz2');
fullURL = [fullURL1];
filename = 'highcloudcover.grb2.bz2';
urlwrite(fullURL,filename);
Thanks
5 Comments
  Yoni Verhaegen -WE-1718-
 on 23 May 2021
				
      Edited: Walter Roberson
      
      
 on 23 May 2021
  
			
		
  Walter Roberson
      
      
 on 23 May 2021
				Answers (0)
See Also
Categories
				Find more on Install Products in Help Center and File Exchange
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
