1 function [nc,m]=ncdatatype(d)
2 % function [nc,m]=ncdatatype(d)
3 % d = vartype or datatype from netcdf
4 % nc = 'TEXT' or 'DOUBLE' to create read statements
5 % m = guess of what the type actually is in matlab
7 % Jan Mandel, September 2008
9 %types_nc={'', '', 'TEXT', 'DOUBLE','DOUBLE','DOUBLE','DOUBLE'}; % ???
10 types_nc={'', '', 'text', 'short','int','float','double'}; % ???
11 types_m= {'', '', 'char', 'int16','int32','single','double'}; % ???