cf.DomainAncillary.roll

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

Roll the domain ancillary along an axis.

Parameters:

iaxis: int

i: bool, optional

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

Returns:

out: cf.DomainAncillary

Examples: