cf.BoundedVariable.roll

BoundedVariable.roll(iaxis, shift, i=False)[source]

Roll the bounded variable along an axis.

Parameters:

iaxis: int

i: bool, optional

If True then update the bounded variable in place. By default a new bounded variable is created. In either case, a bounded variable is returned.

Returns:

out: cf.BoundedVariable

Examples: