scipy.io.netcdf.netcdf_variable.shape

netcdf_variable.shape

Returns the shape tuple of the data variable.

This is a read-only attribute and can not be modified in the same manner of other numpy arrays.