photo

francisco


自 2013 起处于活动状态

Followers: 0   Following: 0

消息

I need to check if a variable name exist in a netcdf file. Is there a way to do this without creating a list variable names and searching it entry by entry in a loop?

I think I can catch it with the warnings produced:

Error using netcdflib
The NetCDF library encountered an error during execution of 'inqVarID' function - 'Variable not found (NC_ENOTVAR)'.

Error in netcdf.inqVarID (line 22)
varid = netcdflib('inqVarID', ncid, varname);

统计学

MATLAB Answers

0 个提问
1 个回答

排名
229,721
of 302,402

声誉
0

贡献数
0 个提问
1 个回答

回答接受率
0.00%

收到投票数
0

排名
 of 21,792

声誉
N/A

平均
0.00

贡献数
0 文件

下载次数
0

ALL TIME 下载次数
0

排名

of 182,227

贡献数
0 个问题
0 个答案

评分
0

徽章数量
0

贡献数
0 帖子

贡献数
0 公开的 个频道

平均

贡献数
0 个亮点

平均赞数

  • First Answer

查看徽章

Feeds

排序方式:

已回答
Determine if variable name exists in netcdf file.
Hello Jason I have the same problem, can you help me on this please.

13 years 前 | 0