cf
Field.
remove_data
Remove and return the data array.
cf.Data
None
The removed data array, or None if there isn’t one.
>>> f._hasData True >>> f.data <CF Data: [0, ..., 9] m> >>> f.remove_data() <CF Data: [0, ..., 9] m> >>> f._hasData False >>> print f.remove_data() None
cf.Field.isscalar
cf.Field.regridc