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 답변

순위
126,233
of 300,853

평판
0

참여
0 질문
1 답변

답변 채택
0.00%

획득한 표
0

순위
 of 21,094

평판
N/A

평균 평점
0.00

참여
0 파일

다운로드 수
0

ALL TIME 다운로드 수
0

순위

of 171,319

참여
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.

12년 초과 전 | 0