Borrar filtros
Borrar filtros

How can I get data from nasa via ftp?

5 visualizaciones (últimos 30 días)
jiang wenjie
jiang wenjie el 7 de Jun. de 2016
Comentada: Yogita Karale el 13 de Oct. de 2017
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 comentarios
Muhammad Usman Saleem
Muhammad Usman Saleem el 7 de Jun. de 2016
Editada: Muhammad Usman Saleem el 7 de Jun. de 2016
use .cdf format in which NASA offer its product. this format is easily readable to matlab
jiang wenjie
jiang wenjie el 10 de Jun. de 2016
How can i solve the problem?

Iniciar sesión para comentar.

Respuestas (2)

Muhammad Usman Saleem
Muhammad Usman Saleem el 11 de Jun. de 2016
Editada: Muhammad Usman Saleem el 11 de Jun. de 2016
https://www.myroms.org/wiki/NetCDF_Data_Processing_Scripts
search more on google and researchgate about how to proccess .nc files in matlab

m.
m. el 3 de Ag. de 2016
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 comentarios
m.
m. el 3 de Ag. de 2016
Got it! Start with this: f = ftp('ladsweb.nascom.nasa.gov') and then use mget in order to download the data
Yogita Karale
Yogita Karale el 13 de Oct. de 2017
but then how do you go to specific folder and download a particular file from that folder

Iniciar sesión para comentar.

Categorías

Más información sobre Downloads en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by