SciPy

scipy.io.netcdf.netcdf_variable.typecode

netcdf_variable.typecode()[source]

Return the typecode of the variable.

Returns :

typecode : char

The character typecode of the variable (eg, ‘i’ for int).