The NetCDF library encountered an error during execution of ‘open‘ function

>> >> >> >> {Error using netcdflib
The NetCDF library encountered an error during execution of 'open' function -
'HDF error (NC_EHDFERR)'.

Error in netcdf.open (line 67)
        [varargout{:}] = netcdflib ( 'open', filename, varargin{1} );

Error in internal.matlab.imagesci.nc/openToRead (line 1278)
            this.ncRootid = netcdf.open(this.Filename,'NOWRITE');

Error in internal.matlab.imagesci.nc (line 121)
                    this.openToRead();

Error in ncread (line 61)
ncObj   = internal.matlab.imagesci.nc(ncFile);
} 

在批量处理nc文件时,老是报这个错误,百度也百度不到,谷歌搜索后 提示nc文件可能出了问题,建议重新下载有问题的文件,果然,重新下载之后就可以了

传送门:advice from others


版权声明:本文为peisipand原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。