photo

francisco


Attivo dal 2013

Followers: 0   Following: 0

Messaggio

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);

Statistica

MATLAB Answers

0 Domande
1 Risposta

RANK
126.230
of 300.851

REPUTAZIONE
0

CONTRIBUTI
0 Domande
1 Risposta

ACCETTAZIONE DELLE RISPOSTE
0.00%

VOTI RICEVUTI
0

RANK
 of 21.094

REPUTAZIONE
N/A

VALUTAZIONE MEDIA
0.00

CONTRIBUTI
0 File

DOWNLOAD
0

ALL TIME DOWNLOAD
0

RANK

of 171.294

CONTRIBUTI
0 Problemi
0 Soluzioni

PUNTEGGIO
0

NUMERO DI BADGE
0

CONTRIBUTI
0 Post

CONTRIBUTI
0 Pubblico Canali

VALUTAZIONE MEDIA

CONTRIBUTI
0 Punti principali

NUMERO MEDIO DI LIKE

  • First Answer

Visualizza badge

Feeds

Visto da

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

oltre 12 anni fa | 0