How can I get data from nasa via ftp?
3 ビュー (過去 30 日間)
古いコメントを表示
Hello everyone
I want use matlab get modis data from <ftp://ladsweb.nascom.nasa.gov/allData/6/MYD021KM/>. But when I use
f = ftp('ftp://ladsweb.nascom.nasa.gov/allData/6/MYD021KM/')
Matlab has error. such as
Error using connect (line 18)
Could not open a connection to "ftp", port "NaN".
Error in ftp (line 75)
connect(h)
thank you
Jiang
2 件のコメント
Muhammad Usman Saleem
2016 年 6 月 7 日
編集済み: Muhammad Usman Saleem
2016 年 6 月 7 日
use .cdf format in which NASA offer its product. this format is easily readable to matlab
回答 (2 件)
Muhammad Usman Saleem
2016 年 6 月 11 日
編集済み: Muhammad Usman Saleem
2016 年 6 月 11 日
https://www.myroms.org/wiki/NetCDF_Data_Processing_Scripts
search more on google and researchgate about how to proccess .nc files in matlab
0 件のコメント
m.
2016 年 8 月 3 日
I got the same problem. I bet it has something to do with the ':' in the url, since after the ':' usually should come the portnumber. How to solve this is still unclear to me.
2 件のコメント
m.
2016 年 8 月 3 日
Got it! Start with this: f = ftp('ladsweb.nascom.nasa.gov') and then use mget in order to download the data
Yogita Karale
2017 年 10 月 13 日
but then how do you go to specific folder and download a particular file from that folder
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!