A CF-compliant earth science data analysis library
Data.
__bool__
Truth value testing and the built-in operation bool
bool
x.__bool__() <==> bool(x)
Performance
__bool__ causes all delayed operations to be computed.
Examples
>>> bool(cf.Data(1.5)) True >>> bool(cf.Data([[False]])) False