how to read netcdf unsupported datatype variable
20 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Floyd Yassin
le 29 Juin 2021
Réponse apportée : Alan Moses
le 2 Juil 2021
I was trying to read one of netcdf varaiable using the code below. And it returns "not a regognized netCDF datatype". I guess it is becaues the data type is text and listed as unsupported dtatype. does anyone now a way around this issue?
FYI, it works fine when I read other variables.
Thanks
station_nameID = netcdf.inqVarID(ncid, 'station_id');
station_nameData = netcdf.getVar(ncid, station_nameID);
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/669443/image.png)
Error using netcdf.getVar (line 137)
12 is not a recognized netCDF datatype.
0 commentaires
Réponse acceptée
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur NetCDF dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!