cf.DomainAncillary.sample_size¶
-
DomainAncillary.
sample_size
()[source]¶ The number of non-missing data elements in the data array.
Examples 1: >>> d = f.sample_size()
Returns: - out : cf.Data
The number of non-missing data elements in the data array.
Examples 2: >>> f.data <CF Data: [[[236.512756348, ..., 256.93371582]]] K> >>> f.sample_size() <CF Data: 98304.0>