cf.Data.ones

classmethod Data.ones(shape, dtype=None, units=None, calendar=None, chunk=True)[source]

Returns a new array filled with ones of set shape and type.