cf.CellMethods.strings

CellMethods.strings()[source]

Return a list of a CF-netCDF-like string of each cell method.

Note that if the intention is to concatenate the output list into a string for creating a CF-netCDF cell_methods attribute, then the cell methods “name” components may need to be modified, where appropriate, to reflect netCDF variable names.

Returns :
out : list

A string for each cell method.

Examples

>>> c = cf.CellMethods('time: minimum within years time: mean over years (ENSO years)')
>>> c.strings()
['time: minimum within years',
 'time: mean over years (ENSO years)']

Previous topic

cf.CellMethods.reverse

Next topic

cf.Coordinate

This Page