cf.mam

cf.mam()[source]

Return a cf.Query object for the month of March, April or May.

Note that any date-time that lies in these months will satisfy the query, i.e. cf.mam() is equivalent to cf.month(cf.wi(3, 5)).

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.mam())
<CF Field: air_temperature(time(92), latitude(64), longitude(128)) K>