Serialize the data array as a dictionary following loosely the CFA framework.
Parameters : | dimensions : sequence of str, optional |
---|---|
Returns : | out : dict |
See also
Examples
>>> d = cf.Data([[1, 2, 3, 4]], 'm2')
>>> x = d.dumpd()
>>> x = d.dumpd(dimensions=['time', 'latitude', 'longitutude'])
>>> e = cf.Data([1000], 'hPa')
>>> e.loadd(d.dumpd())
>>> print e.equals(d)
True