convenintly wrap seasonal mask generation
With the andGroup
it is now possible to restrict the application of any (flagging) function to a seasonal range:
qc = qc.andGroup(field, [qc.flagFoo(field), qc.flagGeneric(field, func=lambda x: ~seasonalMask(x.index, start, end, True)]
As discussed in !856 (merged) , it would be nice to have a conveniance wrapper for the mask generation (round the flagGeneric
).