How to download data using proper link
1 次查看(过去 30 天)
显示 更早的评论
Hello everyone. I want to download data using link. I have some proper link, if you click the link the data will be donwloaded automatically. There are total 240 links. I am unable to download the data using those linnks by matlab, because manually it will be time consuming as well as there may be mistake. I am sharing one .txt file, where the links are provided. Thank you.
2 个评论
Jan
2021-10-24
It is not clear, what this sentence means: "I am unable to download the data using those linnks by matlab, because manually it will be time consuming as well as there may be mistake."
What is your code? Which problem occurs? Of course downloading a lot of files can be time consuming. But which mistake to you assume?
回答(1 个)
Jan
2021-10-25
FileName = 'prov.postprocess+sMpAn+dMOD08_M3_6_1_Deep_Blue_Aerosol_Optical_Depth_550_Land_Mean_Mean+zNA+t20010101000000_20201231235959+b.txt';
List = strsplit(fileread(FileName), char(10));
for k = 1:numel(List)
webread(List{k}) % How do you want to store the results?
end
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!