cf.Domain.transforms

Domain.transforms

A dictionary-like storing the domain’s transforms.

The transforms attribute is a cf.CfDict instance.

Keys are transform identifiers ('transN') and values are cf.Transform objects.

The N part of each key identifier should be replaced by an arbitrary integer greater then or equal to zero, the only restriction being that the resulting identifier is not already in use. No meaning should be inferred from the integer part of the identifiers, which need not include zero nor be consecutive (although these will commonly be the case).

Examples

>>> isinstance(d.transforms, cf.CfDict)
True
>>> d.transforms
{'trans0': <CF Transform: ocean_sigma_z_coordinate>,
 'trans1': <CF Transform: rotated_latitude_longitude>}

Previous topic

cf.Domain.dimensions

Next topic

cf.Domain.analyse

This Page