cf.djf

cf.djf()[source]

Return a cf.Query object for the month of December, January or February.

Note that any date-time that lies in these months will satisfy the query, i.e. cf.djf() is equivalent to cf.month(cf.ge(12) | cf.le(2)).

New in version 1.0.

Returns:
out: cf.Query

The query object.

Examples:
>>> f
<CF Field: air_temperature(time(365), latitude(64), longitude(128)) K>
>>> f.subspace(time=cf.djf())
<CF Field: air_temperature(time(90), latitude(64), longitude(128)) K>