Hi,
I'm using Matlab to download each of the files found here: <ftp://podaac-ftp.jpl.nasa.gov/allData/grace/L2/CSR/RL05/>. Is there a way to automatically populate a list of each of these .gz files so I don't have to enter each file name manually?
Thanks! Chad

 Akzeptierte Antwort

Chad Greene
Chad Greene am 27 Jun. 2012

1 Stimme

I figured it out:
urls=urlread('ftp://podaac-ftp.jpl.nasa.gov/allData/grace/L2/CSR/RL05/');
urldata = textscan(urls,'%s %f %s %s %f %s %f %s %s');
urllist = urldata{9};

Weitere Antworten (0)

Kategorien

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by