Why do I get this error?
Show older comments
This is my function:
function download(d)
[date_string] = datestr(d, 'yyyy-mm-dd')
yyyy = date_string(1:4);
mm = date_string(6:7);
dd = date_string(9:10);
download_string = ['password and username and the link' yyyy mm dd '.nc4'];
disp('Executing this string: ');
disp(download_string);
ncdisp(['MERRA2_400.inst6_3d_ana_Np.' yyyy mm dd '.nc4 '])
system(download_string);
I get this error, why??
Error using internal.matlab.imagesci.nc/openToRead (line 1259)
Could not open MERRA2_400.inst6_3d_ana_Np.20161001.nc4 for reading.
Error in internal.matlab.imagesci.nc (line 121)
this.openToRead();
Error in ncdisp (line 50)
ncObj = internal.matlab.imagesci.nc(ncFile);
Someone know what to do?
Accepted Answer
More Answers (0)
Categories
Find more on Data Import and Analysis in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!