how to read netcdf unsupported datatype variable
14 views (last 30 days)
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.
station_nameID = netcdf.inqVarID(ncid, 'station_id');
station_nameData = netcdf.getVar(ncid, station_nameID);
Error using netcdf.getVar (line 137)
12 is not a recognized netCDF datatype.