cf.Data.full¶
-
classmethod
Data.full(shape, fill_value, dtype=None, units=None)[source]¶ Examples 1: >>> d = cf.Data.full((96, 73), 0)
Parameters: fill_value:
Noneor- dtype:
numpy.dtypeor any object convertible tonumpy.dtype The data type of the new array. By default the data type is numpy.float64.
- units:
strorcf.UnitsorNone The units for the new data array.
Returns: out:
cf.DataExamples 2: - dtype: