cf.AncillaryVariables.hasprop

AncillaryVariables.hasprop(prop)[source]

For each field, return True if a CF property exists, otherise False.

fl.hasprop(prop) is equivalent to cf.List(f.hasprop(prop) for f in fl).

See cf.Field.hasprop for details.

Parameters :
prop :

See cf.Field.hasprop.

Returns :
out : cf.List

True or False for each field.

Previous topic

cf.AncillaryVariables.getprop

Next topic

cf.AncillaryVariables.identity

This Page