 
        francisco
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);
Statistiques
0 Questions
                        1 Réponse
RANG
67 870
                          
                          
of 300 392
                        
RÉPUTATION
0
                           
                        
CONTRIBUTIONS
                          0 Questions
                          1 Réponse
ACCEPTATION DE VOS RÉPONSES 
                            0.00%
                        
VOTES REÇUS
0
RANG
 of 20 933
RÉPUTATION
N/A
CLASSEMENT MOYEN
0.00
CONTRIBUTIONS
0 Fichier
TÉLÉCHARGEMENTS 
0
ALL TIME TÉLÉCHARGEMENTS
0
RANG
of 168 335
CONTRIBUTIONS
                            0 Problèmes
                            0 Solutions
SCORE
0
NOMBRE DE BADGES
0
CONTRIBUTIONS
0 Publications
CONTRIBUTIONS
0 Public Chaîne
CLASSEMENT MOYEN
CONTRIBUTIONS
0 Point fort
NOMBRE MOYEN DE LIKES
Feeds
Determine if variable name exists in netcdf file.
Hello Jason I have the same problem, can you help me on this please.
plus de 12 ans il y a | 0
