MATLAB | GLASS Global Vegetation Photosynthetically Active Radiation Absorption Ratio FAPAR Data from 1982 to 2018
1. Data Link https://www.glass.hku.hk/download.html 2. Batch Download Specified Year Data Using MATLAB base_url = 'https://www.glass.hku.hk/archive/FAPAR/AVHRR/0.05D/'; download_dir = 'D:\GLASS\FAPAR'; if ~exist(download_dir, 'dir') mkdir(download_dir); end start_year = 1985; end_year = 1987; year_links = {}; html = webread(base_url); expr = '<a href="(\d+)/">'; tokens = regexp(html, expr, 'tokens'); for i = 1:length(tokens) y = str2double(tokens{i}{1}); if y >= start_year … Read more