cf.RaggedIndexedArray.ndim — Documentation
Number of array dimensions.
Added in version (cfdm): 1.7.0