0

我尝试使用 NCTOOLBOX 打开从 ucar.edu 下载的 CFSR 网格化二进制版本 2 (grb2) 沉淀文件。但是我收到错误消息:

"nc=ncgeodataset('prate.gdas.200812.grb2')
Error using ncdataset (line 91)
Failed to open prate.gdas.200812.grb2

Error in cfdataset (line 59)
        obj = obj@ncdataset(url);

Error in ncgeodataset (line 74)
        obj = obj@cfdataset(url);

Caused by:
    Undefined variable "ucar" or class "ucar.nc2.dataset.NetcdfDataset.openDataset".

任何人都可以调试这里发生了什么吗?

4

1 回答 1

0

我很抱歉这个愚蠢的问题,但你确定你已经以正确的方式设置了 NCTOOLBOX 吗?因为在我设置它之前我遇到了同样的问题,它在这里所说的 http://disc.sci.gsfc.nasa.gov/recipes/?q=recipes/How-to-Read-GLDAS-or-NLDAS-GRIB- formatted-Data-with-MATLAB-0
祝你好运!

于 2016-04-05T14:10:44.303 回答