Filter TOD periods based on CT-RAMP flag